src/gui.h
changeset 8634 5ffca02f9115
parent 8627 448ebf3a8291
child 8692 5408c091b204
--- a/src/gui.h	Tue Dec 25 18:25:25 2007 +0000
+++ b/src/gui.h	Tue Dec 25 23:42:52 2007 +0000
@@ -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 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 @@
 /* main_gui.cpp */
 void HandleOnEditText(const char *str);
 VARDEF bool _station_show_coverage;
-VARDEF PlaceProc *_place_proc;
 
 void InitializeGUI();