Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <config_xml.h>
Public Member Functions | |
GameVegaConfig (const char *configfile) | |
![]() | |
VegaConfig (const char *configfile) | |
virtual | ~VegaConfig () |
void | getColor (configNode *node, string name, float color[4], bool have_color=false) |
void | getColor (string section, string name, float color[4], bool have_color=false) |
void | gethColor (string section, string name, float color[4], int hexcolor) |
void | getColor (string name, float color[4], bool have_color=false) |
string | getVariable (string section, string name, string defaultvalue) |
string | getVariable (string section, string subsection, string name, string defaultvalue) |
configNode * | findSection (string section, configNode *startnode) |
configNode * | findEntry (string name, configNode *startnode) |
void | setVariable (configNode *entry, string value) |
bool | setVariable (string section, string name, string value) |
bool | setVariable (string section, string subsection, string name, string value) |
easyDomNode * | Variables () |
Definition at line 45 of file config_xml.h.
|
explicit |
Definition at line 49 of file config_xml.cpp.
References VegaConfig::axis_axis, VegaConfig::axis_joy, h, VegaConfig::hatswitch, VegaConfig::hatswitch_margin, i, MAX_AXES, MAX_HATSWITCHES, MAX_VALUES, and v.