18 |
18 |
19 bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc); |
19 bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc); |
20 void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w); |
20 void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w); |
21 void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num); |
21 void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num); |
22 |
22 |
|
23 void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method); |
|
24 void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, ViewportDragDropSelectionProcess process); |
|
25 void VpSetPresizeRange(TileIndex from, TileIndex to); |
|
26 void VpSetPlaceSizingLimit(int limit); |
|
27 |
23 extern PlaceProc *_place_proc; |
28 extern PlaceProc *_place_proc; |
24 extern TileHighlightData _thd; |
29 extern TileHighlightData _thd; |
25 |
30 |
26 #endif /* TILEHIGHLIGHT_FUNC_H */ |
31 #endif /* TILEHIGHLIGHT_FUNC_H */ |