summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-17 13:54:05 +0000
committerfrosch <frosch@openttd.org>2010-10-17 13:54:05 +0000
commit12a7e2fde0b53f8d3042f3ee248522e921b80d72 (patch)
tree02c6933987292a4290a1a18e38e70b9a278d6494 /src/gui.h
parentbcd006e4fc5b85b4ab39930cc9eae1d7e6e947a4 (diff)
downloadopenttd-12a7e2fde0b53f8d3042f3ee248522e921b80d72.tar.xz
(svn r20962) -Fix [FS#4166](r20956): Determine tile under cursor before opening the new viewport. It might appear just below the cursor.
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui.h b/src/gui.h
index f896a290c..4385af452 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -66,6 +66,7 @@ enum WarningLevel {
void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel wl, int x = 0, int y = 0);
void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
+void ShowExtraViewPortWindowForTileUnderCursor();
/* bridge_gui.cpp */
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);