summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-21 07:38:36 +0000
committerrubidium <rubidium@openttd.org>2007-12-21 07:38:36 +0000
commita6b1526c13506c47e892f1b66e2445c7a7e2beed (patch)
treefff45a0d36f14044846f8b90ef3a59e442c80c6d /src/gui.h
parent30c0d6da99c66ab82a459a5ab4e5d730c16f6dfd (diff)
downloadopenttd-a6b1526c13506c47e892f1b66e2445c7a7e2beed.tar.xz
(svn r11672) -Codechange: refactor some stuff out of gui.h.
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/gui.h b/src/gui.h
index 53e9d5e58..e492a593f 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -7,9 +7,6 @@
#include "string.h"
#include "window_type.h"
-#include "rail_type.h"
-#include "road_type.h"
-#include "vehicle_type.h"
/* main_gui.cpp */
void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2);
@@ -37,18 +34,9 @@ void ShowLastNewsMessage();
void ShowMessageOptions();
void ShowMessageHistory();
-/* rail_gui.cpp */
-void ShowBuildRailToolbar(RailType railtype, int button);
-void PlaceProc_BuyLand(TileIndex tile);
-void ReinitGuiAfterToggleElrail(bool disable);
-
/* train_gui.cpp */
void ShowOrdersWindow(const Vehicle *v);
-/* road_gui.cpp */
-void ShowBuildRoadToolbar(RoadType roadtype);
-void ShowBuildRoadScenToolbar();
-
/* dock_gui.cpp */
void ShowBuildDocksToolbar();
@@ -64,6 +52,7 @@ void ShowHeightmapLoad();
void PlaceProc_DemolishArea(TileIndex tile);
void PlaceProc_LevelLand(TileIndex tile);
+void PlaceProc_BuyLand(TileIndex tile);
bool GUIPlaceProcDragXY(const WindowEvent *e);
/** Drag and drop selection process, or, what to do with an area of land when
@@ -132,9 +121,6 @@ void HandleOnEditText(const char *str);
VARDEF bool _station_show_coverage;
VARDEF PlaceProc *_place_proc;
-/* vehicle_gui.cpp */
void InitializeGUI();
-void ShowPlayerGroup(PlayerID player, VehicleType veh);
-
#endif /* GUI_H */