summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-13 19:33:07 +0000
committerrubidium <rubidium@openttd.org>2009-12-13 19:33:07 +0000
commit0e78fdb54cd4805e5470e071e42ce17804efd02e (patch)
treebe409f44d9d3541384a30f0f7994df7351fd0bec /src/viewport_func.h
parent43abfbd426d7437535ecd8edf0d9c75990c6917b (diff)
downloadopenttd-0e78fdb54cd4805e5470e071e42ce17804efd02e.tar.xz
(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r--src/viewport_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h
index b8eb706d2..2f631a55f 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -70,6 +70,8 @@ bool ScrollWindowTo(int x, int y, int z, Window *w, bool instant = false);
bool ScrollMainWindowToTile(TileIndex tile, bool instant = false);
bool ScrollMainWindowTo(int x, int y, int z = -1, bool instant = false);
+void UpdateAllVirtCoords();
+
extern Point _tile_fract_coords;
#endif /* VIEWPORT_FUNC_H */