(svn r22210) -Add: Add a variable for the value strings in the settings tables.

This commit is contained in:
alberth
2011-03-06 15:51:44 +00:00
parent 02bf850d95
commit 9fe65f93fe
9 changed files with 127 additions and 89 deletions

View File

@@ -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
};