diff options
author | darkvater <darkvater@openttd.org> | 2004-09-03 19:59:05 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-03 19:59:05 +0000 |
commit | 4fec362b32801648da47340a127908643ef9cb5d (patch) | |
tree | 3520ffc76fe6adcce29cac5bbd06de35ff5f53a5 /functions.h | |
parent | 4bf6ad14061c9ee57518aa0b5f56163e2624a648 (diff) | |
download | openttd-4fec362b32801648da47340a127908643ef9cb5d.tar.xz |
(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.h b/functions.h index 7c39c8a31..9cb23d52a 100644 --- a/functions.h +++ b/functions.h @@ -185,6 +185,10 @@ void SetObjectToPlaceWnd(int icon, byte mode, Window *w); void SetObjectToPlace(int icon, byte mode, byte window_class, uint16 window_num); void ResetObjectToPlace(); + +bool ScrollWindowToTile(TileIndex tile, Window * w); +bool ScrollWindowTo(int x, int y, Window * w); + bool ScrollMainWindowToTile(TileIndex tile); bool ScrollMainWindowTo(int x, int y); void DrawSprite(uint32 img, int x, int y); @@ -246,7 +250,6 @@ void ttd_strlcpy(char *dst, const char *src, size_t len); // callback from drivers that is called if the game size changes dynamically void GameSizeChanged(); -void ZoomInOrOutToCursor(bool in); bool MakeScreenshot(); bool MakeWorldScreenshot(int left, int top, int width, int height, int zoom); bool FileExists(const char *filename); |