forked from aburch/simutrans
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimcolor.h
89 lines (76 loc) · 2.04 KB
/
simcolor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* simconst.h
*
* all color related stuff
*/
#ifndef simcolor_h
#define simcolor_h
// this is a player color => use different table for conversion
#define PLAYER_FLAG (0x8000)
typedef unsigned short PLAYER_COLOR_VAL;
typedef unsigned char COLOR_VAL;
// Menuefarben (aendern sich nicht von Tag zu Nacht)
#define MN_GREY0 (37)
#define MN_GREY1 (38)
#define MN_GREY2 (39)
#define MN_GREY3 (40)
#define MN_GREY4 (41)
// these change
#define COL_BLACK (88)
#define COL_WHITE (102)
#define COL_RED (122)
#define COL_DARK_RED (104)
#define COL_YELLOW (121)
#define COL_BLUE (221)
#define COL_GREEN (169)
#define COL_DARK_ORANGE (131)
#define COL_ORANGE (132)
#define COL_PURPLE (80)
// message colors
#define CITY_KI (1)
#define NEW_VEHICLE (251)
// by niels
#define COL_GREY1 (90)
#define COL_GREY2 (92)
#define COL_GREY3 (94)
#define COL_GREY4 (96)
#define COL_GREY5 (98)
#define COL_GREY6 (100)
// Kenfarben fuer die Karte
#define KOHLE_KENN COL_BLACK
#define STRASSE_KENN COL_BLACK
#define SCHIENE_KENN (230)
#define CHANNEL_KENN COL_PURPLE
#define MONORAIL_KENN (131)
#define RUNWAY_KENN (96)
#define POWERLINE_KENN (124)
#define HALT_KENN COL_RED
#define VEHIKEL_KENN COL_YELLOW
#define WIN_TITEL (129)
#define MESG_WIN (120)
#define MESG_WIN_HELL (148)
#define MESG_WIN_DUNKEL (136)
#define MONEY_PLUS COL_BLACK
#define MONEY_MINUS COL_RED
// special chart colors
#define COL_CONSTRUCTION (63)
#define COL_OPERATION (11)
#define COL_NEW_VEHICLES (15)
#define COL_REVENUE (132)
#define COL_MAINTENANCE (23)
#define COL_VEHICLE_ASSETS (27)
#define COL_CASH (31)
#define COL_WEALTH (35)
#define COL_PROFIT (241)
#define COL_OPS_PROFIT (61)
#define COL_MARGIN (62)
#define COL_TRANSPORTED (169)
#define COL_FREE_CAPACITY COL_DARK_ORANGE
#define COL_CITICENS (7)
#define COL_GROWTH (62)
#define COL_HAPPY COL_WHITE
#define COL_UNHAPPY COL_RED
#define COL_NO_ROUTE COL_BLUE
#define COL_WAITING COL_YELLOW
#define COL_ARRIVED COL_DARK_ORANGE
#define COL_DEPARTED (23)
#endif