22 Basically represents a set of terrain attributes loaded from XML. These
23 objects are organized in an inheritance tree, determined at load time.
27#ifndef INCLUDED_TERRAINPROPERTIES
28#define INCLUDED_TERRAINPROPERTIES
std::shared_ptr< CTerrainProperties > CTerrainPropertiesPtr
Definition: TerrainProperties.h:40
Definition: TerrainTextureManager.h:42
Definition: TerrainProperties.h:43
const GroupVector & GetGroups() const
Definition: TerrainProperties.h:104
bool HasBaseColor()
Definition: TerrainProperties.cpp:140
u32 GetBaseColor()
Definition: TerrainProperties.cpp:145
CTerrainPropertiesPtr GetParent() const
Definition: TerrainProperties.h:80
float GetTextureSize()
Definition: TerrainProperties.h:99
float m_TextureAngle
Definition: TerrainProperties.h:59
bool m_HasBaseColor
Definition: TerrainProperties.h:56
std::vector< CTerrainGroup * > GroupVector
Definition: TerrainProperties.h:45
float m_TextureSize
Definition: TerrainProperties.h:62
void LoadXml(XMBElement node, CXeromyces *pFile, const VfsPath &pathname)
Definition: TerrainProperties.cpp:90
GroupVector m_Groups
Definition: TerrainProperties.h:65
u32 m_BaseColor
Definition: TerrainProperties.h:55
static CTerrainPropertiesPtr FromXML(const CTerrainPropertiesPtr &parent, const VfsPath &pathname)
Definition: TerrainProperties.cpp:44
float GetTextureAngle()
Definition: TerrainProperties.h:94
CTerrainProperties(CTerrainPropertiesPtr parent)
Definition: TerrainProperties.cpp:33
CTerrainPropertiesPtr m_pParent
Definition: TerrainProperties.h:48
Definition: Xeromyces.h:41
Definition: XMBData.h:136
uint32_t u32
Definition: types.h:39