(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)

This commit is contained in:
yexo
2010-01-28 23:17:28 +00:00
parent fa01b25f74
commit d75b9f1642
4 changed files with 37 additions and 8 deletions

View File

@@ -85,7 +85,7 @@ struct SettingDesc {
typedef SettingDesc SettingDescGlobVarList;
const SettingDesc *GetSettingFromName(const char *name, uint *i);
bool SetSettingValue(uint index, int32 value);
bool SetSettingValue(uint index, int32 value, bool force_newgame = false);
bool SetSettingValue(uint index, const char *value);
void SetCompanySetting(uint index, int32 value);