author | peter1138 |
Sun, 03 Aug 2008 17:35:08 +0000 | |
changeset 9834 | 7474149531c1 |
parent 9551 | 6f60dca6c566 |
child 9849 | 1266e5d38d54 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
9111
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
6478
diff
changeset
|
3 |
/** @file palettes.h The colour translation of the GRF palettes. */ |
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
6478
diff
changeset
|
4 |
|
9551
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
5 |
#include "../core/endian_type.hpp" |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
6 |
|
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
7 |
#if TTD_ENDIAN == TTD_BIG_ENDIAN |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
8 |
#define M(r, g, b) { 0xff, r, g, b } |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
9 |
#else |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
10 |
#define M(r, g, b) { b, g, r, 0xff } |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
11 |
#endif /* TTD_ENDIAN == TTD_BIG_ENDIAN */ |
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
12 |
|
2025 | 13 |
static const Colour _palettes[][256] = { |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
14 |
/* palette 1 (TTD Windows) */ |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
15 |
{ |
9551
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
16 |
{ 0, 0, 0, 0 }, M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
17 |
M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
18 |
M(212, 0, 212), M(212, 0, 212), M(168, 168, 168), M(184, 184, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
19 |
M(200, 200, 200), M(216, 216, 216), M(232, 232, 232), M(252, 252, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
20 |
M( 52, 60, 72), M( 68, 76, 92), M( 88, 96, 112), M(108, 116, 132), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
21 |
M(132, 140, 152), M(156, 160, 172), M(176, 184, 196), M(204, 208, 220), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
22 |
M( 48, 44, 4), M( 64, 60, 12), M( 80, 76, 20), M( 96, 92, 28), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
23 |
M(120, 120, 64), M(148, 148, 100), M(176, 176, 132), M(204, 204, 168), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
24 |
M(100, 100, 100), M(116, 116, 116), M(104, 80, 44), M(124, 104, 72), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
25 |
M(152, 132, 92), M(184, 160, 120), M(212, 188, 148), M(244, 220, 176), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
26 |
M(132, 132, 132), M( 88, 4, 16), M(112, 16, 32), M(136, 32, 52), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
27 |
M(160, 56, 76), M(188, 84, 108), M(204, 104, 124), M(220, 132, 144), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
28 |
M(236, 156, 164), M(252, 188, 192), M(252, 212, 0), M(252, 232, 60), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
29 |
M(252, 248, 128), M( 76, 40, 0), M( 96, 60, 8), M(116, 88, 28), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
30 |
M(136, 116, 56), M(156, 136, 80), M(176, 156, 108), M(196, 180, 136), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
31 |
M( 68, 24, 0), M( 96, 44, 4), M(128, 68, 8), M(156, 96, 16), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
32 |
M(184, 120, 24), M(212, 156, 32), M(232, 184, 16), M(252, 212, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
33 |
M(252, 248, 128), M(252, 252, 192), M( 32, 4, 0), M( 64, 20, 8), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
34 |
M( 84, 28, 16), M(108, 44, 28), M(128, 56, 40), M(148, 72, 56), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
35 |
M(168, 92, 76), M(184, 108, 88), M(196, 128, 108), M(212, 148, 128), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
36 |
M( 8, 52, 0), M( 16, 64, 0), M( 32, 80, 4), M( 48, 96, 4), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
37 |
M( 64, 112, 12), M( 84, 132, 20), M(104, 148, 28), M(128, 168, 44), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
38 |
M( 64, 64, 64), M( 44, 68, 32), M( 60, 88, 48), M( 80, 104, 60), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
39 |
M(104, 124, 76), M(128, 148, 92), M(152, 176, 108), M(180, 204, 124), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
40 |
M( 16, 52, 24), M( 32, 72, 44), M( 56, 96, 72), M( 76, 116, 88), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
41 |
M( 96, 136, 108), M(120, 164, 136), M(152, 192, 168), M(184, 220, 200), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
42 |
M( 32, 24, 0), M( 56, 28, 0), M( 80, 80, 80), M( 88, 52, 12), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
43 |
M(104, 64, 24), M(124, 84, 44), M(140, 108, 64), M(160, 128, 88), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
44 |
M( 76, 40, 16), M( 96, 52, 24), M(116, 68, 40), M(136, 84, 56), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
45 |
M(164, 96, 64), M(184, 112, 80), M(204, 128, 96), M(212, 148, 112), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
46 |
M(224, 168, 128), M(236, 188, 148), M( 80, 28, 4), M(100, 40, 20), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
47 |
M(120, 56, 40), M(140, 76, 64), M(160, 100, 96), M(184, 136, 136), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
48 |
M( 36, 40, 68), M( 48, 52, 84), M( 64, 64, 100), M( 80, 80, 116), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
49 |
M(100, 100, 136), M(132, 132, 164), M(172, 172, 192), M(212, 212, 224), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
50 |
M( 48, 48, 48), M( 64, 44, 144), M( 88, 64, 172), M(104, 76, 196), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
51 |
M(120, 88, 224), M(140, 104, 252), M(160, 136, 252), M(188, 168, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
52 |
M( 0, 24, 108), M( 0, 36, 132), M( 0, 52, 160), M( 0, 72, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
53 |
M( 0, 96, 212), M( 24, 120, 220), M( 56, 144, 232), M( 88, 168, 240), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
54 |
M(128, 196, 252), M(188, 224, 252), M( 16, 64, 96), M( 24, 80, 108), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
55 |
M( 40, 96, 120), M( 52, 112, 132), M( 80, 140, 160), M(116, 172, 192), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
56 |
M(156, 204, 220), M(204, 240, 252), M(172, 52, 52), M(212, 52, 52), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
57 |
M(252, 52, 52), M(252, 100, 88), M(252, 144, 124), M(252, 184, 160), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
58 |
M(252, 216, 200), M(252, 244, 236), M( 72, 20, 112), M( 92, 44, 140), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
59 |
M(112, 68, 168), M(140, 100, 196), M(168, 136, 224), M(204, 180, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
60 |
M(204, 180, 252), M(232, 208, 252), M( 60, 0, 0), M( 92, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
61 |
M(128, 0, 0), M(160, 0, 0), M(196, 0, 0), M(224, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
62 |
M(252, 0, 0), M(252, 80, 0), M(252, 108, 0), M(252, 136, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
63 |
M(252, 164, 0), M(252, 192, 0), M(252, 220, 0), M(252, 252, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
64 |
M(204, 136, 8), M(228, 144, 4), M(252, 156, 0), M(252, 176, 48), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
65 |
M(252, 196, 100), M(252, 216, 152), M( 8, 24, 88), M( 12, 36, 104), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
66 |
M( 20, 52, 124), M( 28, 68, 140), M( 40, 92, 164), M( 56, 120, 188), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
67 |
M( 72, 152, 216), M(100, 172, 224), M( 92, 156, 52), M(108, 176, 64), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
68 |
M(124, 200, 76), M(144, 224, 92), M(224, 244, 252), M(204, 240, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
69 |
M(180, 220, 236), M(132, 188, 216), M( 88, 152, 172), M( 16, 16, 16), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
70 |
M( 32, 32, 32), M( 8, 92, 104), M( 16, 100, 112), M( 24, 108, 120), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
71 |
M( 32, 116, 128), M( 44, 124, 140), M( 92, 164, 184), M(116, 180, 196), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
72 |
M(148, 200, 216), M(180, 220, 232), M(216, 244, 252), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
73 |
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
74 |
M(252, 60, 0), M(252, 80, 0), M(252, 104, 0), M(252, 128, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
75 |
M(252, 148, 0), M(252, 172, 0), M(252, 196, 0), M(252, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
76 |
M(252, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
77 |
M(252, 228, 0), M(148, 148, 148), M(212, 0, 212), M(212, 0, 212), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
78 |
M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
79 |
M(212, 0, 212), M(212, 0, 212), M(212, 0, 212), M(252, 252, 252) |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
80 |
}, |
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
81 |
|
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
82 |
/* palette 2 (mixed TTD DOS + TTD Windows palette */ |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
83 |
{ |
9551
6f60dca6c566
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
smatz
parents:
9111
diff
changeset
|
84 |
{ 0, 0, 0, 0 }, M( 16, 16, 16), M( 32, 32, 32), M( 48, 48, 48), |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
85 |
M( 65, 64, 65), M( 82, 80, 82), M( 98, 101, 98), M(115, 117, 115), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
86 |
M(131, 133, 131), M(148, 149, 148), M(168, 168, 168), M(184, 184, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
87 |
M(200, 200, 200), M(216, 216, 216), M(232, 232, 232), M(252, 252, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
88 |
M( 52, 60, 72), M( 68, 76, 92), M( 88, 96, 112), M(108, 116, 132), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
89 |
M(132, 140, 152), M(156, 160, 172), M(176, 184, 196), M(204, 208, 220), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
90 |
M( 48, 44, 4), M( 64, 60, 12), M( 80, 76, 20), M( 96, 92, 28), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
91 |
M(120, 120, 64), M(148, 148, 100), M(176, 176, 132), M(204, 204, 168), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
92 |
M( 72, 44, 4), M( 88, 60, 20), M(104, 80, 44), M(124, 104, 72), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
93 |
M(152, 132, 92), M(184, 160, 120), M(212, 188, 148), M(244, 220, 176), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
94 |
M( 64, 0, 4), M( 88, 4, 16), M(112, 16, 32), M(136, 32, 52), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
95 |
M(160, 56, 76), M(188, 84, 108), M(204, 104, 124), M(220, 132, 144), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
96 |
M(236, 156, 164), M(252, 188, 192), M(252, 212, 0), M(252, 232, 60), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
97 |
M(252, 248, 128), M( 76, 40, 0), M( 96, 60, 8), M(116, 88, 28), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
98 |
M(136, 116, 56), M(156, 136, 80), M(176, 156, 108), M(196, 180, 136), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
99 |
M( 68, 24, 0), M( 96, 44, 4), M(128, 68, 8), M(156, 96, 16), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
100 |
M(184, 120, 24), M(212, 156, 32), M(232, 184, 16), M(252, 212, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
101 |
M(252, 248, 128), M(252, 252, 192), M( 32, 4, 0), M( 64, 20, 8), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
102 |
M( 84, 28, 16), M(108, 44, 28), M(128, 56, 40), M(148, 72, 56), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
103 |
M(168, 92, 76), M(184, 108, 88), M(196, 128, 108), M(212, 148, 128), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
104 |
M( 8, 52, 0), M( 16, 64, 0), M( 32, 80, 4), M( 48, 96, 4), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
105 |
M( 64, 112, 12), M( 84, 132, 20), M(104, 148, 28), M(128, 168, 44), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
106 |
M( 28, 52, 24), M( 44, 68, 32), M( 60, 88, 48), M( 80, 104, 60), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
107 |
M(104, 124, 76), M(128, 148, 92), M(152, 176, 108), M(180, 204, 124), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
108 |
M( 16, 52, 24), M( 32, 72, 44), M( 56, 96, 72), M( 76, 116, 88), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
109 |
M( 96, 136, 108), M(120, 164, 136), M(152, 192, 168), M(184, 220, 200), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
110 |
M( 32, 24, 0), M( 56, 28, 0), M( 72, 40, 0), M( 88, 52, 12), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
111 |
M(104, 64, 24), M(124, 84, 44), M(140, 108, 64), M(160, 128, 88), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
112 |
M( 76, 40, 16), M( 96, 52, 24), M(116, 68, 40), M(136, 84, 56), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
113 |
M(164, 96, 64), M(184, 112, 80), M(204, 128, 96), M(212, 148, 112), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
114 |
M(224, 168, 128), M(236, 188, 148), M( 80, 28, 4), M(100, 40, 20), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
115 |
M(120, 56, 40), M(140, 76, 64), M(160, 100, 96), M(184, 136, 136), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
116 |
M( 36, 40, 68), M( 48, 52, 84), M( 64, 64, 100), M( 80, 80, 116), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
117 |
M(100, 100, 136), M(132, 132, 164), M(172, 172, 192), M(212, 212, 224), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
118 |
M( 40, 20, 112), M( 64, 44, 144), M( 88, 64, 172), M(104, 76, 196), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
119 |
M(120, 88, 224), M(140, 104, 252), M(160, 136, 252), M(188, 168, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
120 |
M( 0, 24, 108), M( 0, 36, 132), M( 0, 52, 160), M( 0, 72, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
121 |
M( 0, 96, 212), M( 24, 120, 220), M( 56, 144, 232), M( 88, 168, 240), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
122 |
M(128, 196, 252), M(188, 224, 252), M( 16, 64, 96), M( 24, 80, 108), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
123 |
M( 40, 96, 120), M( 52, 112, 132), M( 80, 140, 160), M(116, 172, 192), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
124 |
M(156, 204, 220), M(204, 240, 252), M(172, 52, 52), M(212, 52, 52), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
125 |
M(252, 52, 52), M(252, 100, 88), M(252, 144, 124), M(252, 184, 160), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
126 |
M(252, 216, 200), M(252, 244, 236), M( 72, 20, 112), M( 92, 44, 140), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
127 |
M(112, 68, 168), M(140, 100, 196), M(168, 136, 224), M(204, 180, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
128 |
M(204, 180, 252), M(232, 208, 252), M( 60, 0, 0), M( 92, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
129 |
M(128, 0, 0), M(160, 0, 0), M(196, 0, 0), M(224, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
130 |
M(252, 0, 0), M(252, 80, 0), M(252, 108, 0), M(252, 136, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
131 |
M(252, 164, 0), M(252, 192, 0), M(252, 220, 0), M(252, 252, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
132 |
M(204, 136, 8), M(228, 144, 4), M(252, 156, 0), M(252, 176, 48), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
133 |
M(252, 196, 100), M(252, 216, 152), M( 8, 24, 88), M( 12, 36, 104), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
134 |
M( 20, 52, 124), M( 28, 68, 140), M( 40, 92, 164), M( 56, 120, 188), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
135 |
M( 72, 152, 216), M(100, 172, 224), M( 92, 156, 52), M(108, 176, 64), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
136 |
M(124, 200, 76), M(144, 224, 92), M(224, 244, 252), M(204, 240, 252), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
137 |
M(180, 220, 236), M(132, 188, 216), M( 88, 152, 172), M( 16, 16, 16), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
138 |
M( 32, 32, 32), M( 8, 92, 104), M( 16, 100, 112), M( 24, 108, 120), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
139 |
M( 32, 116, 128), M( 44, 124, 140), M( 92, 164, 184), M(116, 180, 196), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
140 |
M(148, 200, 216), M(180, 220, 232), M(216, 244, 252), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
141 |
M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
142 |
M(252, 60, 0), M(252, 80, 0), M(252, 104, 0), M(252, 128, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
143 |
M(252, 148, 0), M(252, 172, 0), M(252, 196, 0), M(252, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
144 |
M(252, 0, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
145 |
M(252, 228, 0), M(148, 148, 148), M( 16, 101, 115), M( 24, 109, 123), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
146 |
M( 32, 117, 131), M( 41, 125, 139), M( 90, 165, 189), M(115, 182, 197), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
147 |
M(148, 202, 222), M(180, 222, 238), M(222, 246, 255), M(252, 252, 252) |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
148 |
} |
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
149 |
}; |
0 | 150 |
|
151 |
#define GET_PALETTE(x) _palettes[x] |
|
152 |
||
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5475
diff
changeset
|
153 |
struct ExtraPaletteValues { |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
154 |
Colour a[15]; // dark blue water |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
155 |
Colour ac[15]; // dark blue water Toyland |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
156 |
Colour lighthouse[12]; // lighthouse & stadium |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
157 |
Colour oil_ref[21]; // oil refinery |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
158 |
Colour e[15]; // ??? |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
159 |
Colour b[45]; // glittery water |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
160 |
Colour bc[45]; // glittery water Toyland |
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5475
diff
changeset
|
161 |
}; |
0 | 162 |
|
163 |
static const ExtraPaletteValues _extra_palette_values = { |
|
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
164 |
{ M( 32, 68, 112), M( 36, 72, 116), M( 40, 76, 120), M( 44, 80, 124), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
165 |
M( 48, 84, 128) }, |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
166 |
{ M( 28, 108, 124), M( 32, 112, 128), M( 36, 116, 132), M( 40, 120, 136), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
167 |
M( 44, 124, 140) }, |
4434
a08cb4b5c179
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
rubidium
parents:
2186
diff
changeset
|
168 |
{ M(240, 208, 0), M( 0, 0, 0), M( 0, 0, 0), M( 0, 0, 0) }, |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
169 |
{ M(252, 60, 0), M(252, 84, 0), M(252, 108, 0), M(252, 124, 0), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
170 |
M(252, 148, 0), M(252, 172, 0), M(252, 196, 0) }, |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
171 |
{ M( 76, 24, 8), M(108, 44, 24), M(144, 72, 52), M(176, 108, 84), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
172 |
M(212, 148, 128) }, |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
173 |
{ M(216, 244, 252), M(172, 208, 224), M(132, 172, 196), M(100, 132, 168), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
174 |
M( 72, 100, 144), M( 72, 100, 144), M( 72, 100, 144), M( 72, 100, 144), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
175 |
M( 72, 100, 144), M( 72, 100, 144), M( 72, 100, 144), M( 72, 100, 144), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
176 |
M(100, 132, 168), M(132, 172, 196), M(172, 208, 224) }, |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
177 |
{ M(216, 244, 252), M(180, 220, 232), M(148, 200, 216), M(116, 180, 196), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
178 |
M( 92, 164, 184), M( 92, 164, 184), M( 92, 164, 184), M( 92, 164, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
179 |
M( 92, 164, 184), M( 92, 164, 184), M( 92, 164, 184), M( 92, 164, 184), |
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
180 |
M(116, 180, 196), M(148, 200, 216), M(180, 220, 232) } |
0 | 181 |
}; |
1991
4ce69ba880b4
(svn r2497) Use a struct array for palette entries instead of a flat byte array
tron
parents:
614
diff
changeset
|
182 |
#undef M |
0 | 183 |
|
509
3217af6d2d6a
(svn r819) Code cleanup: colors for langfile strings are now taken from a color table instead of a sprite
dominik
parents:
222
diff
changeset
|
184 |
// Color table for colors in lang files (e.g. {BLACK}) |
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5475
diff
changeset
|
185 |
struct StringColor { |
510
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
186 |
byte text; |
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
187 |
byte shadow; |
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
5475
diff
changeset
|
188 |
}; |
510
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
189 |
|
6478
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
190 |
static const StringColor _string_colormap[][17] = { |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
191 |
{ /* Windows palette. */ |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
192 |
{ 150, 215 }, // BLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
193 |
{ 12, 215 }, // SILVER |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
194 |
{ 189, 215 }, // GOLD |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
195 |
{ 184, 215 }, // RED |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
196 |
{ 174, 215 }, // PURPLE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
197 |
{ 30, 215 }, // LTBROWN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
198 |
{ 195, 215 }, // ORANGE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
199 |
{ 209, 215 }, // GREEN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
200 |
{ 68, 215 }, // YELLOW |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
201 |
{ 95, 215 }, // DKGREEN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
202 |
{ 79, 215 }, // CREAM |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
203 |
{ 116, 215 }, // BROWN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
204 |
{ 15, 215 }, // WHITE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
205 |
{ 152, 215 }, // LTBLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
206 |
{ 32, 215 }, // GRAY |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
207 |
{ 133, 215 }, // DKBLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
208 |
{ 215, 0 }, // BLACK |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
209 |
}, |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
210 |
{ /* DOS palette. */ |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
211 |
{ 150, 1 }, // BLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
212 |
{ 12, 1 }, // SILVER |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
213 |
{ 189, 1 }, // GOLD |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
214 |
{ 184, 1 }, // RED |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
215 |
{ 174, 1 }, // PURPLE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
216 |
{ 30, 1 }, // LTBROWN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
217 |
{ 195, 1 }, // ORANGE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
218 |
{ 209, 1 }, // GREEN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
219 |
{ 68, 1 }, // YELLOW |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
220 |
{ 95, 1 }, // DKGREEN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
221 |
{ 79, 1 }, // CREAM |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
222 |
{ 116, 1 }, // BROWN |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
223 |
{ 15, 1 }, // WHITE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
224 |
{ 152, 1 }, // LTBLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
225 |
{ 6, 1 }, // GRAY |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
226 |
{ 133, 1 }, // DKBLUE |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
227 |
{ 1, 0 }, // BLACK |
a819102d71f5
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
maedhros
parents:
6248
diff
changeset
|
228 |
} |
509
3217af6d2d6a
(svn r819) Code cleanup: colors for langfile strings are now taken from a color table instead of a sprite
dominik
parents:
222
diff
changeset
|
229 |
}; |