3 /** @file station_gui.cpp */ |
3 /** @file station_gui.cpp */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "debug.h" |
7 #include "debug.h" |
8 #include "table/strings.h" |
|
9 #include "gui.h" |
8 #include "gui.h" |
10 #include "window_gui.h" |
9 #include "window_gui.h" |
11 #include "textbuf_gui.h" |
10 #include "textbuf_gui.h" |
12 #include "station.h" |
11 #include "station.h" |
13 #include "player_func.h" |
12 #include "player_func.h" |
14 #include "economy_func.h" |
13 #include "economy_func.h" |
15 #include "town.h" |
14 #include "town.h" |
16 #include "command_func.h" |
15 #include "command_func.h" |
17 #include "variables.h" |
16 #include "variables.h" |
18 #include "vehicle_gui.h" |
17 #include "vehicle_gui.h" |
19 #include "table/sprites.h" |
|
20 #include "cargotype.h" |
18 #include "cargotype.h" |
21 #include "station_gui.h" |
19 #include "station_gui.h" |
22 #include "station.h" |
20 #include "station.h" |
23 #include "strings_func.h" |
21 #include "strings_func.h" |
24 #include "core/alloc_func.hpp" |
22 #include "core/alloc_func.hpp" |
25 #include "window_func.h" |
23 #include "window_func.h" |
26 #include "viewport_func.h" |
24 #include "viewport_func.h" |
27 #include "gfx_func.h" |
25 #include "gfx_func.h" |
|
26 |
|
27 #include "table/strings.h" |
|
28 #include "table/sprites.h" |
28 |
29 |
29 typedef int CDECL StationSortListingTypeFunction(const void*, const void*); |
30 typedef int CDECL StationSortListingTypeFunction(const void*, const void*); |
30 |
31 |
31 static StationSortListingTypeFunction StationNameSorter; |
32 static StationSortListingTypeFunction StationNameSorter; |
32 static StationSortListingTypeFunction StationTypeSorter; |
33 static StationSortListingTypeFunction StationTypeSorter; |