(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll'

This commit is contained in:
2007-05-28 16:46:16 +00:00
parent 1a8a44165b
commit 344e9007fe
10 changed files with 64 additions and 20 deletions

View File

@@ -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);