vegastrike
0.5.1.r1
|
Classes | |
class | XML |
class | SGalaxy |
class | Galaxy |
class | SubHeirarchy |
Typedefs | |
typedef std::map< std::string, std::string > | StringMap |
Enumerations | |
enum | GalaxyNames { UNKNOWN, GALAXY, SYSTEMS, SECTOR, SYSTEM, VAR, NAME, VALUE, PLANETS, PLANET } |
Functions | |
void | beginElement (void *userdata, const XML_Char *nam, const XML_Char **atts) |
void | endElement (void *userdata, const XML_Char *nam) |
Variables | |
const EnumMap::Pair | element_names [8] |
const EnumMap::Pair | attribute_names [3] |
const EnumMap | element_map (element_names, 8) |
const EnumMap | attribute_map (attribute_names, 3) |
Class Universe Deals with universal constants. It is a global, accessed from anywhere as _Universe-> Universe may be queried for Relationships, the current star system rendering is taking place in etc. It acts as a wrapper to the active Star System. Additionally it handles beginning and ending the main loop. And starting and ending graphics. (incl the task of wiping temp lights) Deprecated: loaded dynamic gldrv module
typedef std::map< std::string, std::string > GalaxyXML::StringMap |
Definition at line 15 of file galaxy_xml.h.
Enumerator | |
---|---|
UNKNOWN | |
GALAXY | |
SYSTEMS | |
SECTOR | |
SYSTEM | |
VAR | |
NAME | |
VALUE | |
PLANETS | |
PLANET |
Definition at line 42 of file galaxy_xml.cpp.
void GalaxyXML::beginElement | ( | void * | userdata, |
const XML_Char * | nam, | ||
const XML_Char ** | atts | ||
) |
Definition at line 79 of file galaxy_xml.cpp.
void GalaxyXML::endElement | ( | void * | userdata, |
const XML_Char * | nam | ||
) |
Definition at line 139 of file galaxy_xml.cpp.
const EnumMap GalaxyXML::attribute_map(attribute_names, 3) |
const EnumMap::Pair GalaxyXML::attribute_names[3] |
Definition at line 65 of file galaxy_xml.cpp.
const EnumMap GalaxyXML::element_map(element_names, 8) |
const EnumMap::Pair GalaxyXML::element_names[8] |
Definition at line 55 of file galaxy_xml.cpp.