Add console command to list settings and show current and default values

This commit is contained in:
Jonathan G Rennison
2023-04-17 20:41:57 +01:00
parent e7687da4cc
commit e862a67d2b
4 changed files with 47 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ struct IniFile;
void IConsoleSetSetting(const char *name, const char *value, bool force_newgame = false);
void IConsoleSetSetting(const char *name, int32 value);
void IConsoleGetSetting(const char *name, bool force_newgame = false);
void IConsoleListSettings(const char *prefilter);
void IConsoleListSettings(const char *prefilter, bool show_defaults);
void LoadFromConfig(bool minimal = false);
void SaveToConfig();