station_gui.c
changeset 2159 3b634157c3b2
parent 2084 d67790a49f78
child 2163 637ec3c361f5
equal deleted inserted replaced
2158:b134d7479c0e 2159:3b634157c3b2
     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];