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 CTerrainPropertiesPtr m_pParent
Definition: TerrainProperties.h:48
float GetTextureSize()
Definition: TerrainProperties.h:99
std::vector< CTerrainGroup * > GroupVector
Definition: TerrainProperties.h:45
float m_TextureAngle
Definition: TerrainProperties.h:59
Definition: XMBData.h:135
void LoadXml(XMBElement node, CXeromyces *pFile, const VfsPath &pathname)
Definition: TerrainProperties.cpp:90
const GroupVector & GetGroups() const
Definition: TerrainProperties.h:104
static CTerrainPropertiesPtr FromXML(const CTerrainPropertiesPtr &parent, const VfsPath &pathname)
Definition: TerrainProperties.cpp:44
CTerrainProperties(CTerrainPropertiesPtr parent)
Definition: TerrainProperties.cpp:33
uint32_t u32
Definition: types.h:39
float m_TextureSize
Definition: TerrainProperties.h:62
Definition: TerrainProperties.h:42
u32 GetBaseColor()
Definition: TerrainProperties.cpp:145
CTerrainPropertiesPtr GetParent() const
Definition: TerrainProperties.h:80
bool HasBaseColor()
Definition: TerrainProperties.cpp:140
float GetTextureAngle()
Definition: TerrainProperties.h:94
bool m_HasBaseColor
Definition: TerrainProperties.h:56
GroupVector m_Groups
Definition: TerrainProperties.h:65
Definition: Xeromyces.h:40
Definition: TerrainTextureManager.h:41
std::shared_ptr< CTerrainProperties > CTerrainPropertiesPtr
Definition: TerrainProperties.h:38
u32 m_BaseColor
Definition: TerrainProperties.h:55