(svn r3930) - [Patches] Change the GUI-patch options from indeces to string representations. Not only makes this the part more humanly readable, but saves us from rewriting the whole index when a patch is added/removed/changed
This commit is contained in:
@@ -76,7 +76,7 @@ static inline void *ini_get_variable(const SaveLoad *sld, const void *object)
|
||||
|
||||
void IConsoleSetPatchSetting(const char *name, const char *value);
|
||||
void IConsoleGetPatchSetting(const char *name);
|
||||
const SettingDesc *GetSettingDescription(uint index);
|
||||
const SettingDesc *GetPatchFromName(const char *name, uint *i);
|
||||
void SetPatchValue(uint index, const Patches *object, int32 value);
|
||||
|
||||
#endif /* SETTINGS_H */
|
||||
|
Reference in New Issue
Block a user