equal
deleted
inserted
replaced
44 /* train_gui.cpp */ |
44 /* train_gui.cpp */ |
45 void ShowTrainViewWindow(const Vehicle *v); |
45 void ShowTrainViewWindow(const Vehicle *v); |
46 void ShowOrdersWindow(const Vehicle *v); |
46 void ShowOrdersWindow(const Vehicle *v); |
47 |
47 |
48 /* road_gui.cpp */ |
48 /* road_gui.cpp */ |
49 void ShowBuildRoadToolbar(); |
49 void ShowBuildRoadToolbar(RoadType roadtype); |
50 void ShowBuildRoadScenToolbar(); |
50 void ShowBuildRoadScenToolbar(); |
51 void ShowRoadVehViewWindow(const Vehicle *v); |
51 void ShowRoadVehViewWindow(const Vehicle *v); |
52 |
52 |
53 /* dock_gui.cpp */ |
53 /* dock_gui.cpp */ |
54 void ShowBuildDocksToolbar(); |
54 void ShowBuildDocksToolbar(); |
66 |
66 |
67 void PlaceProc_DemolishArea(TileIndex tile); |
67 void PlaceProc_DemolishArea(TileIndex tile); |
68 void PlaceProc_LevelLand(TileIndex tile); |
68 void PlaceProc_LevelLand(TileIndex tile); |
69 bool GUIPlaceProcDragXY(const WindowEvent *e); |
69 bool GUIPlaceProcDragXY(const WindowEvent *e); |
70 |
70 |
71 enum { // max 32 - 4 = 28 types |
71 /** Drag and drop selection process, or, what to do with an area of land when |
72 GUI_PlaceProc_DemolishArea = 0 << 4, |
72 * you've selected it. */ |
73 GUI_PlaceProc_LevelArea = 1 << 4, |
73 enum { |
74 GUI_PlaceProc_DesertArea = 2 << 4, |
74 DDSP_DEMOLISH_AREA, |
75 GUI_PlaceProc_WaterArea = 3 << 4, |
75 DDSP_LEVEL_AREA, |
76 GUI_PlaceProc_ConvertRailArea = 4 << 4, |
76 DDSP_CREATE_DESERT, |
77 GUI_PlaceProc_RockyArea = 5 << 4, |
77 DDSP_CREATE_ROCKS, |
|
78 DDSP_CREATE_WATER, |
|
79 DDSP_PLANT_TREES, |
|
80 DDSP_BUILD_BRIDGE, |
|
81 |
|
82 /* Rail specific actions */ |
|
83 DDSP_PLACE_RAIL_NE, |
|
84 DDSP_PLACE_RAIL_NW, |
|
85 DDSP_PLACE_AUTORAIL, |
|
86 DDSP_BUILD_SIGNALS, |
|
87 DDSP_BUILD_STATION, |
|
88 DDSP_REMOVE_STATION, |
|
89 DDSP_CONVERT_RAIL, |
|
90 |
|
91 /* Road specific actions */ |
|
92 DDSP_PLACE_ROAD_NE, |
|
93 DDSP_PLACE_ROAD_NW, |
78 }; |
94 }; |
79 |
95 |
80 /* misc_gui.cpp */ |
96 /* misc_gui.cpp */ |
81 void PlaceLandBlockInfo(); |
97 void PlaceLandBlockInfo(); |
82 void ShowAboutWindow(); |
98 void ShowAboutWindow(); |
136 VARDEF PlaceProc *_place_proc; |
152 VARDEF PlaceProc *_place_proc; |
137 |
153 |
138 /* vehicle_gui.cpp */ |
154 /* vehicle_gui.cpp */ |
139 void InitializeGUI(); |
155 void InitializeGUI(); |
140 |
156 |
|
157 void ShowPlayerGroup(PlayerID player, VehicleType veh); |
|
158 |
141 #endif /* GUI_H */ |
159 #endif /* GUI_H */ |