|
OpenTTD Source 20260614-master-g1baea6b0fb
|
Implementation of ScriptInfo. More...
#include "../stdafx.h"#include "../settings_type.h"#include "squirrel_helper.hpp"#include "script_info.hpp"#include "script_scanner.hpp"#include "../core/string_consumer.hpp"#include "../3rdparty/fmt/format.h"#include "../safeguards.h"Go to the source code of this file.
Typedefs | |
| using | ScriptConfigItemKeys = EnumBitSet<ScriptConfigItemKey, uint8_t> |
Enumerations | |
| enum class | ScriptConfigItemKey : uint8_t { Name , Description , MinValue , MaxValue , MediumValue , DefaultValue , Flags } |
| Configuration items for a script. More... | |
Implementation of ScriptInfo.
Definition in file script_info.cpp.
| using ScriptConfigItemKeys = EnumBitSet<ScriptConfigItemKey, uint8_t> |
Definition at line 97 of file script_info.cpp.
|
strong |
Configuration items for a script.
| Enumerator | |
|---|---|
| Name | Name of the configuration. |
| Description | Description. |
| MinValue | Minimum value. |
| MaxValue | Maximum value. |
| MediumValue | Used for reading the old medium difficulty setting, which is used as default when that does not exist. |
| DefaultValue | Default value when nothing is entered. |
| Flags | ScriptConfigFlags defining how/when to use this configuration. |
Definition at line 88 of file script_info.cpp.