diff options
author | peter1138 <peter1138@openttd.org> | 2019-03-30 16:58:40 +0000 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-04-25 09:14:01 +0200 |
commit | 81f0f9740690d0f3307d946d848375e269c8d2ee (patch) | |
tree | c8d7133fd9a13c8fde8b8bc2e451918b1b925dcf /src/tilehighlight_type.h | |
parent | b6733edd172cb8488f81245addf613152f8a8015 (diff) | |
download | openttd-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.h | 2 |
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. |