diff options
author | rubidium <rubidium@openttd.org> | 2009-02-08 12:25:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-08 12:25:13 +0000 |
commit | 283b3d16abc76f722f96d74ca92423a85ebdbf23 (patch) | |
tree | 5b7c7c6ed12ff58167007d93a309a4a340ebdf6b /src/settings_internal.h | |
parent | 9eee0a6a81fa4c7ff9c442c3f72c509d96d725c9 (diff) | |
download | openttd-283b3d16abc76f722f96d74ca92423a85ebdbf23.tar.xz |
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r-- | src/settings_internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h index 07ec41700..192073799 100644 --- a/src/settings_internal.h +++ b/src/settings_internal.h @@ -57,7 +57,7 @@ struct SettingDescBase { SettingDescType cmd; ///< various flags for the variable SettingGuiFlag flags; ///< handles how a setting would show up in the GUI (text/currency, etc.) int32 min, max; ///< minimum and maximum values - int32 interval; ///< the interval to use between settings in the 'patches' window. If interval is '0' the interval is dynamically determined + int32 interval; ///< the interval to use between settings in the 'settings' window. If interval is '0' the interval is dynamically determined const char *many; ///< ONE/MANY_OF_MANY: string of possible values for this type StringID str; ///< (translated) string with descriptive text; gui and console OnChange *proc; ///< callback procedure for when the value is changed @@ -78,8 +78,8 @@ struct SettingDesc { * offset in a certain struct */ typedef SettingDesc SettingDescGlobVarList; -const SettingDesc *GetPatchFromName(const char *name, uint *i); -bool SetPatchValue(uint index, int32 value); -bool SetPatchValue(uint index, const char *value); +const SettingDesc *GetSettingFromName(const char *name, uint *i); +bool SetSettingValue(uint index, int32 value); +bool SetSettingValue(uint index, const char *value); #endif /* SETTINGS_H */ |