Angband relies on RGB colours in curses port
|Reported by:||william-mcbrine||Owned by:|
[7625c26] (SVN r205) was: 'Revert "can has colour" support for PDCurses -- it just messes up colours.'
The problem is that, although the symbolic constants like COLOR_RED are being used in some places, in others, the colors are implicitly treated as RGB, as in ncurses -- where COLOR_RED == 1, COLOR_GREEN == 2, COLOR_BLUE == 4, etc. However, in PDCurses, by default (and for historic reasons), the colors are BGR: COLOR_BLUE == 1, COLOR_RED == 4, etc. (HP-UX curses also uses BGR; most other curses implementations use RGB.)
So, eliminate that assumption. :)