changeset 2159 | f6284cf5fab0 |
parent 2084 | 65639f898a50 |
child 2163 | b17b313113a0 |
2158:722042326977 | 2159:f6284cf5fab0 |
---|---|
8 #include "station.h" |
8 #include "station.h" |
9 #include "gfx.h" |
9 #include "gfx.h" |
10 #include "player.h" |
10 #include "player.h" |
11 #include "town.h" |
11 #include "town.h" |
12 #include "command.h" |
12 #include "command.h" |
13 #include "variables.h" |
|
14 #include "vehicle_gui.h" |
|
13 |
15 |
14 static void StationsWndShowStationRating(int x, int y, int type, uint acceptance, int rating) |
16 static void StationsWndShowStationRating(int x, int y, int type, uint acceptance, int rating) |
15 { |
17 { |
16 static const byte _rating_colors[NUM_CARGO] = {152,32,15,174,208,194,191,55,184,10,191,48}; |
18 static const byte _rating_colors[NUM_CARGO] = {152,32,15,174,208,194,191,55,184,10,191,48}; |
17 int color = _rating_colors[type]; |
19 int color = _rating_colors[type]; |