diff options
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/functions.h b/src/functions.h index 2540843da..12cf9deb8 100644 --- a/src/functions.h +++ b/src/functions.h @@ -131,10 +131,10 @@ void SetObjectToPlace(CursorID icon, SpriteID pal, byte mode, WindowClass window void ResetObjectToPlace(); -bool ScrollWindowTo(int x, int y, Window * w); +bool ScrollWindowTo(int x, int y, Window * w, bool instant = false); -bool ScrollMainWindowToTile(TileIndex tile); -bool ScrollMainWindowTo(int x, int y); +bool ScrollMainWindowToTile(TileIndex tile, bool instant = false); +bool ScrollMainWindowTo(int x, int y, bool instant = false); void DrawSprite(SpriteID img, SpriteID pal, int x, int y); bool EnsureNoVehicle(TileIndex tile); bool EnsureNoVehicleOnGround(TileIndex tile); |