Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CTerrainProperties Class Reference

#include <TerrainProperties.h>

Public Types

typedef std::vector< CTerrainGroup * > GroupVector
 

Public Member Functions

 CTerrainProperties (CTerrainPropertiesPtr parent)
 
void LoadXml (XMBElement node, CXeromyces *pFile, const VfsPath &pathname)
 
CTerrainPropertiesPtr GetParent () const
 
bool HasBaseColor ()
 
u32 GetBaseColor ()
 
float GetTextureAngle ()
 
float GetTextureSize ()
 
const GroupVectorGetGroups () const
 

Static Public Member Functions

static CTerrainPropertiesPtr FromXML (const CTerrainPropertiesPtr &parent, const VfsPath &pathname)
 

Private Attributes

CTerrainPropertiesPtr m_pParent
 
u32 m_BaseColor
 
bool m_HasBaseColor
 
float m_TextureAngle
 
float m_TextureSize
 
GroupVector m_Groups
 

Member Typedef Documentation

◆ GroupVector

Constructor & Destructor Documentation

◆ CTerrainProperties()

CTerrainProperties::CTerrainProperties ( CTerrainPropertiesPtr  parent)

Member Function Documentation

◆ FromXML()

CTerrainPropertiesPtr CTerrainProperties::FromXML ( const CTerrainPropertiesPtr parent,
const VfsPath pathname 
)
static

◆ GetBaseColor()

u32 CTerrainProperties::GetBaseColor ( )

◆ GetGroups()

const GroupVector & CTerrainProperties::GetGroups ( ) const
inline

◆ GetParent()

CTerrainPropertiesPtr CTerrainProperties::GetParent ( ) const
inline

◆ GetTextureAngle()

float CTerrainProperties::GetTextureAngle ( )
inline

◆ GetTextureSize()

float CTerrainProperties::GetTextureSize ( )
inline

◆ HasBaseColor()

bool CTerrainProperties::HasBaseColor ( )

◆ LoadXml()

void CTerrainProperties::LoadXml ( XMBElement  node,
CXeromyces pFile,
const VfsPath pathname 
)

Member Data Documentation

◆ m_BaseColor

u32 CTerrainProperties::m_BaseColor
private

◆ m_Groups

GroupVector CTerrainProperties::m_Groups
private

◆ m_HasBaseColor

bool CTerrainProperties::m_HasBaseColor
private

◆ m_pParent

CTerrainPropertiesPtr CTerrainProperties::m_pParent
private

◆ m_TextureAngle

float CTerrainProperties::m_TextureAngle
private

◆ m_TextureSize

float CTerrainProperties::m_TextureSize
private

The documentation for this class was generated from the following files: