equal
deleted
inserted
replaced
76 * has been passed to the function or not. If not, then it is a global variable |
76 * has been passed to the function or not. If not, then it is a global variable |
77 * and save->variable has its address, otherwise save->variable only holds the |
77 * and save->variable has its address, otherwise save->variable only holds the |
78 * offset in a certain struct */ |
78 * offset in a certain struct */ |
79 typedef SettingDesc SettingDescGlobVarList; |
79 typedef SettingDesc SettingDescGlobVarList; |
80 |
80 |
81 enum IniGroupType { |
|
82 IGT_VARIABLES = 0, ///< values of the form "landscape = hilly" |
|
83 IGT_LIST = 1, ///< a list of values, seperated by \n and terminated by the next group block |
|
84 }; |
|
85 |
|
86 const SettingDesc *GetPatchFromName(const char *name, uint *i); |
81 const SettingDesc *GetPatchFromName(const char *name, uint *i); |
87 bool SetPatchValue(uint index, int32 value); |
82 bool SetPatchValue(uint index, int32 value); |
88 bool SetPatchValue(uint index, const char *value); |
83 bool SetPatchValue(uint index, const char *value); |
89 |
84 |
90 #endif /* SETTINGS_H */ |
85 #endif /* SETTINGS_H */ |