diff options
author | alberth <alberth@openttd.org> | 2010-10-23 20:39:21 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-10-23 20:39:21 +0000 |
commit | 83094e5e58f5674df04e204ba946315da25fad3c (patch) | |
tree | d67362685f0da1672b03d76ae0e13e1f831ceb48 /src/viewport_func.h | |
parent | cccbc8f418b578d4ad378e5c0570b7f473391ce8 (diff) | |
download | openttd-83094e5e58f5674df04e204ba946315da25fad3c.tar.xz |
(svn r21020) -Add: Use center of waypoint in waypoint gui, if available.
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r-- | src/viewport_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h index 1e3c77107..cc90a93b2 100644 --- a/src/viewport_func.h +++ b/src/viewport_func.h @@ -64,6 +64,7 @@ void SetTileSelectBigSize(int ox, int oy, int sx, int sy); void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom); +bool ScrollWindowToTile(TileIndex tile, Window *w, bool instant = false); bool ScrollWindowTo(int x, int y, int z, Window *w, bool instant = false); bool ScrollMainWindowToTile(TileIndex tile, bool instant = false); |