Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Enumerations | |
enum | Names { UNKNOWN, WEAPONS, BEAM, BALL, BOLT, PROJECTILE, APPEARANCE, ENERGY, DAMAGE, DISTANCE, NAME, SOUNDMP3, SOUNDWAV, WEAPSIZE, XFILE, RED, GREEN, BLUE, ALPHA, SPEED, OFFSETX, OFFSETY, OFFSETZ, PULSESPEED, RADIALSPEED, RANGE, RADIUS, RATE, STABILITY, LONGRANGE, CONSUMPTION, REFIRE, LENGTH, PHASEDAMAGE, VOLUME, DETONATIONRADIUS, LOCKTIME, ROLE, ANTIROLE, TEXTURESTRETCH } |
Functions | |
void | beginElementXML_Char (void *userData, const XML_Char *name, const XML_Char **atts) |
void | beginElement (void *userData, const char *name, const char **atts) |
void | endElement (void *userData, const XML_Char *name) |
Variables | |
const EnumMap::Pair | element_names [] |
const EnumMap::Pair | attribute_names [] |
const EnumMap | element_map (element_names, 10) |
const EnumMap | attribute_map (attribute_names, 32) |
Hashtable< string, weapon_info, 257 > | lookuptable |
string | curname |
weapon_info | tmpweapon (weapon_info::BEAM) |
int | level = -1 |
enum BeamXML::Names |
Definition at line 129 of file weapon_xml.cpp.
void BeamXML::beginElement | ( | void * | userData, |
const char * | name, | ||
const char ** | atts | ||
) |
Definition at line 242 of file weapon_xml.cpp.
References weapon_info::a, ALPHA, ANTIROLE, APPEARANCE, attribute_map, AUDCreateSoundMP3(), AUDCreateSoundWAV(), weapon_info::b, weapon_info::BALL, BALL, weapon_info::BEAM, BEAM, BLUE, weapon_info::BOLT, BOLT, color_step, CONSUMPTION, counts, curname, weapon_info::Damage, DAMAGE, DETONATIONRADIUS, DISTANCE, element_map, ENERGY, weapon_info::EnergyRate, weapon_info::file, weapon_info::g, Gamma_Needed, VegaConfig::getVariable(), GREEN, int, weapon_info::Length, LENGTH, level, weapon_info::LockTime, LOCKTIME, weapon_info::Longrange, LONGRANGE, XMLSupport::EnumMap::lookup(), lookupMountSize(), weapon_info::MntSize(), NAME, weapon_info::offset, OFFSETX, OFFSETY, OFFSETZ, XMLSupport::parse_bool(), XMLSupport::parse_float(), weapon_info::PhaseDamage, PHASEDAMAGE, weapon_info::PROJECTILE, PROJECTILE, weapon_info::PulseSpeed, PULSESPEED, weapon_info::r, weapon_info::RadialSpeed, RADIALSPEED, weapon_info::Radius, RADIUS, weapon_info::Range, RANGE, RATE, ROLES::readBitmask(), RED, REFIRE, ROLE, weapon_info::role_bits, weapon_info::sound, SOUNDMP3, SOUNDWAV, weapon_info::Speed, SPEED, weapon_info::Stability, STABILITY, weapon_info::TextureStretch, TEXTURESTRETCH, tmpweapon, weapon_info::type, weapon_info::Type(), weapon_info::UNKNOWN, UNKNOWN, weapon_info::volume, VOLUME, vs_config, VSFileSystem::vs_fprintf(), weapon_info::weapon_name, WEAPONS, WEAPSIZE, and XFILE.
Referenced by beginElementXML_Char(), and LoadAccounts().
void BeamXML::beginElementXML_Char | ( | void * | userData, |
const XML_Char * | name, | ||
const XML_Char ** | atts | ||
) |
Definition at line 226 of file weapon_xml.cpp.
References beginElement().
Referenced by LoadWeapons().
void BeamXML::endElement | ( | void * | userData, |
const XML_Char * | name | ||
) |
Definition at line 490 of file weapon_xml.cpp.
References APPEARANCE, BALL, BEAM, BOLT, curname, DAMAGE, DISTANCE, element_map, ENERGY, weapon_info::init(), level, XMLSupport::EnumMap::lookup(), lookuptable, PROJECTILE, strtoupper(), tmpweapon, UNKNOWN, and WEAPONS.
Referenced by LoadAccounts(), and LoadWeapons().
const EnumMap BeamXML::attribute_map(attribute_names, 32) |
Referenced by beginElement().
const EnumMap::Pair BeamXML::attribute_names[] |
Definition at line 184 of file weapon_xml.cpp.
string BeamXML::curname |
Definition at line 222 of file weapon_xml.cpp.
Referenced by beginElement(), and endElement().
const EnumMap BeamXML::element_map(element_names, 10) |
Referenced by beginElement(), and endElement().
const EnumMap::Pair BeamXML::element_names[] |
Definition at line 171 of file weapon_xml.cpp.
int BeamXML::level = -1 |
Definition at line 224 of file weapon_xml.cpp.
Referenced by accountXML::beginElement(), beginElement(), Order::createFullOrderDescription(), accountXML::endElement(), endElement(), GameUnit< UnitType >::Split(), quadsquare::StaticCullData(), Tab(), and TabString().
Hashtable< string, weapon_info, 257 > BeamXML::lookuptable |
Definition at line 221 of file weapon_xml.cpp.
Referenced by endElement(), and getTemplate().
weapon_info BeamXML::tmpweapon(weapon_info::BEAM) |
Referenced by beginElement(), and endElement().