diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 13:21:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 13:21:55 +0000 |
commit | 8b9ffbe15824cc0ca405e5c3ed49a276995a9739 (patch) | |
tree | 5b59a1c33296df3cf6d606314b7975d74eed399c /src/tilehighlight_func.h | |
parent | a28ea3865385e519026224076b8dc479e13010a0 (diff) | |
download | openttd-8b9ffbe15824cc0ca405e5c3ed49a276995a9739.tar.xz |
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
Diffstat (limited to 'src/tilehighlight_func.h')
-rw-r--r-- | src/tilehighlight_func.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tilehighlight_func.h b/src/tilehighlight_func.h index 13278aa5f..3789134b1 100644 --- a/src/tilehighlight_func.h +++ b/src/tilehighlight_func.h @@ -20,6 +20,11 @@ bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighl void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w); void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num); +void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method); +void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, ViewportDragDropSelectionProcess process); +void VpSetPresizeRange(TileIndex from, TileIndex to); +void VpSetPlaceSizingLimit(int limit); + extern PlaceProc *_place_proc; extern TileHighlightData _thd; |