diff options
author | rubidium <rubidium@openttd.org> | 2009-09-09 15:11:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-09 15:11:46 +0000 |
commit | 324389cf0b96cf686c2f824b3da249efdbbbd243 (patch) | |
tree | 73e3014a1e1b22ccfeab89edd9305c3780cd72e2 /src/table/settings.h | |
parent | a8070263366171208f93f9e0613ddb3e717cbf3d (diff) | |
download | openttd-324389cf0b96cf686c2f824b3da249efdbbbd243.tar.xz |
(svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'.
Diffstat (limited to 'src/table/settings.h')
-rw-r--r-- | src/table/settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h index 1f832dbc6..ceebac0ea 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -574,6 +574,13 @@ const SettingDesc _settings[] = { SDTC_BOOL(gui.persistent_buildingtools, S, 0, false, STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS, NULL), SDTC_BOOL(gui.expenses_layout, S, 0, false, STR_CONFIG_SETTING_EXPENSES_LAYOUT, RedrawScreen), +/* For the dedicated build we'll enable dates in logs by default. */ +#ifdef DEDICATED + SDTC_BOOL(gui.show_date_in_logs, S, 0, true, STR_NULL, NULL), +#else + SDTC_BOOL(gui.show_date_in_logs, S, 0, false, STR_NULL, NULL), +#endif + 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 |