author | Darkvater |
Sun, 03 Apr 2005 13:37:35 +0000 | |
changeset 1638 | 4779658c2d03 |
parent 614 | b96f987dbf80 |
child 1991 | 4ce69ba880b4 |
permissions | -rw-r--r-- |
0 | 1 |
byte _palettes[4][256 * 3] = { |
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
2 |
/* palette 1 (TTD Windows) */ |
0 | 3 |
{ |
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
4 |
0, 0, 0, 212, 0, 212, 212, 0, 212, 212, 0, 212, |
222
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
5 |
212, 0, 212, 212, 0, 212, 212, 0, 212, 212, 0, 212, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
6 |
212, 0, 212, 212, 0, 212, 168, 168, 168, 184, 184, 184, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
7 |
200, 200, 200, 216, 216, 216, 232, 232, 232, 252, 252, 252, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
8 |
52, 60, 72, 68, 76, 92, 88, 96, 112, 108, 116, 132, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
9 |
132, 140, 152, 156, 160, 172, 176, 184, 196, 204, 208, 220, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
10 |
48, 44, 4, 64, 60, 12, 80, 76, 20, 96, 92, 28, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
11 |
120, 120, 64, 148, 148, 100, 176, 176, 132, 204, 204, 168, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
12 |
100, 100, 100, 116, 116, 116, 104, 80, 44, 124, 104, 72, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
13 |
152, 132, 92, 184, 160, 120, 212, 188, 148, 244, 220, 176, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
14 |
132, 132, 132, 88, 4, 16, 112, 16, 32, 136, 32, 52, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
15 |
160, 56, 76, 188, 84, 108, 204, 104, 124, 220, 132, 144, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
16 |
236, 156, 164, 252, 188, 192, 252, 212, 0, 252, 232, 60, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
17 |
252, 248, 128, 76, 40, 0, 96, 60, 8, 116, 88, 28, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
18 |
136, 116, 56, 156, 136, 80, 176, 156, 108, 196, 180, 136, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
19 |
68, 24, 0, 96, 44, 4, 128, 68, 8, 156, 96, 16, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
20 |
184, 120, 24, 212, 156, 32, 232, 184, 16, 252, 212, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
21 |
252, 248, 128, 252, 252, 192, 32, 4, 0, 64, 20, 8, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
22 |
84, 28, 16, 108, 44, 28, 128, 56, 40, 148, 72, 56, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
23 |
168, 92, 76, 184, 108, 88, 196, 128, 108, 212, 148, 128, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
24 |
8, 52, 0, 16, 64, 0, 32, 80, 4, 48, 96, 4, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
25 |
64, 112, 12, 84, 132, 20, 104, 148, 28, 128, 168, 44, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
26 |
64, 64, 64, 44, 68, 32, 60, 88, 48, 80, 104, 60, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
27 |
104, 124, 76, 128, 148, 92, 152, 176, 108, 180, 204, 124, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
28 |
16, 52, 24, 32, 72, 44, 56, 96, 72, 76, 116, 88, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
29 |
96, 136, 108, 120, 164, 136, 152, 192, 168, 184, 220, 200, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
30 |
32, 24, 0, 56, 28, 0, 80, 80, 80, 88, 52, 12, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
31 |
104, 64, 24, 124, 84, 44, 140, 108, 64, 160, 128, 88, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
32 |
76, 40, 16, 96, 52, 24, 116, 68, 40, 136, 84, 56, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
33 |
164, 96, 64, 184, 112, 80, 204, 128, 96, 212, 148, 112, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
34 |
224, 168, 128, 236, 188, 148, 80, 28, 4, 100, 40, 20, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
35 |
120, 56, 40, 140, 76, 64, 160, 100, 96, 184, 136, 136, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
36 |
36, 40, 68, 48, 52, 84, 64, 64, 100, 80, 80, 116, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
37 |
100, 100, 136, 132, 132, 164, 172, 172, 192, 212, 212, 224, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
38 |
48, 48, 48, 64, 44, 144, 88, 64, 172, 104, 76, 196, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
39 |
120, 88, 224, 140, 104, 252, 160, 136, 252, 188, 168, 252, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
40 |
0, 24, 108, 0, 36, 132, 0, 52, 160, 0, 72, 184, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
41 |
0, 96, 212, 24, 120, 220, 56, 144, 232, 88, 168, 240, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
42 |
128, 196, 252, 188, 224, 252, 16, 64, 96, 24, 80, 108, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
43 |
40, 96, 120, 52, 112, 132, 80, 140, 160, 116, 172, 192, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
44 |
156, 204, 220, 204, 240, 252, 172, 52, 52, 212, 52, 52, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
45 |
252, 52, 52, 252, 100, 88, 252, 144, 124, 252, 184, 160, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
46 |
252, 216, 200, 252, 244, 236, 72, 20, 112, 92, 44, 140, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
47 |
112, 68, 168, 140, 100, 196, 168, 136, 224, 204, 180, 252, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
48 |
204, 180, 252, 232, 208, 252, 60, 0, 0, 92, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
49 |
128, 0, 0, 160, 0, 0, 196, 0, 0, 224, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
50 |
252, 0, 0, 252, 80, 0, 252, 108, 0, 252, 136, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
51 |
252, 164, 0, 252, 192, 0, 252, 220, 0, 252, 252, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
52 |
204, 136, 8, 228, 144, 4, 252, 156, 0, 252, 176, 48, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
53 |
252, 196, 100, 252, 216, 152, 8, 24, 88, 12, 36, 104, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
54 |
20, 52, 124, 28, 68, 140, 40, 92, 164, 56, 120, 188, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
55 |
72, 152, 216, 100, 172, 224, 92, 156, 52, 108, 176, 64, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
56 |
124, 200, 76, 144, 224, 92, 224, 244, 252, 204, 240, 252, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
57 |
180, 220, 236, 132, 188, 216, 88, 152, 172, 16, 16, 16, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
58 |
32, 32, 32, 8, 92, 104, 16, 100, 112, 24, 108, 120, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
59 |
32, 116, 128, 44, 124, 140, 92, 164, 184, 116, 180, 196, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
60 |
148, 200, 216, 180, 220, 232, 216, 244, 252, 0, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
61 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
62 |
252, 60, 0, 252, 80, 0, 252, 104, 0, 252, 128, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
63 |
252, 148, 0, 252, 172, 0, 252, 196, 0, 252, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
64 |
252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
65 |
252, 228, 0, 148, 148, 148, 212, 0, 212, 212, 0, 212, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
66 |
212, 0, 212, 212, 0, 212, 212, 0, 212, 212, 0, 212, |
b88456001397
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
darkvater
parents:
0
diff
changeset
|
67 |
212, 0, 212, 212, 0, 212, 212, 0, 212, 252, 252, 252, |
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
68 |
}, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
69 |
|
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
70 |
/* palette 2 (mixed TTD DOS + TTD Windows palette */ |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
71 |
{ |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
72 |
0, 0, 0, 16, 16, 16, 32, 32, 32, 48, 48, 48, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
73 |
65, 64, 65, 82, 80, 82, 98, 101, 98, 115, 117, 115, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
74 |
131, 133, 131, 148, 149, 148, 168, 168, 168, 184, 184, 184, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
75 |
200, 200, 200, 216, 216, 216, 232, 232, 232, 252, 252, 252, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
76 |
52, 60, 72, 68, 76, 92, 88, 96, 112, 108, 116, 132, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
77 |
132, 140, 152, 156, 160, 172, 176, 184, 196, 204, 208, 220, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
78 |
48, 44, 4, 64, 60, 12, 80, 76, 20, 96, 92, 28, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
79 |
120, 120, 64, 148, 148, 100, 176, 176, 132, 204, 204, 168, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
80 |
72, 44, 4, 88, 60, 20, 104, 80, 44, 124, 104, 72, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
81 |
152, 132, 92, 184, 160, 120, 212, 188, 148, 244, 220, 176, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
82 |
64, 0, 4, 88, 4, 16, 112, 16, 32, 136, 32, 52, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
83 |
160, 56, 76, 188, 84, 108, 204, 104, 124, 220, 132, 144, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
84 |
236, 156, 164, 252, 188, 192, 252, 212, 0, 252, 232, 60, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
85 |
252, 248, 128, 76, 40, 0, 96, 60, 8, 116, 88, 28, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
86 |
136, 116, 56, 156, 136, 80, 176, 156, 108, 196, 180, 136, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
87 |
68, 24, 0, 96, 44, 4, 128, 68, 8, 156, 96, 16, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
88 |
184, 120, 24, 212, 156, 32, 232, 184, 16, 252, 212, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
89 |
252, 248, 128, 252, 252, 192, 32, 4, 0, 64, 20, 8, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
90 |
84, 28, 16, 108, 44, 28, 128, 56, 40, 148, 72, 56, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
91 |
168, 92, 76, 184, 108, 88, 196, 128, 108, 212, 148, 128, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
92 |
8, 52, 0, 16, 64, 0, 32, 80, 4, 48, 96, 4, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
93 |
64, 112, 12, 84, 132, 20, 104, 148, 28, 128, 168, 44, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
94 |
28, 52, 24, 44, 68, 32, 60, 88, 48, 80, 104, 60, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
95 |
104, 124, 76, 128, 148, 92, 152, 176, 108, 180, 204, 124, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
96 |
16, 52, 24, 32, 72, 44, 56, 96, 72, 76, 116, 88, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
97 |
96, 136, 108, 120, 164, 136, 152, 192, 168, 184, 220, 200, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
98 |
32, 24, 0, 56, 28, 0, 72, 40, 0, 88, 52, 12, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
99 |
104, 64, 24, 124, 84, 44, 140, 108, 64, 160, 128, 88, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
100 |
76, 40, 16, 96, 52, 24, 116, 68, 40, 136, 84, 56, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
101 |
164, 96, 64, 184, 112, 80, 204, 128, 96, 212, 148, 112, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
102 |
224, 168, 128, 236, 188, 148, 80, 28, 4, 100, 40, 20, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
103 |
120, 56, 40, 140, 76, 64, 160, 100, 96, 184, 136, 136, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
104 |
36, 40, 68, 48, 52, 84, 64, 64, 100, 80, 80, 116, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
105 |
100, 100, 136, 132, 132, 164, 172, 172, 192, 212, 212, 224, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
106 |
40, 20, 112, 64, 44, 144, 88, 64, 172, 104, 76, 196, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
107 |
120, 88, 224, 140, 104, 252, 160, 136, 252, 188, 168, 252, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
108 |
0, 24, 108, 0, 36, 132, 0, 52, 160, 0, 72, 184, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
109 |
0, 96, 212, 24, 120, 220, 56, 144, 232, 88, 168, 240, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
110 |
128, 196, 252, 188, 224, 252, 16, 64, 96, 24, 80, 108, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
111 |
40, 96, 120, 52, 112, 132, 80, 140, 160, 116, 172, 192, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
112 |
156, 204, 220, 204, 240, 252, 172, 52, 52, 212, 52, 52, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
113 |
252, 52, 52, 252, 100, 88, 252, 144, 124, 252, 184, 160, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
114 |
252, 216, 200, 252, 244, 236, 72, 20, 112, 92, 44, 140, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
115 |
112, 68, 168, 140, 100, 196, 168, 136, 224, 204, 180, 252, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
116 |
204, 180, 252, 232, 208, 252, 60, 0, 0, 92, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
117 |
128, 0, 0, 160, 0, 0, 196, 0, 0, 224, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
118 |
252, 0, 0, 252, 80, 0, 252, 108, 0, 252, 136, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
119 |
252, 164, 0, 252, 192, 0, 252, 220, 0, 252, 252, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
120 |
204, 136, 8, 228, 144, 4, 252, 156, 0, 252, 176, 48, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
121 |
252, 196, 100, 252, 216, 152, 8, 24, 88, 12, 36, 104, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
122 |
20, 52, 124, 28, 68, 140, 40, 92, 164, 56, 120, 188, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
123 |
72, 152, 216, 100, 172, 224, 92, 156, 52, 108, 176, 64, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
124 |
124, 200, 76, 144, 224, 92, 224, 244, 252, 204, 240, 252, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
125 |
180, 220, 236, 132, 188, 216, 88, 152, 172, 16, 16, 16, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
126 |
32, 32, 32, 8, 92, 104, 16, 100, 112, 24, 108, 120, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
127 |
32, 116, 128, 44, 124, 140, 92, 164, 184, 116, 180, 196, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
128 |
148, 200, 216, 180, 220, 232, 216, 244, 252, 0, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
129 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
130 |
252, 60, 0, 252, 80, 0, 252, 104, 0, 252, 128, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
131 |
252, 148, 0, 252, 172, 0, 252, 196, 0, 252, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
132 |
252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
133 |
252, 228, 0, 148, 148, 148, 16, 101, 115, 24, 109, 123, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
134 |
32, 117, 131, 41, 125, 139, 90, 165, 189, 115, 182, 197, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
135 |
148, 202, 222, 180, 222, 238, 222, 246, 255, 252, 252, 252, |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
136 |
} |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
137 |
|
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
138 |
|
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
139 |
}; |
0 | 140 |
|
141 |
#define GET_PALETTE(x) _palettes[x] |
|
142 |
||
143 |
typedef struct { |
|
614
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
144 |
byte a[15]; // dark blue water |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
145 |
byte ac[15]; // dark blue water Toyland |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
146 |
byte lighthouse[12]; // lighthouse & stadium |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
147 |
byte oil_ref[21]; // oil refinery |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
148 |
byte e[15]; // ??? |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
149 |
byte b[45]; // glittery water |
b96f987dbf80
(svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
dominik
parents:
510
diff
changeset
|
150 |
byte bc[45]; // glittery water Toyland |
0 | 151 |
} ExtraPaletteValues; |
152 |
||
153 |
static const ExtraPaletteValues _extra_palette_values = { |
|
154 |
{32, 68,112, 36, 72,116, 40, 76,120, 44, 80,124, 48, 84,128}, |
|
155 |
{28,108,124, 32,112,128, 36,116,132, 40,120,136, 44,124,140}, |
|
156 |
{240,208, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, |
|
157 |
{252, 60, 0,252, 84, 0,252,108, 0,252,124, 0,252,148, 0, |
|
158 |
252,172, 0,252,196, 0}, |
|
159 |
{ 76, 24, 8,108, 44, 24,144, 72, 52,176,108, 84,212,148,128}, |
|
160 |
{216,244,252,172,208,224,132,172,196,100,132,168, 72,100,144, |
|
161 |
72,100,144, 72,100,144, 72,100,144, 72,100,144, 72,100,144, |
|
162 |
72,100,144, 72,100,144,100,132,168,132,172,196,172,208,224}, |
|
163 |
{216,244,252,180,220,232,148,200,216,116,180,196, 92,164,184, |
|
164 |
92,164,184, 92,164,184, 92,164,184, 92,164,184, 92,164,184, |
|
165 |
92,164,184, 92,164,184,116,180,196,148,200,216,180,220,232}, |
|
166 |
}; |
|
167 |
||
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
|
168 |
// Color table for colors in lang files (e.g. {BLACK}) |
510
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
169 |
typedef struct StringColor { |
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
170 |
byte text; |
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
171 |
byte shadow; |
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
172 |
} StringColor; |
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
173 |
|
b499a3da3ddc
(svn r822) Use a struct instead of pairs of bytes for the string colormap.
tron
parents:
509
diff
changeset
|
174 |
static const StringColor _string_colormap[] = { |
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
|
175 |
{ 150, 215 }, // BLUE |
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
|
176 |
{ 12, 215 }, // SILVER |
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
|
177 |
{ 189, 215 }, // GOLD |
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
|
178 |
{ 184, 215 }, // RED |
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
|
179 |
{ 174, 215 }, // PURPLE |
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
|
180 |
{ 30, 215 }, // LTBROWN |
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
|
181 |
{ 195, 215 }, // ORANGE |
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
|
182 |
{ 209, 215 }, // GREEN |
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
|
183 |
{ 68, 215 }, // YELLOW |
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 |
{ 95, 215 }, // DKGREEN |
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
|
185 |
{ 79, 215 }, // CREAM |
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
|
186 |
{ 116, 215 }, // BROWN |
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
|
187 |
{ 15, 215 }, // WHITE |
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
|
188 |
{ 152, 215 }, // LTBLUE |
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
|
189 |
{ 32, 215 }, // GRAY |
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
|
190 |
{ 133, 215 }, // DKBLUE |
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
|
191 |
{ 215, 0 }, // BLACK |
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
|
192 |
}; |