Feature: Add existing station coverage area display when placing new station parts.

This commit is contained in:
peter1138
2019-03-30 16:58:40 +00:00
committed by Niels Martin Hansen
parent b6733edd17
commit 81f0f97406
7 changed files with 88 additions and 0 deletions

View File

@@ -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.