]> git.mxchange.org Git - flightgear.git/blob - src/Objects/colours.h
Fixed some signed vs. unsigned warnings.
[flightgear.git] / src / Objects / colours.h
1 // colours.h -- This header file contains colour definitions in the
2 //              same way as MS FS5 does
3 //
4 // Contributed by "Christian Mayer" <Vader@t-online.de>, started April 1999.
5 //
6 // Copyright (C) 1998  Christian Mayer - Vader@t-online.de
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 // General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22 // $Id$
23
24
25 #ifndef COLOURS_H
26 #define COLOURS_H
27
28 unsigned char msfs_colour[256][3]=
29 {
30         {  0,   0,   0},
31         {  8,   8,   8},
32         { 16,  16,  16},
33         { 24,  24,  24},
34         { 32,  32,  32},
35         { 40,  40,  40},
36         { 48,  48,  48},
37         { 56,  56,  56},
38         { 65,  65,  65},
39         { 73,  73,  73},
40         { 81,  81,  81},
41         { 89,  89,  89},
42         { 97,  97,  97},
43         {105, 105, 105},
44         {113, 113, 113},
45         {121, 121, 121},
46         {130, 130, 130},
47         {138, 138, 138},
48         {146, 146, 146},
49         {154, 154, 154},
50         {162, 162, 162},
51         {170, 170, 170},
52         {178, 178, 178},
53         {186, 186, 186},
54         {195, 195, 195},
55         {203, 203, 203},
56         {211, 211, 211},
57         {219, 219, 219},
58         {227, 227, 227},
59         {235, 235, 235},
60         {247, 247, 247},
61         {255, 255, 255},
62         { 21,   5,   5}, 
63         { 42,  10,  10},
64         { 63,  15,  15},
65         { 84,  20,  20},
66         {105,  25,  25},
67         {126,  30,  30},
68         {147,  35,  35},
69         {168,  40,  40},
70         {189,  45,  45},
71         {210,  50,  50},
72         {231,  55,  55},
73         {252,  60,  60},
74         {  5,  21,   5},
75         { 10,  42,  10},
76         { 15,  63,  15},
77         { 20,  84,  20},
78         { 25, 105,  25},
79         { 30, 126,  30},
80         { 35, 147,  35},
81         { 40, 168,  40},
82         { 45, 189,  45},
83         { 50, 210,  50},
84         { 55, 231,  55},
85         { 60, 252,  60},
86         {  0,   7,  23},
87         {  0,  15,  40},
88         {  0,  23,  58},
89         {  0,  40,  84},
90         {  0,  64, 104},
91         {  0,  71, 122},
92         {  0,  87, 143},
93         {  0,  99, 156},
94         {  0, 112, 179},
95         {  0, 128, 199},
96         {  0, 143, 215},
97         {  0, 153, 230},
98         { 28,  14,   0},
99         { 56,  28,   0},
100         { 84,  42,   0},
101         {112,  56,   0},
102         {140,  70,   0},
103         {168,  84,   0},
104         {196,  98,   0},
105         {224, 112,   0},
106         {252, 126,   0},
107         { 28,  28,   0},
108         { 56,  56,   0},
109         { 84,  84,   0},
110         {112, 112,   0},
111         {140, 140,   0},
112         {168, 168,   0},
113         {196, 196,   0},
114         {224, 224,   0},
115         {252, 252,   0},
116         { 25,  21,  16},
117         { 50,  42,  32},
118         { 75,  63,  48},
119         {100,  84,  64},
120         {125, 105,  80},
121         {150, 126,  96},
122         {175, 147, 112},
123         {200, 168, 128},
124         {225, 189, 144},
125         { 28,  11,   7},
126         { 56,  22,  14},
127         { 84,  33,  21},
128         {112,  44,  28},
129         {140,  55,  35},
130         {168,  66,  42},
131         {196,  77,  49},
132         {224,  88,  56},
133         {252,  99,  63},
134         { 17,  22,   9},
135         { 34,  44,  18},
136         { 51,  66,  27},
137         { 68,  88,  36},
138         { 85, 110,  45},
139         {102, 132,  54},
140         {119, 154,  63},
141         {136, 176,  72},
142         {153, 198,  81},
143         {  0,  58, 104},
144         {  0,  87, 112},
145         { 43, 112, 128},
146         {255,   0,   0},
147         { 64, 255,  64},
148         {  0,   0, 192},
149         {  0, 105, 105},
150         {255, 128,   0},
151         {255, 255,   0},
152         { 81,  81,  81},
153         {121, 121, 121},
154         {146, 146, 146},
155         {170, 170, 170},
156         {195, 195, 195},
157         {227, 227, 227},
158         {  0,   0,   0},
159         {  0,   0,   0},
160         {  0,   0,   0},
161         {  0,   0,   0},
162         {  0,   0,   0},
163         {  0,   0,   0},
164         {  0,   0,   0},
165         {  0,   0,   0},
166         {  0,   0,   0},
167         {  0,   0,   0},
168         {  0,   0,   0},
169         {  0,   0,   0},
170         {  0,   0,   0},
171         {  0,   0,   0},
172         {  0,   0,   0},
173         {  0,   0,   0},
174         {  0,   0,   0},
175         {  0,   0,   0},
176         {  0,   0,   0},
177         {  0,   0,   0},
178         {  0,   0,   0},
179         {  0,   0,   0},
180         {  0,   0,   0},
181         {  0,   0,   0},
182         {  0,   0,   0},
183         {  0,   0,   0},
184         {  0,   0,   0},
185         {  0,   0,   0},
186         {  0,   0,   0},
187         {  0,   0,   0},
188         {  0,   0,   0},
189         {  0,   0,   0},
190         {192, 192, 255},
191         {200, 200, 255},
192         {208, 208, 255},
193         {216, 216, 255},
194         {224, 224, 255},
195         {232, 232, 255},
196         {240, 240, 255},
197         {248, 248, 255},
198         {255, 255, 255},
199         {255, 255, 255},
200         {255, 255, 255},
201         {255, 255, 255},
202         {255, 255, 255},
203         {255, 255, 255},
204         {255, 255, 255},
205         {255, 255, 255},
206         { 16,  72,  16},
207         { 32,  80,  32},
208         { 48,  88,  48},
209         { 64,  96,  64},
210         { 80, 104,  80},
211         { 96, 112,  96},
212         {112, 120, 112},
213         {120, 124, 120},
214         {128, 128, 128},
215         {128, 128, 128},
216         {128, 128, 128},
217         {128, 128, 128},
218         {128, 128, 128},
219         {128, 128, 128},
220         {128, 128, 128},
221         {128, 128, 128},
222         { 33, 140, 189},
223         { 57, 132, 165},
224         {189,  66,  66},
225         {156,  66,  66},
226         {132,  74,  74},
227         { 33,  82, 107},
228         {214,  90,  82},
229         {189,  90,  82},
230         {165,  90,  82},
231         {123,  57,  49},
232         { 99,  57,  49},
233         {107,  74,  66},
234         {123,  90,  82},
235         {181,  90,  66},
236         { 74,  49,  41},
237         {189, 115,  90},
238         {140,  90,  49},
239         { 33,  49,  74},
240         {181, 115,  49},
241         { 99,  66,  33},
242         {165, 115,  66},
243         { 49,  41,  33},
244         {165, 140, 115},
245         {189, 165, 140},
246         { 57,  99, 123},
247         {181, 107,  24},
248         {206, 123,  33},
249         {156,  99,  33},
250         {148, 107,  49},
251         {107,  82,  49},
252         { 33,  33,  57},
253         { 33, 115, 165},
254         {214, 214,  33},
255         {173, 173,  33},
256         {198, 198,  41},
257         {140, 140,  33},
258         {115, 115,  33},
259         {189, 189,  57},
260         {156, 156,  49},
261         {173, 173,  57},
262         {123, 123,  49},
263         {123, 123,  66},
264         { 74,  74,  49},
265         {123, 123,  90},
266         { 41,  41,  33},
267         { 90,  99,  57},
268         {107, 115,  74},
269         {123, 148,  82},
270         {140, 173,  99},
271         {132, 156,  99},
272         { 49,  66,  41},
273         { 99, 165,  90},
274         { 74, 214,  74},
275         { 57, 140,  57},
276         { 74, 181,  74},
277         { 90, 198,  90},
278         { 57, 123,  57},
279         { 49,  99,  49},
280         { 90, 165,  90},
281         { 82, 148,  82},
282         { 74,  99,  74},
283         { 57, 115, 132},
284         { 33,  99, 123},
285         { 74, 115, 132}
286 };
287
288
289 #endif