forked from andor9/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathread.h
More file actions
21 lines (16 loc) · 692 Bytes
/
read.h
File metadata and controls
21 lines (16 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef READ_H_INCLUDED
#define READ_H_INCLUDED
#include <map>
#include <string>
#include <map>
#include "deck.h"
class Cards;
class Decks;
class Deck;
void load_custom_decks(Decks& decks, Cards& cards, const char * filename);
DeckList parse_deck_list(std::string list_string, const Decks& decks);
void parse_card_spec(const Cards& cards, std::string& card_spec, unsigned& card_id, unsigned& card_num, char& num_sign, char& mark);
unsigned read_custom_decks(Decks& decks, Cards& cards, std::string filename);
void read_owned_cards(Cards& cards, std::map<unsigned, unsigned>& owned_cards, std::string filename);
unsigned read_card_abbrs(Cards& cards, const std::string& filename);
#endif