diff options
author | frosch <frosch@openttd.org> | 2013-05-26 19:27:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-05-26 19:27:22 +0000 |
commit | 23ba42b66ccf915230cab163cdeca19db6e95f76 (patch) | |
tree | eea2f6daffe6fc9283487ed3736dde80ebc87825 /src/settings_func.h | |
parent | 8157a8afd814cb24aaaa4c725817c864e0c583c6 (diff) | |
download | openttd-23ba42b66ccf915230cab163cdeca19db6e95f76.tar.xz |
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
Diffstat (limited to 'src/settings_func.h')
-rw-r--r-- | src/settings_func.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings_func.h b/src/settings_func.h index c6f0892c7..3b3387b5f 100644 --- a/src/settings_func.h +++ b/src/settings_func.h @@ -15,6 +15,8 @@ #include "core/smallvec_type.hpp" #include "company_type.h" +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); @@ -24,6 +26,9 @@ void LoadFromConfig(bool minimal = false); void SaveToConfig(); void CheckConfig(); +void IniLoadWindowSettings(IniFile *ini, const char *grpname, void *desc); +void IniSaveWindowSettings(IniFile *ini, const char *grpname, void *desc); + /* Functions to load and save NewGRF settings to a separate * configuration file, used for presets. */ typedef AutoFreeSmallVector<char *, 4> GRFPresetList; |