diff options
author | rubidium <rubidium@openttd.org> | 2007-12-25 23:42:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-25 23:42:52 +0000 |
commit | aac835171e2ef3b72e3706754153c1b9304268a8 (patch) | |
tree | 070c07001872a2ff901cc931aa615cd0c58aca13 /src/gui.h | |
parent | 6cb68b9144a3c0cd22b4fd3392c519a4217b2f72 (diff) | |
download | openttd-aac835171e2ef3b72e3706754153c1b9304268a8.tar.xz |
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |