|
OpenTTD Source 20260711-master-g3fb3006dff
|
Container for holding some default VarType instances.
More...
#include <saveload.h>
Static Public Attributes | |
| static constexpr VarType | BOOL { VarFileType::I8, 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 | STRQ { VarFileType::String, VarMemType::StrQ } |
| Store a string with quotes. | |
| static constexpr VarType | NAME { VarFileType::StringID, VarMemType::Name } |
| A string stored in the custom string array. | |
Container for holding some default VarType instances.
Definition at line 749 of file saveload.h.
|
staticconstexpr |
Store a boolean (as int8).
Definition at line 750 of file saveload.h.
|
staticconstexpr |
Store a 16 bits signed int.
Definition at line 753 of file saveload.h.
Referenced by CargoPacket::GetCargoPacketDesc, and SlCopyInternal().
|
staticconstexpr |
Store a 32 bits signed int.
Definition at line 755 of file saveload.h.
Referenced by LinkGraph::GetLinkGraphDesc, LinkGraph::GetLinkGraphJobDesc, OrderBackup::GetOrderBackupDescription, and SlCopyInternal().
|
staticconstexpr |
Store a 64 bits signed int.
Definition at line 757 of file saveload.h.
Referenced by CargoPacket::GetCargoPacketDesc, ScriptInstance::LoadObjects(), and ScriptInstance::SaveObject().
|
staticconstexpr |
Store a 8 bits signed int.
Definition at line 751 of file saveload.h.
Referenced by ScriptInstance::LoadObjects(), ScriptInstance::SaveObject(), and SlCopyInternal().
|
staticconstexpr |
A string stored in the custom string array.
Definition at line 762 of file saveload.h.
|
staticconstexpr |
Store string.
Definition at line 760 of file saveload.h.
Referenced by OrderBackup::GetOrderBackupDescription, and SlTableHeader().
|
staticconstexpr |
Store a StringID.
Definition at line 759 of file saveload.h.
Referenced by ENGSChunkHandler::Load(), and SlCopyInternal().
|
staticconstexpr |
Store a string with quotes.
Definition at line 761 of file saveload.h.
|
staticconstexpr |
Store a 16 bits unsigned int.
Definition at line 754 of file saveload.h.
Referenced by CargoPacket::GetCargoPacketDesc, LinkGraph::GetLinkGraphDesc, LinkGraph::GetLinkGraphJobDesc, OrderBackup::GetOrderBackupDescription, Order::GetOrderDescription, MAP2ChunkHandler::Load(), MAP8ChunkHandler::Load(), ORDRChunkHandler::Load(), MAP2ChunkHandler::Save(), MAP8ChunkHandler::Save(), and SlCopyInternal().
|
staticconstexpr |
Store a 32 bits unsigned int.
Definition at line 756 of file saveload.h.
Referenced by CargoPacket::GetCargoPacketDesc, OrderBackup::GetOrderBackupDescription, Order::GetOrderDescription, OrderList::GetOrderListDescription, ANITChunkHandler::Load(), ORDRChunkHandler::Load(), and SlCopyInternal().
|
staticconstexpr |
Store a 64 bits unsigned int.
Definition at line 758 of file saveload.h.
Referenced by OrderBackup::GetOrderBackupDescription.
|
staticconstexpr |
Store a 8 bits unsigned int.
Definition at line 752 of file saveload.h.
Referenced by CargoPacket::GetCargoPacketDesc, LinkGraph::GetLinkGraphDesc, OrderBackup::GetOrderBackupDescription, Order::GetOrderDescription, M3HIChunkHandler::Load(), M3LOChunkHandler::Load(), MAP5ChunkHandler::Load(), MAP7ChunkHandler::Load(), MAPEChunkHandler::Load(), MAPHChunkHandler::Load(), MAPOChunkHandler::Load(), MAPTChunkHandler::Load(), M3HIChunkHandler::Save(), M3LOChunkHandler::Save(), MAP5ChunkHandler::Save(), MAP7ChunkHandler::Save(), MAPEChunkHandler::Save(), MAPHChunkHandler::Save(), MAPOChunkHandler::Save(), MAPTChunkHandler::Save(), SlCalcTableHeader(), SlCopyInternal(), and SlTableHeader().