1 /*
2  *  This program is free software; you can redistribute it and/or modify
3  *  it under the terms of the GNU General Public License as published by
4  *  the Free Software Foundation; either version 2 of the License, or
5  *  (at your option) any later version.
6  *
7  *  This program is distributed in the hope that it will be useful,
8  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  *  GNU General Public License for more details.
11  *
12  *  You should have received a copy of the GNU General Public License
13  *  along with this program; if not, write to the Free Software
14  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15  */
16 #ifndef UQM_COLORS_H_
17 #define UQM_COLORS_H_
18 
19 // To be used as an indicator that the actual value of the color does not
20 // matter, for instance in structure initialisations for fields which
21 // are irrelevant in the context.
22 #define UNDEFINED_COLOR \
23 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x00), 0x00)
24 
25 #if 0
26 #define DEFAULT_COLOR_00 \
27 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x00), 0x00)
28 #define DEFAULT_COLOR_01 \
29 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
30 #define DEFAULT_COLOR_02 \
31 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x00), 0x02)
32 #define DEFAULT_COLOR_03 \
33 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x14), 0x03)
34 #define DEFAULT_COLOR_04 \
35 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x00, 0x00), 0x04)
36 #define DEFAULT_COLOR_05 \
37 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x00, 0x14), 0x05)
38 #define DEFAULT_COLOR_06 \
39 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x14, 0x00), 0x06)
40 #define DEFAULT_COLOR_07 \
41 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x14, 0x14), 0x07)
42 #define DEFAULT_COLOR_08 \
43 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x0A), 0x08)
44 #define DEFAULT_COLOR_09 \
45 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x1F), 0x09)
46 #define DEFAULT_COLOR_0A \
47 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x0A), 0x0A)
48 #define DEFAULT_COLOR_0B \
49 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x1F), 0x0B)
50 #define DEFAULT_COLOR_0C \
51 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x0A, 0x0A), 0x0C)
52 #define DEFAULT_COLOR_0D \
53 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x0A, 0x1F), 0x0D)
54 #define DEFAULT_COLOR_0E \
55 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x00), 0x0E)
56 #define DEFAULT_COLOR_0F \
57 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x1F), 0x0F)
58 #endif
59 
60 
61 #define BLACK_COLOR \
62 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x00), 0x00)
63 #define LTGRAY_COLOR \
64 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x14, 0x14), 0x07)
65 #define DKGRAY_COLOR \
66 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x0A), 0x08)
67 #define VDKGRAY_COLOR \
68 		BUILD_COLOR (MAKE_RGB15 (0x06, 0x06, 0x06), 0x00)
69 #define WHITE_COLOR \
70 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x1F), 0x0F)
71 #define BRIGHT_RED_COLOR \
72 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x00, 0x00), 0x04)
73 #define BRIGHT_GREEN_COLOR \
74 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x1F, 0x00), 0x02)
75 #define BRIGHT_BLUE_COLOR \
76 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1F), 0x01)
77 
78 #define NORMAL_ILLUMINATED_COLOR \
79 		WHITE_COLOR
80 #define NORMAL_SHADOWED_COLOR \
81 		DKGRAY_COLOR
82 #define HIGHLIGHT_ILLUMINATED_COLOR \
83 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x0A, 0x0A), 0x0C)
84 #define HIGHLIGHT_SHADOWED_COLOR \
85 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x00, 0x00), 0x04)
86 #define MENU_BACKGROUND_COLOR \
87 		LTGRAY_COLOR
88 #define MENU_FOREGROUND_COLOR \
89 		DKGRAY_COLOR
90 #define MENU_TEXT_COLOR \
91 		VDKGRAY_COLOR
92 #define MENU_HIGHLIGHT_COLOR \
93 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x00), 0x0E)
94 #define MENU_CURSOR_COLOR \
95 		WHITE_COLOR
96 
97 #define STATUS_ILLUMINATED_COLOR \
98 		WHITE_COLOR
99 #define STATUS_SHADOWED_COLOR \
100 		DKGRAY_COLOR
101 #define STATUS_SHAPE_COLOR \
102 		BLACK_COLOR
103 #define STATUS_SHAPE_OUTLINE_COLOR \
104 		WHITE_COLOR
105 
106 #define CONTROL_COLOR \
107 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
108 
109 #define ALLIANCE_BACKGROUND_COLOR \
110 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
111 #define HIERARCHY_BACKGROUND_COLOR \
112 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x00, 0x00), 0x04)
113 #define ALLIANCE_TEXT_COLOR \
114 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x1F), 0x0B)
115 #define HIERARCHY_TEXT_COLOR \
116 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x0A), 0x0E)
117 #define ALLIANCE_BOX_HIGHLIGHT_COLOR \
118 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
119 #define HIERARCHY_BOX_HIGHLIGHT_COLOR \
120 		HIERARCHY_BACKGROUND_COLOR
121 
122 #define MESSAGE_BACKGROUND_COLOR \
123 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
124 #define MESSAGE_TEXT_COLOR \
125 		BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x0A), 0x0E)
126 
127 
128 // Not highlighted dialog options in comm.
129 #define COMM_PLAYER_TEXT_NORMAL_COLOR \
130 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x14), 0x03)
131 
132 // Currently highlighted dialog option in comm.
133 #define COMM_PLAYER_TEXT_HIGHLIGHT_COLOR \
134 		BUILD_COLOR (MAKE_RGB15 (0x1A, 0x1A, 0x1A), 0x12)
135 
136 // Background color of the area containing the player's dialog options.
137 #define COMM_PLAYER_BACKGROUND_COLOR \
138 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
139 
140 // "(In response to your statement)"
141 #define COMM_RESPONSE_INTRO_TEXT_COLOR \
142 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0C, 0x1F), 0x48)
143 
144 // Your dialog option after choosing it.
145 #define COMM_FEEDBACK_TEXT_COLOR \
146 		BUILD_COLOR (MAKE_RGB15 (0x12, 0x14, 0x4F), 0x44)
147 
148 // The background when reviewing the conversation history.
149 #define COMM_HISTORY_BACKGROUND_COLOR \
150 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x05, 0x00), 0x00)
151 
152 // The text when reviewing the conversation history.
153 #define COMM_HISTORY_TEXT_COLOR \
154 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x10, 0x00), 0x6B)
155 
156 // The text "MORE" when reviewing the conversation history.
157 #define COMM_MORE_TEXT_COLOR \
158 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x17, 0x00), 0x00)
159 
160 // Default colors for System Dialog Boxes (DrawShadowedBox)
161 #define SHADOWBOX_BACKGROUND_COLOR \
162 		MENU_BACKGROUND_COLOR
163 
164 #define SHADOWBOX_MEDIUM_COLOR \
165 		BUILD_COLOR (MAKE_RGB15 (0x10, 0x10, 0x10), 0x19)
166 
167 #define SHADOWBOX_DARK_COLOR \
168 		BUILD_COLOR (MAKE_RGB15 (0x08, 0x08, 0x08), 0x1F)
169 
170 
171 // === SIS ===
172 
173 // Left border of the "SIS" view (the part in which your ship flies).
174 #define SIS_LEFT_BORDER_COLOR \
175 		BUILD_COLOR (MAKE_RGB15 (0x10, 0x10, 0x10), 0x19)
176 
177 // Right and bottom border of the "SIS" view.
178 #define SIS_BOTTOM_RIGHT_BORDER_COLOR \
179 		BUILD_COLOR (MAKE_RGB15 (0x08, 0x08, 0x08), 0x1F)
180 
181 // Text color of the string "CAPTAIN", when using PC fonts.
182 #define PC_CAPTAIN_STRING_TEXT_COLOR \
183 		BUILD_COLOR (MAKE_RGB15 (0x02, 0x04, 0x1E), 0x38)
184 
185 // Background color of the string "CAPTAIN", when using PC fonts.
186 #define PC_CAPTAIN_STRING_BACKGROUND_COLOR \
187 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
188 
189 // Text color of the captain's name.
190 #define CAPTAIN_NAME_TEXT_COLOR \
191 		BUILD_COLOR (MAKE_RGB15 (0x16, 0x0B, 0x1F), 0x38)
192 
193 // Background color of the captain's name.
194 #define CAPTAIN_NAME_BACKGROUND_COLOR \
195 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
196 
197 // Text color of the flagship's name, when using 3DO fonts.
198 #define THREEDO_FLAGSHIP_NAME_TEXT_COLOR \
199 		BUILD_COLOR (MAKE_RGB15 (0x14, 0x0A, 0x00), 0x0C)
200 
201 // Background color of the flagship's name.
202 #define FLAGSHIP_NAME_BACKGROUND_COLOR \
203 		BLACK_COLOR
204 
205 // Text color for the message area (at the top of the screen, on the left
206 // hand side, containing the name of the solar system.
207 #define SIS_MESSAGE_TEXT_COLOR \
208 		BUILD_COLOR (MAKE_RGB15 (0x1B, 0x00, 0x1B), 0x33)
209 
210 // Color of autocompleted text after the current cursor position,
211 // when editing in the title area.
212 #define SIS_MESSAGE_EXTRA_TEXT_COLOR \
213 		BUILD_COLOR (MAKE_RGB15 (0x12, 0x00, 0x12), 0x33)
214 
215 // Background color for the message area.
216 #define SIS_MESSAGE_BACKGROUND_COLOR \
217 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
218 
219 // Cursor color when editing in the message area.
220 #define SIS_MESSAGE_CURSOR_COLOR \
221 		BLACK_COLOR
222 
223 // Text color of the title (at the top of the screen, on the right
224 // hand side, containing the coordinates in HyperSpace, or the planet name
225 // in IP.
226 #define SIS_TITLE_TEXT_COLOR \
227 		BUILD_COLOR (MAKE_RGB15 (0x1B, 0x00, 0x1B), 0x33)
228 
229 // Background color of the title.
230 #define SIS_TITLE_BACKGROUND_COLOR \
231 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
232 
233 // Text color of the status message, below the flagship overview, containing
234 // the date, RU, etc.
235 #define STATUS_MESSAGE_TEXT_COLOR \
236 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x10, 0x00), 0x6B)
237 
238 // Background color of the status message.
239 #define STATUS_MESSAGE_BACKGROUND_COLOR \
240 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x08, 0x00), 0x6E)
241 
242 // Pulsating color of the string "AUTO-PILOT"
243 #define AUTOPILOT_COLOR_CYCLE_TABLE \
244 		{ \
245 			BUILD_COLOR (MAKE_RGB15_INIT (0x0A, 0x14, 0x18), 0x5B), \
246 			BUILD_COLOR (MAKE_RGB15_INIT (0x06, 0x10, 0x16), 0x5C), \
247 			BUILD_COLOR (MAKE_RGB15_INIT (0x03, 0x0E, 0x14), 0x5D), \
248 			BUILD_COLOR (MAKE_RGB15_INIT (0x02, 0x0C, 0x11), 0x5E), \
249 			BUILD_COLOR (MAKE_RGB15_INIT (0x01, 0x0B, 0x0F), 0x5F), \
250 			BUILD_COLOR (MAKE_RGB15_INIT (0x01, 0x09, 0x0D), 0x60), \
251 			BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x07, 0x0B), 0x61), \
252 		}
253 
254 // Colors for the fuel in the fuel tanks as they are filled up,
255 // when viewed from the shipyard.
256 #define FUEL_COLOR_TABLE \
257 		{ \
258 			BUILD_COLOR (MAKE_RGB15_INIT (0x0F, 0x00, 0x00), 0x2D), \
259 			BUILD_COLOR (MAKE_RGB15_INIT (0x13, 0x00, 0x00), 0x2C), \
260 			BUILD_COLOR (MAKE_RGB15_INIT (0x17, 0x00, 0x00), 0x2B), \
261 			BUILD_COLOR (MAKE_RGB15_INIT (0x1B, 0x00, 0x00), 0x2A), \
262 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x03, 0x00), 0x7F), \
263 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x07, 0x00), 0x7E), \
264 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x0A, 0x00), 0x7D), \
265 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x0E, 0x00), 0x7C), \
266 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x11, 0x00), 0x7B), \
267 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x15, 0x00), 0x7A), \
268 			BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x18, 0x00), 0x79), \
269 		}
270 
271 // Colors for the crew in the crew pods as they are filled up,
272 // when viewed from the shipyard, when using PC fonts.
273 #define PC_CREW_COLOR_TABLE \
274 		{ \
275 			 BUILD_COLOR (MAKE_RGB15_INIT (0x0A, 0x1E, 0x09), 0x65), \
276 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x1E, 0x00), 0x65), \
277 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x1B, 0x00), 0x65), \
278 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x18, 0x00), 0x65), \
279 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x15, 0x00), 0x65), \
280 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x12, 0x00), 0x65), \
281 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x10, 0x00), 0x65), \
282 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x0D, 0x00), 0x65), \
283 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x0A, 0x00), 0x65), \
284 			 BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x07, 0x00), 0x65), \
285 		}
286 
287 // Colors for the crew in the crew pods as they are filled up,
288 // when viewed from the shipyard, when using 3DO fonts.
289 #define THREEDO_CREW_COLOR \
290 		BUILD_COLOR (MAKE_RGB15 (0x05, 0x10, 0x05), 0x65)
291 
292 // Colors for the minerals in the storage bays as they are filled up,
293 // when viewed from the shipyard.
294 #define STORAGE_BAY_COLOR_TABLE \
295 		{ \
296 			 BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x1F, 0x1F), 0x0F), \
297 			 BUILD_COLOR (MAKE_RGB15_INIT (0x1C, 0x1C, 0x1C), 0x11), \
298 			 BUILD_COLOR (MAKE_RGB15_INIT (0x18, 0x18, 0x18), 0x13), \
299 			 BUILD_COLOR (MAKE_RGB15_INIT (0x15, 0x15, 0x15), 0x15), \
300 			 BUILD_COLOR (MAKE_RGB15_INIT (0x12, 0x12, 0x12), 0x17), \
301 			 BUILD_COLOR (MAKE_RGB15_INIT (0x10, 0x10, 0x10), 0x19), \
302 			 BUILD_COLOR (MAKE_RGB15_INIT (0x0D, 0x0D, 0x0D), 0x1B), \
303 			 BUILD_COLOR (MAKE_RGB15_INIT (0x0A, 0x0A, 0x0A), 0x1D), \
304 			 BUILD_COLOR (MAKE_RGB15_INIT (0x08, 0x08, 0x08), 0x1F), \
305 			 BUILD_COLOR (MAKE_RGB15_INIT (0x05, 0x05, 0x05), 0x21), \
306 		}
307 
308 // Color of the storage bay indicator, as shown beneath the flagship,
309 // for the parts which are full.
310 #define STORAGE_BAY_FULL_COLOR \
311 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x0A), 0x08)
312 
313 // Color of the storage bay indicator, as shown beneath the flagship,
314 // for the parts which are empty.
315 #define STORAGE_BAY_EMPTY_COLOR \
316 		BUILD_COLOR (MAKE_RGB15 (0x06, 0x06, 0x06), 0x20)
317 
318 
319 // === PC Menus ===
320 
321 // Background color of the PC-style menus.
322 #define PCMENU_BACKGROUND_COLOR \
323 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x15), 0x00)
324 
325 // Color of the top and left segments of the border around PC-style menus.
326 #define PCMENU_TOP_LEFT_BORDER_COLOR \
327 		BUILD_COLOR (MAKE_RGB15 (0x0F, 0x0F, 0x0F), 0x00)
328 
329 // Color of the bottom and right segments of the border around PC-style menus.
330 #define PCMENU_BOTTOM_RIGHT_BORDER_COLOR \
331 		BUILD_COLOR (MAKE_RGB15 (0x06, 0x06, 0x06), 0x00)
332 
333 // Text color of an unselected menu item.
334 #define PCMENU_TEXT_COLOR \
335 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x15, 0x15), 0x00)
336 
337 // Text color of an selected menu item.
338 #define PCMENU_SELECTION_TEXT_COLOR \
339 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x1F), 0x0B)
340 
341 // Background color of a selected menu item.
342 #define PCMENU_SELECTION_BACKGROUND_COLOR \
343 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x1F), 0x09)
344 
345 // === 3DO menus ===
346 #define THREEDOMENU_TEXT_COLOR \
347 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x1F, 0x00), 0x00)
348 
349 
350 // === Credits ===
351 
352 #define CREDITS_TEXT_COLOR \
353 		WHITE_COLOR
354 
355 
356 // === Cargo menu ===
357 
358 #define CARGO_BACK_COLOR \
359 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
360 
361 #define CARGO_WORTH_COLOR \
362 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x1F), 0x09)
363 
364 #define CARGO_AMOUNT_COLOR \
365 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x14), 0x03)
366 
367 #define CARGO_SELECTED_BACK_COLOR \
368 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x1F), 0x09)
369 
370 #define CARGO_SELECTED_WORTH_COLOR \
371 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x14), 0x03)
372 
373 #define CARGO_SELECTED_AMOUNT_COLOR \
374 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x1F), 0x0B)
375 
376 
377 // === Devices menu ===
378 
379 #define DEVICES_BACK_COLOR \
380 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01)
381 
382 #define DEVICES_NAME_COLOR \
383 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x14, 0x14), 0x03)
384 
385 #define DEVICES_SELECTED_BACK_COLOR \
386 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x0A, 0x1F), 0x09)
387 
388 #define DEVICES_SELECTED_NAME_COLOR \
389 		BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1F, 0x1F), 0x0B)
390 
391 
392 // === Roster menu ===
393 
394 #define ROSTER_MODIFY_SHIP_COLOR \
395 		WHITE_COLOR
396 
397 // === Scan menu and general ===
398 
399 #define SCAN_PC_TITLE_COLOR \
400 		BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x15), 0x3B)
401 
402 #define SCAN_INFO_COLOR \
403 		BUILD_COLOR (MAKE_RGB15 (0x0F, 0x00, 0x19), 0x3B)
404 
405 #define SCAN_MINERAL_TEXT_COLOR \
406 		BUILD_COLOR (MAKE_RGB15_INIT (0x13, 0x00, 0x00), 0x2C)
407 
408 #define SCAN_ENERGY_TEXT_COLOR \
409 		BUILD_COLOR (MAKE_RGB15_INIT (0x0C, 0x0C, 0x0C), 0x1C)
410 
411 #define SCAN_BIOLOGICAL_TEXT_COLOR \
412 		BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x0E, 0x00), 0x6C)
413 
414 #define SCAN_MINERAL_TINT_COLOR \
415 		BRIGHT_RED_COLOR_INIT
416 
417 #define SCAN_ENERGY_TINT_COLOR \
418 		WHITE_COLOR_INIT
419 
420 #define SCAN_BIOLOGICAL_TINT_COLOR \
421 		BRIGHT_GREEN_COLOR_INIT
422 
423 
424 // Temporary, until we can use C'99 features:
425 #define BLACK_COLOR_INIT \
426 		BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x00, 0x00), 0x00)
427 #define WHITE_COLOR_INIT \
428 		BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x1F, 0x1F), 0x0F)
429 #define BRIGHT_RED_COLOR_INIT \
430 		BUILD_COLOR (MAKE_RGB15_INIT (0x1F, 0x00, 0x00), 0x04)
431 #define BRIGHT_GREEN_COLOR_INIT \
432 		BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x1F, 0x00), 0x02)
433 #define BRIGHT_BLUE_COLOR_INIT \
434 		BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x00, 0x1F), 0x01)
435 #define UNDEFINED_COLOR_INIT \
436 		BUILD_COLOR (MAKE_RGB15_INIT (0x00, 0x00, 0x00), 0x00)
437 
438 
439 #endif  /* UQM_COLORS_H_ */
440 
441