summaryrefslogtreecommitdiff
path: root/settings.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-17 22:47:52 +0000
committerDarkvater <darkvater@openttd.org>2006-03-17 22:47:52 +0000
commitaf2b4ddf979da360a0dbbe04d756fdfeeb687470 (patch)
tree7226266f5a44a2a0cd76f94a25f5e53633eb351c /settings.h
parent1536477fadfbaafbcfbe70166caf502b7dd23bad (diff)
downloadopenttd-af2b4ddf979da360a0dbbe04d756fdfeeb687470.tar.xz
(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
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h2
1 files changed, 1 insertions, 1 deletions
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 */