forked from andor9/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 9
/
xml.h
20 lines (16 loc) · 962 Bytes
/
xml.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef XML_H_INCLUDED
#define XML_H_INCLUDED
#include <string>
#include "tyrant.h"
class Cards;
class Decks;
class Achievement;
Skill::Skill skill_name_to_id(const std::string & name);
bool 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_levels_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