forked from github/server
more object types I haven't handled yet.
This commit is contained in:
parent
75aff73e9a
commit
704148e4bd
1 changed files with 8 additions and 0 deletions
|
@ -47,6 +47,8 @@ enum {
|
||||||
EXP_RACES,
|
EXP_RACES,
|
||||||
EXP_MESSAGES,
|
EXP_MESSAGES,
|
||||||
EXP_STRINGS,
|
EXP_STRINGS,
|
||||||
|
EXP_SPELLS,
|
||||||
|
EXP_SPELLBOOKS,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct parseinfo {
|
typedef struct parseinfo {
|
||||||
|
@ -819,6 +821,12 @@ static void XMLCALL handle_start(void *data, const XML_Char *el, const XML_Char
|
||||||
else if (xml_strcmp(el, "strings") == 0) {
|
else if (xml_strcmp(el, "strings") == 0) {
|
||||||
pi->type = EXP_STRINGS;
|
pi->type = EXP_STRINGS;
|
||||||
}
|
}
|
||||||
|
else if (xml_strcmp(el, "spells") == 0) {
|
||||||
|
pi->type = EXP_SPELLS;
|
||||||
|
}
|
||||||
|
else if (xml_strcmp(el, "spellbooks") == 0) {
|
||||||
|
pi->type = EXP_SPELLBOOKS;
|
||||||
|
}
|
||||||
else if (xml_strcmp(el, "races") == 0) {
|
else if (xml_strcmp(el, "races") == 0) {
|
||||||
pi->type = EXP_RACES;
|
pi->type = EXP_RACES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue