OpenTTD Source
20241121-master-g67a0fccfad
|
Info about a single Script setting. More...
#include <script_config.hpp>
Data Fields | |
std::string | name |
The name of the configuration setting. | |
std::string | description |
The description of the configuration setting. | |
int | min_value = 0 |
The minimal value this configuration setting can have. | |
int | max_value = 1 |
The maximal value this configuration setting can have. | |
int | default_value = 0 |
The default value of this configuration setting. | |
int | step_size = 1 |
The step size in the gui. | |
ScriptConfigFlags | flags = SCRIPTCONFIG_NONE |
Flags for the configuration setting. | |
LabelMapping | labels |
Text labels for the integer values. | |
bool | complete_labels = false |
True if all values have a label. | |
Info about a single Script setting.
Definition at line 32 of file script_config.hpp.