33#ifndef DVD_TERRAIN_DESCRIPTOR_H_
34#define DVD_TERRAIN_DESCRIPTOR_H_
52 std::array<U8, 16> _ringTileCount = {};
56 F32 _startWidth{0.25f};
58 U8 _textureLayers{1u};
Handle console commands that start with a forward slash.
U32 MaxNodesPerStage(const TerrainDescriptor &descriptor) noexcept
void AddVariable(TerrainDescriptor &descriptor, std::string_view name, std::string_view value)
F32 GetVariableF(const TerrainDescriptor &descriptor, std::string_view name)
size_t GetHash(const PropertyDescriptor< T > &descriptor) noexcept
void SaveToXML(const TerrainDescriptor &descriptor, boost::property_tree::ptree &pt)
hashAlg::unordered_map< K, V, HashFun, Predicate > hashMap
bool LoadFromXML(TerrainDescriptor &descriptor, const boost::property_tree::ptree &pt, std::string_view name)
string GetVariable(const TerrainDescriptor &descriptor, std::string_view name)
void AddVariableF(TerrainDescriptor &descriptor, std::string_view name, F32 value)
void Init(ImTextureID texture1, ImTextureID texture2, ImTextureID dockTexture)
U8 TileRingCount(const TerrainDescriptor &descriptor, const U8 index) noexcept
std::array< vec2< F32 >, 4 > LayerDataEntry
std::array< LayerDataEntry, 8 > LayerData