From af2b4ddf979da360a0dbbe04d756fdfeeb687470 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 17 Mar 2006 22:47:52 +0000 Subject: (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 --- settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings.h') diff --git a/settings.h b/settings.h index 0969ffe47..1c95601da 100644 --- a/settings.h +++ b/settings.h @@ -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 */ -- cgit v1.2.3-54-g00ecf