载入中...
搜索中...
未找到
Packed per-cell state records of the hex map. 更多...
类 | |
| class | eve::hexmap::HexValues |
| Packed numeric cell state. 更多... | |
| class | eve::hexmap::HexFlags |
| Packed boolean cell state (roads, rivers, walls, exploration). 更多... | |
| struct | eve::hexmap::HexCellData |
| One cell of the hex map: packed values plus packed flags. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::hexmap |
枚举 | |
| enum class | eve::hexmap::HexTerrainType : std::int32_t { eve::hexmap::Sand = 0 , eve::hexmap::Grass = 1 , eve::hexmap::Mud = 2 , eve::hexmap::Stone = 3 , eve::hexmap::Snow = 4 } |
| Terrain palette index of a hex cell. 更多... | |
函数 | |
| constexpr std::int32_t | eve::hexmap::clampTerrainType (std::int32_t index) noexcept |
| Terrain type index clamped into the supported palette range. | |
| constexpr bool | eve::hexmap::canHoldUnit (const HexCellData &cell) noexcept |
| Whether a cell record is in a state that can hold a unit. | |
变量 | |
| constexpr std::int32_t | eve::hexmap::kHexTerrainTypeCount = 5 |
| Number of entries in the terrain palette. | |
详细描述
Packed per-cell state records of the hex map.
在文件 HexCell.h 中定义.