summaryrefslogtreecommitdiff
path: root/src/tilehighlight_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-30 15:32:31 +0000
committeralberth <alberth@openttd.org>2010-12-30 15:32:31 +0000
commit661e13a86af45f88bc0fd7d8c045f66ceddd041e (patch)
treed3665937edc2ba2aefd1f4dfd4372852cf991d1c /src/tilehighlight_type.h
parentcedb07bba3c885b5812244f02bdf5cee3e9cc05f (diff)
downloadopenttd-661e13a86af45f88bc0fd7d8c045f66ceddd041e.tar.xz
(svn r21667) -Codechange: Introduce _thd.Reset().
Diffstat (limited to 'src/tilehighlight_type.h')
-rw-r--r--src/tilehighlight_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tilehighlight_type.h b/src/tilehighlight_type.h
index 0e9ce8bc6..a37b97d97 100644
--- a/src/tilehighlight_type.h
+++ b/src/tilehighlight_type.h
@@ -74,6 +74,8 @@ struct TileHighlightData {
ViewportPlaceMethod select_method; ///< The method which governs how tiles are selected.
ViewportDragDropSelectionProcess select_proc; ///< The procedure that has to be called when the selection is done.
+ void Reset();
+
bool IsDraggingDiagonal();
Window *GetCallbackWnd();
};