Changes between Version 5 and Version 6 of code/doc/CoreIncludes
- Timestamp:
- Feb 27, 2008, 6:58:37 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/CoreIncludes
v5 v6 17 17 18 18 * '''Config-values''': 19 * '''!SetConfigValue('''''varname''''', '''''defvalue''''')''': Defines a [wiki:ConfigValueContainer configurable] variable with a default-value that can be changed in the config-file. ''varname'' must be a member-variable of a class and the macro should only be used in the setConfigValues() function of this class to allow ingame-changes of the values. 19 * '''!SetConfigValue('''''varname''''', '''''defvalue''''')''': Defines a [wiki:ConfigValueContainer configurable] variable with a default-value that can be changed in the config-file. ''varname'' must be a member-variable of a class and the macro should only be used in the setConfigValues() function of this class to allow ingame-changes of the values. Read the Wiki-page of [wiki:ConfigValueContainer] for further informations. 20 20 * '''!ResetConfigValue('''''varname''''')''': Sets the given config-value back to the default-value (see !SetConfigValue(varname, defvalue)).