|
OpenTTD Source 20260917-master-gec444f7315
|
Container for holding some default VarType instances.
More...
#include <saveload.h>
Static Public Attributes | |
| static constexpr VarType | BOOL { VarFileType::Bool, VarMemType::Bool } |
| Store a boolean (as int8). | |
| static constexpr VarType | I8 { VarFileType::I8, VarMemType::I8 } |
| Store a 8 bits signed int. | |
| static constexpr VarType | U8 { VarFileType::U8, VarMemType::U8 } |
| Store a 8 bits unsigned int. | |
| static constexpr VarType | I16 { VarFileType::I16, VarMemType::I16 } |
| Store a 16 bits signed int. | |
| static constexpr VarType | U16 { VarFileType::U16, VarMemType::U16 } |
| Store a 16 bits unsigned int. | |
| static constexpr VarType | I32 { VarFileType::I32, VarMemType::I32 } |
| Store a 32 bits signed int. | |
| static constexpr VarType | U32 { VarFileType::U32, VarMemType::U32 } |
| Store a 32 bits unsigned int. | |
| static constexpr VarType | I64 { VarFileType::I64, VarMemType::I64 } |
| Store a 64 bits signed int. | |
| static constexpr VarType | U64 { VarFileType::U64, VarMemType::U64 } |
| Store a 64 bits unsigned int. | |
| static constexpr VarType | STRINGID { VarFileType::StringID, VarMemType::U32 } |
| Store a StringID. | |
| static constexpr VarType | STR { VarFileType::String, VarMemType::Str } |
| Store string. | |
| static constexpr VarType | NAME { VarFileType::StringID, VarMemType::Name } |
| A string stored in the custom string array. | |
| static constexpr VarType | LABEL { VarFileType::U32, VarMemType::Label } |
Store a Label as-is. | |
Container for holding some default VarType instances.
Definition at line 713 of file saveload.h.
|
staticconstexpr |
Store a boolean (as int8).
Definition at line 714 of file saveload.h.
|
staticconstexpr |
Store a 16 bits signed int.
Definition at line 717 of file saveload.h.
Referenced by SlCopyInternal().
|
staticconstexpr |
Store a 32 bits signed int.
Definition at line 719 of file saveload.h.
Referenced by SlCopyInternal().
|
staticconstexpr |
Store a 64 bits signed int.
Definition at line 721 of file saveload.h.
Referenced by ScriptInstance::LoadObjects(), and ScriptInstance::SaveObject().
|
staticconstexpr |
Store a 8 bits signed int.
Definition at line 715 of file saveload.h.
Referenced by ScriptInstance::SaveObject(), and SlCopyInternal().
|
staticconstexpr |
|
staticconstexpr |
A string stored in the custom string array.
Definition at line 725 of file saveload.h.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Store a 16 bits unsigned int.
Definition at line 718 of file saveload.h.
Referenced by MAP2ChunkHandler::Load(), and SlCopyInternal().
|
staticconstexpr |
Store a 32 bits unsigned int.
Definition at line 720 of file saveload.h.
Referenced by ANITChunkHandler::Load(), and SlCopyInternal().
|
staticconstexpr |
Store a 64 bits unsigned int.
Definition at line 722 of file saveload.h.
|
staticconstexpr |
Store a 8 bits unsigned int.
Definition at line 716 of file saveload.h.
Referenced by SlCalcTableHeader(), SlCopyInternal(), and SlTableHeader().