equal
deleted
inserted
replaced
5 #ifndef GUI_H |
5 #ifndef GUI_H |
6 #define GUI_H |
6 #define GUI_H |
7 |
7 |
8 #include "string.h" |
8 #include "string.h" |
9 #include "window_type.h" |
9 #include "window_type.h" |
10 #include "rail_type.h" |
|
11 #include "road_type.h" |
|
12 #include "vehicle_type.h" |
|
13 |
10 |
14 /* main_gui.cpp */ |
11 /* main_gui.cpp */ |
15 void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2); |
12 void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2); |
16 void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2); |
13 void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2); |
17 void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2); |
14 void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2); |
35 /* news_gui.cpp */ |
32 /* news_gui.cpp */ |
36 void ShowLastNewsMessage(); |
33 void ShowLastNewsMessage(); |
37 void ShowMessageOptions(); |
34 void ShowMessageOptions(); |
38 void ShowMessageHistory(); |
35 void ShowMessageHistory(); |
39 |
36 |
40 /* rail_gui.cpp */ |
|
41 void ShowBuildRailToolbar(RailType railtype, int button); |
|
42 void PlaceProc_BuyLand(TileIndex tile); |
|
43 void ReinitGuiAfterToggleElrail(bool disable); |
|
44 |
|
45 /* train_gui.cpp */ |
37 /* train_gui.cpp */ |
46 void ShowOrdersWindow(const Vehicle *v); |
38 void ShowOrdersWindow(const Vehicle *v); |
47 |
|
48 /* road_gui.cpp */ |
|
49 void ShowBuildRoadToolbar(RoadType roadtype); |
|
50 void ShowBuildRoadScenToolbar(); |
|
51 |
39 |
52 /* dock_gui.cpp */ |
40 /* dock_gui.cpp */ |
53 void ShowBuildDocksToolbar(); |
41 void ShowBuildDocksToolbar(); |
54 |
42 |
55 /* aircraft_gui.cpp */ |
43 /* aircraft_gui.cpp */ |
62 void ShowGenerateLandscape(); |
50 void ShowGenerateLandscape(); |
63 void ShowHeightmapLoad(); |
51 void ShowHeightmapLoad(); |
64 |
52 |
65 void PlaceProc_DemolishArea(TileIndex tile); |
53 void PlaceProc_DemolishArea(TileIndex tile); |
66 void PlaceProc_LevelLand(TileIndex tile); |
54 void PlaceProc_LevelLand(TileIndex tile); |
|
55 void PlaceProc_BuyLand(TileIndex tile); |
67 bool GUIPlaceProcDragXY(const WindowEvent *e); |
56 bool GUIPlaceProcDragXY(const WindowEvent *e); |
68 |
57 |
69 /** Drag and drop selection process, or, what to do with an area of land when |
58 /** Drag and drop selection process, or, what to do with an area of land when |
70 * you've selected it. */ |
59 * you've selected it. */ |
71 enum { |
60 enum { |
130 /* main_gui.cpp */ |
119 /* main_gui.cpp */ |
131 void HandleOnEditText(const char *str); |
120 void HandleOnEditText(const char *str); |
132 VARDEF bool _station_show_coverage; |
121 VARDEF bool _station_show_coverage; |
133 VARDEF PlaceProc *_place_proc; |
122 VARDEF PlaceProc *_place_proc; |
134 |
123 |
135 /* vehicle_gui.cpp */ |
|
136 void InitializeGUI(); |
124 void InitializeGUI(); |
137 |
125 |
138 void ShowPlayerGroup(PlayerID player, VehicleType veh); |
|
139 |
|
140 #endif /* GUI_H */ |
126 #endif /* GUI_H */ |