summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-25 23:42:52 +0000
committerrubidium <rubidium@openttd.org>2007-12-25 23:42:52 +0000
commitaac835171e2ef3b72e3706754153c1b9304268a8 (patch)
tree070c07001872a2ff901cc931aa615cd0c58aca13 /src/gui.h
parent6cb68b9144a3c0cd22b4fd3392c519a4217b2f72 (diff)
downloadopenttd-aac835171e2ef3b72e3706754153c1b9304268a8.tar.xz
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui.h b/src/gui.h
index 5736821e8..4d2a0cf70 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -9,6 +9,7 @@
#include "vehicle_type.h"
#include "gfx_type.h"
#include "economy_type.h"
+#include "tile_type.h"
/* main_gui.cpp */
void CcPlaySound10(bool success, TileIndex tile, uint32 p1, uint32 p2);
@@ -52,10 +53,12 @@ void ShowTerraformToolbar(Window *link = NULL);
void ShowGenerateLandscape();
void ShowHeightmapLoad();
+typedef void PlaceProc(TileIndex tile);
void PlaceProc_DemolishArea(TileIndex tile);
void PlaceProc_LevelLand(TileIndex tile);
void PlaceProc_BuyLand(TileIndex tile);
bool GUIPlaceProcDragXY(const WindowEvent *e);
+VARDEF PlaceProc *_place_proc;
/** Drag and drop selection process, or, what to do with an area of land when
* you've selected it. */
@@ -121,7 +124,6 @@ void ShowMusicWindow();
/* main_gui.cpp */
void HandleOnEditText(const char *str);
VARDEF bool _station_show_coverage;
-VARDEF PlaceProc *_place_proc;
void InitializeGUI();