summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
committerrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
commit377ce6c5bf1bc98087a83cd906dd14223668acef (patch)
tree5b7c7c6ed12ff58167007d93a309a4a340ebdf6b /src/settings_internal.h
parent27105127f6f9161e42f9e329e2db8ea417558c9f (diff)
downloadopenttd-377ce6c5bf1bc98087a83cd906dd14223668acef.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.h8
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 */