diff options
author | frosch <frosch@openttd.org> | 2012-12-26 17:47:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-26 17:47:02 +0000 |
commit | c4c3d00578a777f6782cc0478096266148402aac (patch) | |
tree | 9aa1b1dd45e3b1ae8bf94e395254c8826404b263 /src/script/api | |
parent | dbe46698ff3798f24f14fa9c4d7a210927dc080d (diff) | |
download | openttd-c4c3d00578a777f6782cc0478096266148402aac.tar.xz |
(svn r24862) -Add: Settings type filter to adv. settings GUI.
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/game/game_window.hpp.sq | 1 | ||||
-rw-r--r-- | src/script/api/script_window.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq index 4702f672d..51a281553 100644 --- a/src/script/api/game/game_window.hpp.sq +++ b/src/script/api/game/game_window.hpp.sq @@ -988,6 +988,7 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GS_COLLAPSE_ALL, "WID_GS_COLLAPSE_ALL"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GS_RESTRICT_LABEL, "WID_GS_RESTRICT_LABEL"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GS_RESTRICT_DROPDOWN, "WID_GS_RESTRICT_DROPDOWN"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GS_TYPE_DROPDOWN, "WID_GS_TYPE_DROPDOWN"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CC_RATE_DOWN, "WID_CC_RATE_DOWN"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CC_RATE_UP, "WID_CC_RATE_UP"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CC_RATE, "WID_CC_RATE"); diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index 679e43add..e3f8740ba 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -2089,6 +2089,7 @@ public: WID_GS_COLLAPSE_ALL = ::WID_GS_COLLAPSE_ALL, ///< Collapse all button. WID_GS_RESTRICT_LABEL = ::WID_GS_RESTRICT_LABEL, ///< Label upfront to drop down box to restrict the list of settings to show WID_GS_RESTRICT_DROPDOWN = ::WID_GS_RESTRICT_DROPDOWN, ///< The drop down box to restrict the list of settings + WID_GS_TYPE_DROPDOWN = ::WID_GS_TYPE_DROPDOWN, ///< The drop down box to choose client/game/company/all settings }; /** Widgets of the #CustomCurrencyWindow class. */ |