diff options
author | yexo <yexo@openttd.org> | 2010-01-28 23:17:28 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-28 23:17:28 +0000 |
commit | d75b9f1642f24dd3336437d818b41c2a6d295905 (patch) | |
tree | db80d07dbbae17ffbfbb6507256a33d4db4a2905 /src/settings_func.h | |
parent | fa01b25f740d92ffa74de4bc630ca42cdc8046a0 (diff) | |
download | openttd-d75b9f1642f24dd3336437d818b41c2a6d295905.tar.xz |
(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting)
Diffstat (limited to 'src/settings_func.h')
-rw-r--r-- | src/settings_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_func.h b/src/settings_func.h index 29c9ad836..65fca20f8 100644 --- a/src/settings_func.h +++ b/src/settings_func.h @@ -15,9 +15,9 @@ #include "core/smallvec_type.hpp" #include "company_type.h" -void IConsoleSetSetting(const char *name, const char *value); +void IConsoleSetSetting(const char *name, const char *value, bool force_newgame = false); void IConsoleSetSetting(const char *name, int32 value); -void IConsoleGetSetting(const char *name); +void IConsoleGetSetting(const char *name, bool force_newgame = false); void IConsoleListSettings(const char *prefilter); void LoadFromConfig(); |