OpenTTD Source 20250205-master-gfd85ab1e2c
|
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items. More...
#include "enum_type.hpp"
Go to the source code of this file.
Typedefs | |
using | PoolTypes = EnumBitSet< PoolType, uint8_t > |
typedef std::vector< struct PoolBase * > | PoolVector |
Vector of pointers to PoolBase. | |
Enumerations | |
enum class | PoolType : uint8_t { Normal , NetworkClient , NetworkAdmin , Data } |
Various types of a pool. More... | |
Variables | |
static constexpr PoolTypes | PT_ALL = {PoolType::Normal, PoolType::NetworkClient, PoolType::NetworkAdmin, PoolType::Data} |
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items.
Definition in file pool_type.hpp.
using PoolTypes = EnumBitSet<PoolType, uint8_t> |
Definition at line 22 of file pool_type.hpp.
typedef std::vector<struct PoolBase *> PoolVector |
Vector of pointers to PoolBase.
Definition at line 25 of file pool_type.hpp.
|
strong |
Various types of a pool.
Enumerator | |
---|---|
Normal | Normal pool containing game objects. |
NetworkClient | Network client pools. |
NetworkAdmin | Network admin pool. |
Data | NewGRF or other data, that is not reset together with normal pools. |
Definition at line 16 of file pool_type.hpp.
|
staticconstexpr |
Definition at line 23 of file pool_type.hpp.