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 shared_ptr< CTerrainProperties > CTerrainPropertiesPtr
Definition: TerrainProperties.h:38
CTerrainPropertiesPtr m_pParent
Definition: TerrainProperties.h:48
CStr m_MovementClass
Definition: TerrainProperties.h:58
float GetTextureSize()
Definition: TerrainProperties.h:101
std::vector< CTerrainGroup * > GroupVector
Definition: TerrainProperties.h:45
float m_TextureAngle
Definition: TerrainProperties.h:61
Definition: XeroXMB.h:160
void LoadXml(XMBElement node, CXeromyces *pFile, const VfsPath &pathname)
Definition: TerrainProperties.cpp:92
static CTerrainPropertiesPtr FromXML(const CTerrainPropertiesPtr &parent, const VfsPath &pathname)
Definition: TerrainProperties.cpp:46
CTerrainProperties(CTerrainPropertiesPtr parent)
Definition: TerrainProperties.cpp:34
uint32_t u32
Definition: types.h:39
float m_TextureSize
Definition: TerrainProperties.h:64
Definition: TerrainProperties.h:42
u32 GetBaseColor()
Definition: TerrainProperties.cpp:152
bool HasBaseColor()
Definition: TerrainProperties.cpp:147
float GetTextureAngle()
Definition: TerrainProperties.h:96
bool m_HasBaseColor
Definition: TerrainProperties.h:56
GroupVector m_Groups
Definition: TerrainProperties.h:67
Definition: Xeromyces.h:42
CStr GetMovementClass() const
Definition: TerrainProperties.h:106
Definition: TerrainTextureManager.h:43
u32 m_BaseColor
Definition: TerrainProperties.h:55
const GroupVector & GetGroups() const
Definition: TerrainProperties.h:111
CTerrainPropertiesPtr GetParent() const
Definition: TerrainProperties.h:82