Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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 ()
 
CStr GetMovementClass () const
 
const GroupVector & GetGroups () 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
 
CStr m_MovementClass
 
float m_TextureAngle
 
float m_TextureSize
 
GroupVector m_Groups
 

Detailed Description

Definition at line 41 of file TerrainProperties.h.

Member Typedef Documentation

Definition at line 44 of file TerrainProperties.h.

Constructor & Destructor Documentation

CTerrainProperties::CTerrainProperties ( CTerrainPropertiesPtr  parent)

Definition at line 36 of file TerrainProperties.cpp.

Member Function Documentation

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

Definition at line 48 of file TerrainProperties.cpp.

u32 CTerrainProperties::GetBaseColor ( )

Definition at line 165 of file TerrainProperties.cpp.

const GroupVector& CTerrainProperties::GetGroups ( ) const
inline

Definition at line 110 of file TerrainProperties.h.

CStr CTerrainProperties::GetMovementClass ( ) const
inline

Definition at line 105 of file TerrainProperties.h.

CTerrainPropertiesPtr CTerrainProperties::GetParent ( ) const
inline

Definition at line 81 of file TerrainProperties.h.

float CTerrainProperties::GetTextureAngle ( )
inline

Definition at line 95 of file TerrainProperties.h.

float CTerrainProperties::GetTextureSize ( )
inline

Definition at line 100 of file TerrainProperties.h.

bool CTerrainProperties::HasBaseColor ( )

Definition at line 160 of file TerrainProperties.cpp.

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

Definition at line 96 of file TerrainProperties.cpp.

Member Data Documentation

u32 CTerrainProperties::m_BaseColor
private

Definition at line 54 of file TerrainProperties.h.

GroupVector CTerrainProperties::m_Groups
private

Definition at line 66 of file TerrainProperties.h.

bool CTerrainProperties::m_HasBaseColor
private

Definition at line 55 of file TerrainProperties.h.

CStr CTerrainProperties::m_MovementClass
private

Definition at line 57 of file TerrainProperties.h.

CTerrainPropertiesPtr CTerrainProperties::m_pParent
private

Definition at line 47 of file TerrainProperties.h.

float CTerrainProperties::m_TextureAngle
private

Definition at line 60 of file TerrainProperties.h.

float CTerrainProperties::m_TextureSize
private

Definition at line 63 of file TerrainProperties.h.


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