summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-07-31 14:40:50 +0000
committerrubidium <rubidium@openttd.org>2010-07-31 14:40:50 +0000
commitac280af8bc75f89223238a77f871b1a610014219 (patch)
treef11e8dde3c5e08a29824a11429eb573a3373302a /src/table
parent5a2862814ac310e5e4629e0242def8ebf3a6da1c (diff)
downloadopenttd-ac280af8bc75f89223238a77f871b1a610014219.tar.xz
(svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index dbfc87ce0..255c7055e 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -611,6 +611,7 @@ const SettingDesc _settings[] = {
SDTC_VAR(gui.developer, SLE_UINT8, S, 0, 1, 0, 2, 0, STR_NULL, NULL),
SDTC_BOOL(gui.newgrf_developer_tools, S, 0, false, STR_NULL, ReinitWindows),
SDTC_BOOL(gui.ai_developer_tools, S, 0, false, STR_NULL, NULL),
+ SDTC_BOOL(gui.newgrf_show_old_versions, S, 0, false, STR_NULL, NULL),
SDTC_VAR(gui.console_backlog_timeout, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
SDTC_VAR(gui.console_backlog_length, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
#ifdef ENABLE_NETWORK