summaryrefslogtreecommitdiff
path: root/src/script/api/game
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-01-05 20:03:15 +0000
committerfrosch <frosch@openttd.org>2012-01-05 20:03:15 +0000
commitfa0949577ecf6b6a5df5bc640160728e64d5ce1a (patch)
tree17afe927415415770b90a6b287f1118633417927 /src/script/api/game
parent597ef4e7b18555027ed3db25b43392f3d33f190e (diff)
downloadopenttd-fa0949577ecf6b6a5df5bc640160728e64d5ce1a.tar.xz
(svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited.
Diffstat (limited to 'src/script/api/game')
-rw-r--r--src/script/api/game/game_window.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq
index 6b7578a0d..084a72471 100644
--- a/src/script/api/game/game_window.hpp.sq
+++ b/src/script/api/game/game_window.hpp.sq
@@ -771,6 +771,7 @@ void SQGSWindow_Register(Squirrel *engine)
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_OPEN_URL, "WID_NS_OPEN_URL");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_NEWGRF_TEXTFILE, "WID_NS_NEWGRF_TEXTFILE");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_SET_PARAMETERS, "WID_NS_SET_PARAMETERS");
+ SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_VIEW_PARAMETERS, "WID_NS_VIEW_PARAMETERS");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_TOGGLE_PALETTE, "WID_NS_TOGGLE_PALETTE");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_APPLY_CHANGES, "WID_NS_APPLY_CHANGES");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NS_RESCAN_FILES, "WID_NS_RESCAN_FILES");