(svn r25291) -Add: WindowDesc ability to load and store information in a config file.

This commit is contained in:
frosch
2013-05-26 19:27:22 +00:00
parent 8157a8afd8
commit 23ba42b66c
11 changed files with 140 additions and 3 deletions

View File

@@ -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;