summaryrefslogtreecommitdiff
path: root/src/tilehighlight_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-08 13:21:55 +0000
committerrubidium <rubidium@openttd.org>2008-05-08 13:21:55 +0000
commitcabd771fc0b99d42aaa7e172172ad39211933461 (patch)
tree5b59a1c33296df3cf6d606314b7975d74eed399c /src/tilehighlight_func.h
parente48a351f8e006b19d9e2c7bf9ef672a1e141d85f (diff)
downloadopenttd-cabd771fc0b99d42aaa7e172172ad39211933461.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.h5
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;