summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
diff options
context:
space:
mode:
authorJonathan G Rennison <j.g.rennison@gmail.com>2020-01-06 20:40:31 +0000
committerCharles Pigott <charlespigott@googlemail.com>2020-01-12 19:37:43 +0000
commitc3223903ed4f39abe8589355882b30b973da434e (patch)
tree9876dda172d7a076d7724efc52e21302bb7696a7 /src/viewport_func.h
parentf1734e7815653829d42ebd4def8c0d7d5aeae986 (diff)
downloadopenttd-c3223903ed4f39abe8589355882b30b973da434e.tar.xz
Codechange: Cache resolved town, station and industry name strings
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r--src/viewport_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h
index 0ac70b270..c47185323 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -74,6 +74,7 @@ bool ScrollMainWindowToTile(TileIndex tile, bool instant = false);
bool ScrollMainWindowTo(int x, int y, int z = -1, bool instant = false);
void UpdateAllVirtCoords();
+void ClearAllCachedNames();
extern Point _tile_fract_coords;