Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
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.
void GalaxyXML::beginElement | ( | void * | userdata, |
const XML_Char * | nam, | ||
const XML_Char ** | atts | ||
) |
Definition at line 79 of file galaxy_xml.cpp.
References GalaxyXML::SGalaxy::addSection(), CommXML::attribute_map, CommXML::element_map, GalaxyXML::XML::g, GALAXY, XMLSupport::EnumMap::lookup(), CommXML::NAME, StarSystemGent::PLANET, PLANETS, SECTOR, GalaxyXML::SGalaxy::setVariable(), GalaxyXML::XML::stak, SYSTEM, SYSTEMS, CommXML::VALUE, and VAR.
Referenced by GalaxyXML::SGalaxy::SGalaxy().
void GalaxyXML::endElement | ( | void * | userdata, |
const XML_Char * | nam | ||
) |
Definition at line 139 of file galaxy_xml.cpp.
References CommXML::element_map, GALAXY, XMLSupport::EnumMap::lookup(), StarSystemGent::PLANET, PLANETS, SECTOR, GalaxyXML::XML::stak, SYSTEM, SYSTEMS, and VAR.
Referenced by GalaxyXML::SGalaxy::SGalaxy().
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.