summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorGabda <gabda87@gmail.com>2019-01-05 14:22:07 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-08-17 21:45:20 +0100
commitb870596f153c17d9aa915ca67b8f6414d73cb31f (patch)
treee1d321b8a5987a6a4511b61e160b73af890a332a /src/script
parentd986f01d078553640528e2d334627bf552a60931 (diff)
downloadopenttd-b870596f153c17d9aa915ca67b8f6414d73cb31f.tar.xz
Add #6887: Option to show zone inside local authority boundary of towns
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 3abc091d6..252cb3e54 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -2495,6 +2495,7 @@ public:
/** Widgets of the #TownAuthorityWindow class. */
enum TownAuthorityWidgets {
WID_TA_CAPTION = ::WID_TA_CAPTION, ///< Caption of window.
+ WID_TA_ZONE_BUTTON = ::WID_TA_ZONE_BUTTON, ///< Turn on/off showing local authority zone.
WID_TA_RATING_INFO = ::WID_TA_RATING_INFO, ///< Overview with ratings for each company.
WID_TA_COMMAND_LIST = ::WID_TA_COMMAND_LIST, ///< List of commands for the player.
WID_TA_SCROLLBAR = ::WID_TA_SCROLLBAR, ///< Scrollbar of the list of commands.