src/tilehighlight_func.h
changeset 9147 d9ec5ed630ff
parent 9127 14f21c5954ee
child 9148 ba0f18cfc795
equal deleted inserted replaced
9146:dbe2317185eb 9147:d9ec5ed630ff
    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 */