Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CXMLReader Class Reference
Collaboration diagram for CXMLReader:

Public Member Functions

 CXMLReader (const VfsPath &xml_filename, CMapReader &mapReader)
 
CStr ReadScriptSettings ()
 
void ReadXML ()
 
int ProgressiveReadEntities ()
 

Private Member Functions

 NONCOPYABLE (CXMLReader)
 
void Init (const VfsPath &xml_filename)
 
void ReadTerrain (XMBElement parent)
 
void ReadEnvironment (XMBElement parent)
 
void ReadCamera (XMBElement parent)
 
void ReadPaths (XMBElement parent)
 
void ReadTriggers (XMBElement parent)
 
int ReadEntities (XMBElement parent, double end_time)
 

Private Attributes

CXeromyces xmb_file
 
CMapReaderm_MapReader
 
int el_entity
 
int el_tracks
 
int el_template
 
int el_player
 
int el_position
 
int el_orientation
 
int el_obstruction
 
int el_garrison
 
int el_turrets
 
int el_actor
 
int at_x
 
int at_y
 
int at_z
 
int at_group
 
int at_group2
 
int at_angle
 
int at_uid
 
int at_seed
 
int at_turret
 
XMBElementList nodes
 
size_t node_idx
 
size_t entity_idx
 
int completed_jobs
 
int total_jobs
 
entity_id_t max_uid
 

Constructor & Destructor Documentation

◆ CXMLReader()

CXMLReader::CXMLReader ( const VfsPath xml_filename,
CMapReader mapReader 
)
inline

Member Function Documentation

◆ Init()

void CXMLReader::Init ( const VfsPath xml_filename)
private

◆ NONCOPYABLE()

CXMLReader::NONCOPYABLE ( CXMLReader  )
private

◆ ProgressiveReadEntities()

int CXMLReader::ProgressiveReadEntities ( )

◆ ReadCamera()

void CXMLReader::ReadCamera ( XMBElement  parent)
private

◆ ReadEntities()

int CXMLReader::ReadEntities ( XMBElement  parent,
double  end_time 
)
private

◆ ReadEnvironment()

void CXMLReader::ReadEnvironment ( XMBElement  parent)
private

◆ ReadPaths()

void CXMLReader::ReadPaths ( XMBElement  parent)
private

◆ ReadScriptSettings()

CStr CXMLReader::ReadScriptSettings ( )

◆ ReadTerrain()

void CXMLReader::ReadTerrain ( XMBElement  parent)
private

◆ ReadTriggers()

void CXMLReader::ReadTriggers ( XMBElement  parent)
private

◆ ReadXML()

void CXMLReader::ReadXML ( )

Member Data Documentation

◆ at_angle

int CXMLReader::at_angle
private

◆ at_group

int CXMLReader::at_group
private

◆ at_group2

int CXMLReader::at_group2
private

◆ at_seed

int CXMLReader::at_seed
private

◆ at_turret

int CXMLReader::at_turret
private

◆ at_uid

int CXMLReader::at_uid
private

◆ at_x

int CXMLReader::at_x
private

◆ at_y

int CXMLReader::at_y
private

◆ at_z

int CXMLReader::at_z
private

◆ completed_jobs

int CXMLReader::completed_jobs
private

◆ el_actor

int CXMLReader::el_actor
private

◆ el_entity

int CXMLReader::el_entity
private

◆ el_garrison

int CXMLReader::el_garrison
private

◆ el_obstruction

int CXMLReader::el_obstruction
private

◆ el_orientation

int CXMLReader::el_orientation
private

◆ el_player

int CXMLReader::el_player
private

◆ el_position

int CXMLReader::el_position
private

◆ el_template

int CXMLReader::el_template
private

◆ el_tracks

int CXMLReader::el_tracks
private

◆ el_turrets

int CXMLReader::el_turrets
private

◆ entity_idx

size_t CXMLReader::entity_idx
private

◆ m_MapReader

CMapReader& CXMLReader::m_MapReader
private

◆ max_uid

entity_id_t CXMLReader::max_uid
private

◆ node_idx

size_t CXMLReader::node_idx
private

◆ nodes

XMBElementList CXMLReader::nodes
private

◆ total_jobs

int CXMLReader::total_jobs
private

◆ xmb_file

CXeromyces CXMLReader::xmb_file
private

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