Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
TerrainDescriptor.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::anonymous_namespace{TerrainDescriptor.cpp}
 

Functions

void Divide::Init (TerrainDescriptor &descriptor, std::string_view name)
 
bool Divide::LoadFromXML (TerrainDescriptor &descriptor, const boost::property_tree::ptree &pt, std::string_view name)
 
void Divide::SaveToXML (const TerrainDescriptor &descriptor, boost::property_tree::ptree &pt)
 
void Divide::AddVariable (TerrainDescriptor &descriptor, std::string_view name, std::string_view value)
 
void Divide::AddVariableF (TerrainDescriptor &descriptor, std::string_view name, F32 value)
 
string Divide::GetVariable (const TerrainDescriptor &descriptor, std::string_view name)
 
F32 Divide::GetVariableF (const TerrainDescriptor &descriptor, std::string_view name)
 
U32 Divide::MaxNodesPerStage (const TerrainDescriptor &descriptor) noexcept
 
U8 Divide::TileRingCount (const TerrainDescriptor &descriptor, const U8 index) noexcept
 

Variables

constexpr U8 Divide::anonymous_namespace{TerrainDescriptor.cpp}::g_minTerrainSideLength = 8u