(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.

This commit is contained in:
rubidium
2008-08-24 13:50:31 +00:00
parent a4854aaddc
commit ae32d158cb
7 changed files with 440 additions and 399 deletions

View File

@@ -78,11 +78,6 @@ struct SettingDesc {
* offset in a certain struct */
typedef SettingDesc SettingDescGlobVarList;
enum IniGroupType {
IGT_VARIABLES = 0, ///< values of the form "landscape = hilly"
IGT_LIST = 1, ///< a list of values, seperated by \n and terminated by the next group block
};
const SettingDesc *GetPatchFromName(const char *name, uint *i);
bool SetPatchValue(uint index, int32 value);
bool SetPatchValue(uint index, const char *value);