GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes
radix::XmlMapLoader Class Reference

Load a map in GlPortal XML format. More...

#include <external/RadixEngine/include/radix/data/map/XmlMapLoader.hpp>

Inherits radix::MapLoader.

Public Member Functions

 XmlMapLoader (World &)
 
void load (const std::string &path)
 Load data from XML into World. More...
 

Private Member Functions

void extractMaterials ()
 
void extractSpawn ()
 Extract a spawn element containing its rotation and position elements. More...
 
void extractLights ()
 Extract a light elements containing position (x, y, z) and colour (r, g, b) attributes. More...
 
void extractDoor ()
 
void extractWalls ()
 
void extractAcids ()
 
void extractTriggers ()
 
void extractModels ()
 

Private Attributes

tinyxml2::XMLHandle rootHandle
 

Additional Inherited Members

- Protected Member Functions inherited from radix::MapLoader
 MapLoader (World &)
 
- Protected Attributes inherited from radix::MapLoader
Worldworld
 

Detailed Description

Load a map in GlPortal XML format.

map-format-spec

Constructor & Destructor Documentation

radix::XmlMapLoader::XmlMapLoader ( World w)

Member Function Documentation

void radix::XmlMapLoader::extractAcids ( )
private
void radix::XmlMapLoader::extractDoor ( )
private
void radix::XmlMapLoader::extractLights ( )
private

Extract a light elements containing position (x, y, z) and colour (r, g, b) attributes.

void radix::XmlMapLoader::extractMaterials ( )
private
void radix::XmlMapLoader::extractModels ( )
private
void radix::XmlMapLoader::extractSpawn ( )
private

Extract a spawn element containing its rotation and position elements.

void radix::XmlMapLoader::extractTriggers ( )
private

[Creating an Entity.]

[Creating an Entity.]

void radix::XmlMapLoader::extractWalls ( )
private
void radix::XmlMapLoader::load ( const std::string &  path)
virtual

Load data from XML into World.

Implements radix::MapLoader.

Field Documentation

tinyxml2::XMLHandle radix::XmlMapLoader::rootHandle
private

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