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