forked from voxnav/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 30
/
xml.h
19 lines (15 loc) · 861 Bytes
/
xml.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef XML_H_INCLUDED
#define XML_H_INCLUDED
#include <string>
#include "tyrant.h"
class Cards;
class Decks;
class Achievement;
Skill skill_name_to_id(const std::string & name);
void load_cards_xml(Cards & all_cards, const std::string & filename, bool do_warn_on_missing);
void load_skills_set_xml(Cards & all_cards, const std::string & filename, bool do_warn_on_missing);
void load_decks_xml(Decks& decks, const Cards& all_cards, const std::string & mission_filename, const std::string & raid_filename, bool do_warn_on_missing);
void load_recipes_xml(Cards& all_cards, const std::string & filename, bool do_warn_on_missing);
void read_missions(Decks& decks, const Cards& all_cards, const std::string & filename, bool do_warn_on_missing);
void read_raids(Decks& decks, const Cards& all_cards, const std::string & filename, bool do_warn_on_missing);
#endif