diff options
author | alberth <alberth@openttd.org> | 2010-12-24 15:08:19 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-12-24 15:08:19 +0000 |
commit | 852e647bcc892e3cf65990968b9ad200e83af435 (patch) | |
tree | 7d2f7591d2ffc3fecd614630c9ba733d6d828959 /src/tilehighlight_func.h | |
parent | 9a5cce382fb56ea91f95a56bc7b83b0ccbb69e1b (diff) | |
download | openttd-852e647bcc892e3cf65990968b9ad200e83af435.tar.xz |
(svn r21627) -Codechange: Remove _place_proc global variable.
Diffstat (limited to 'src/tilehighlight_func.h')
-rw-r--r-- | src/tilehighlight_func.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tilehighlight_func.h b/src/tilehighlight_func.h index 6f37c5579..3edef509a 100644 --- a/src/tilehighlight_func.h +++ b/src/tilehighlight_func.h @@ -15,11 +15,10 @@ #include "gfx_type.h" #include "tilehighlight_type.h" -typedef void PlaceProc(TileIndex tile); void PlaceProc_DemolishArea(TileIndex tile); bool GUIPlaceProcDragXY(ViewportDragDropSelectionProcess proc, TileIndex start_tile, TileIndex end_tile); -bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, HighLightStyle mode, PlaceProc *placeproc); +bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, HighLightStyle mode); void SetObjectToPlaceWnd(CursorID icon, PaletteID pal, HighLightStyle mode, Window *w); void SetObjectToPlace(CursorID icon, PaletteID pal, HighLightStyle mode, WindowClass window_class, WindowNumber window_num); void ResetObjectToPlace(); @@ -31,7 +30,6 @@ void VpSetPlaceSizingLimit(int limit); void UpdateTileSelection(); -extern PlaceProc *_place_proc; extern TileHighlightData _thd; #endif /* TILEHIGHLIGHT_FUNC_H */ |