|
OpenTTD Source
13.2.1
|
#include <map>#include <list>#include "../core/smallmap_type.hpp"#include "../core/string_compare_type.hpp"#include "../company_type.h"#include "../textfile_gui.h"#include "script_instance.hpp"Go to the source code of this file.
Data Structures | |
| struct | ScriptConfigItem |
| Info about a single Script setting. More... | |
| class | ScriptConfig |
| Script settings. More... | |
Typedefs | |
| typedef SmallMap< int, char * > | LabelMapping |
| Map-type used to map the setting numbers to labels. | |
| typedef std::list< ScriptConfigItem > | ScriptConfigItemList |
| List of ScriptConfig items. | |
Enumerations | |
| enum | ScriptConfigFlags { SCRIPTCONFIG_NONE = 0x0, SCRIPTCONFIG_RANDOM = 0x1, SCRIPTCONFIG_BOOLEAN = 0x2, SCRIPTCONFIG_INGAME = 0x4, SCRIPTCONFIG_DEVELOPER = 0x8 } |
| Bitmask of flags for Script settings. More... | |
Variables | |
| static const int | INT32_DIGITS_WITH_SIGN_AND_TERMINATION = 10 + 1 + 1 |
| Maximum of 10 digits for MIN / MAX_INT32, 1 for the sign and 1 for '\0'. | |
| ScriptConfigItem | _start_date_config |
| Configuration for AI start date, every AI has this setting. | |
ScriptConfig stores the configuration settings of every Script.
Definition in file script_config.hpp.
| enum ScriptConfigFlags |
Bitmask of flags for Script settings.
Definition at line 25 of file script_config.hpp.