Skip to content

Commit

Permalink
-Add: document more colors of the IBM.PAL palette
Browse files Browse the repository at this point in the history
  • Loading branch information
miniupnp committed Jan 20, 2017
1 parent efc7a5d commit fb185c1
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion INTERNALS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@
The 256 color in game palette IBM.PAL is organized in 16 sub-palettes of
16 colors.

colors 231 to 238 are used by the option menu (and other Widgets)
first sub-palette (colors 0-15) is nearly the "CGA" palette :
0 : #000000 black
1 : #aa00aa magenta
2 : #00aaaa cyan
3 : #00aa00 green
4 : #55ff55 bright green
5 : #ffff55 bright yellow
6 : #ff5555 bright red
7 : #aa5500 Brown
8 : #aa0000 Red
9 : #55ffff bright cyan
10 : #5151ff bright blue (close to CGA bright blue #5555ff)
11 : #0000aa blue
12 : #000000 black (duplicate)
13 : #555555 dark gray
14 : #aaaaaa bright gray / white
15 : #ffffff bright white
the only missing CGA color is bright magenta #ff55ff

16 *9 = 144 :
current house colors ?
Expand All @@ -19,3 +36,16 @@ the 6 first colors of sub-palettes 8 to 14 are a shade of the house colors :
12 (192-197) : Fremen
13 (208-213) : Sardaukar
14 (224-229) : merecenary

color 223 = Windtrap cycling color

colors 231 to 238 are used by the option menu (and other Widgets)

color 239 : highlighted text in structure menu : PLACE IT / REPAIR etc.
is alterning white / red

colors 251,252,253,254 are cycling in arrows in the mission selection
screen.

color 255 = unit/structure selection (palette cycling) on the map
and also in factories/construction yard menu

0 comments on commit fb185c1

Please sign in to comment.