summaryrefslogtreecommitdiff
path: root/src/tilehighlight_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-03-30 16:58:40 +0000
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-04-25 09:14:01 +0200
commit81f0f9740690d0f3307d946d848375e269c8d2ee (patch)
treec8d7133fd9a13c8fde8b8bc2e451918b1b925dcf /src/tilehighlight_type.h
parentb6733edd172cb8488f81245addf613152f8a8015 (diff)
downloadopenttd-81f0f9740690d0f3307d946d848375e269c8d2ee.tar.xz
Feature: Add existing station coverage area display when placing new station parts.
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 3d64248df..f1109bf2e 100644
--- a/src/tilehighlight_type.h
+++ b/src/tilehighlight_type.h
@@ -52,6 +52,8 @@ struct TileHighlightData {
Point outersize; ///< Size, in tile "units", of the blue coverage area excluding the side of the selected area.
bool diagonal; ///< Whether the dragged area is a 45 degrees rotated rectangle.
+ bool freeze; ///< Freeze highlight in place.
+
Point new_pos; ///< New value for \a pos; used to determine whether to redraw the selection.
Point new_size; ///< New value for \a size; used to determine whether to redraw the selection.
Point new_outersize; ///< New value for \a outersize; used to determine whether to redraw the selection.