forked from aburch/simutrans
-
Notifications
You must be signed in to change notification settings - Fork 1
/
simcolor.h
100 lines (86 loc) · 2.4 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
90
91
92
93
94
95
96
97
98
99
100
/*
* all color related stuff
*/
#ifndef simcolor_h
#define simcolor_h
// this is a player color => use different table for conversion
#define PLAYER_FLAG (0x8000)
#define TRANSPARENT_FLAGS (0x7800)
#define TRANSPARENT25_FLAG (0x2000)
#define TRANSPARENT50_FLAG (0x4000)
#define TRANSPARENT75_FLAG (0x6000)
#define OUTLINE_FLAG (0x0800)
typedef unsigned short PLAYER_COLOR_VAL;
typedef unsigned char COLOR_VAL;
// Menuefarben (aendern sich nicht von Tag zu Nacht)
#define MN_GREY0 (229)
#define MN_GREY1 (230)
#define MN_GREY2 (231)
#define MN_GREY3 (232)
#define MN_GREY4 (233)
// fixed colors
#define COL_BLACK (240)
#define COL_WHITE (215)
#define COL_RED (131)
#define COL_DARK_RED (128)
#define COL_LIGHT_RED (134)
#define COL_YELLOW (171)
#define COL_DARK_YELLOW (168)
#define COL_LIGHT_YELLOW (175)
#define COL_BLUE (147)
#define COL_DARK_BLUE (144)
#define COL_LIGHT_BLUE (151)
#define COL_GREEN (140)
#define COL_DARK_GREEN (136)
#define COL_LIGHT_GREEN (143)
#define COL_ORANGE (155)
#define COL_DARK_ORANGE (153)
#define COL_LIGHT_ORANGE (158)
#define COL_PURPLE (76)
#define COL_DARK_PURPLE (73)
#define COL_LIGHT_PURPLE (79)
#define COL_TURQUOISE (53)
#define COL_LIGHT_TURQUOISE (55)
#define COL_DARK_TURQOISE (50)
#define COL_LIGHT_BROWN (191)
#define COL_BROWN (189)
#define COL_DARK_BROWN (178)
// message colors
#define CITY_KI (209)
#define NEW_VEHICLE COL_PURPLE
// by niels
#define COL_GREY1 (208)
#define COL_GREY2 (210)
#define COL_GREY3 (212)
#define COL_GREY4 (11)
#define COL_GREY5 (213)
#define COL_GREY6 (15)
#define VEHIKEL_KENN COL_YELLOW
#define WIN_TITEL (154)
#define MONEY_PLUS COL_BLACK
#define MONEY_MINUS COL_RED
// special chart colors
#define COL_REVENUE (157)
#define COL_OPERATION (23)
#define COL_MAINTENANCE (46)
#define COL_OPS_PROFIT (215)
#define COL_NEW_VEHICLES (31)
#define COL_CONSTRUCTION (110)
#define COL_PROFIT (79)
#define COL_CASH (63)
#define COL_VEHICLE_ASSETS (55)
#define COL_WEALTH (131)
#define COL_MARGIN (122)
#define COL_TRANSPORTED (141)
#define COL_FREE_CAPACITY (39)
#define COL_CITICENS COL_WHITE
#define COL_GROWTH (122)
#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 COL_DARK_YELLOW
#define COL_POWERLINES (87)
#define COL_DISTANCE (87)
#endif