vegastrike
0.5.1.r1
|
#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 () |
Additional Inherited Members | |
![]() | |
int | axis_axis [MAX_AXIS] |
int | axis_joy [MAX_AXIS] |
bool | axis_inverse [MAX_AXIS] |
float | hatswitch [MAX_HATSWITCHES][MAX_VALUES] |
float | hatswitch_margin [MAX_HATSWITCHES] |
int | hatswitch_axis [MAX_HATSWITCHES] |
int | hatswitch_joystick [MAX_HATSWITCHES] |
![]() | |
string | getVariable (configNode *section, string name, string defaultval) |
bool | checkConfig (configNode *node) |
void | doVariables (configNode *node) |
void | checkSection (configNode *node, enum section_t section_type) |
void | checkVar (configNode *node) |
void | doSection (string prefix, configNode *node, enum section_t section_type) |
void | doVar (string prefix, configNode *node) |
void | doColors (configNode *node) |
bool | checkColor (string prefix, configNode *node) |
![]() | |
configNode * | variables |
configNode * | bindings |
configNode * | colors |
map< string, string > | map_variables |
map< string, vColor > | map_colors |
int | hs_value_index |
Definition at line 45 of file config_xml.h.
|
explicit |
Definition at line 49 of file config_xml.cpp.