summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-06 15:51:44 +0000
committeralberth <alberth@openttd.org>2011-03-06 15:51:44 +0000
commit9fe65f93fea28f573160b85cbcf9505c0d9b2e3b (patch)
treeea3b13219379a1db9c9126edc528a41f6b819207 /src/settings_internal.h
parent02bf850d95c5755677c5839ace3500859a73b7be (diff)
downloadopenttd-9fe65f93fea28f573160b85cbcf9505c0d9b2e3b.tar.xz
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r--src/settings_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index 7dca0332f..f4444a9b4 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -69,6 +69,7 @@ struct SettingDescBase {
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
+ StringID val_str; ///< (translated) first string describing the value.
OnChange *proc; ///< callback procedure for when the value is changed
OnConvert *proc_cnvt; ///< callback procedure when loading value mechanism fails
};