- Removed 4000 cards limitation
- URGENT FIX NEEDED: Test Northern_paladin2.txt fails :(
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-05-20 11:07:20 +00:00
parent c42d0d20ca
commit 3ae91e8226
5 changed files with 20 additions and 46 deletions

View File

@@ -8,19 +8,11 @@
class MTGAllCards;
class Price{
public:
int cardid;
int price;
Price(int _cardid, int _price);
};
class PriceList{
private:
MTGAllCards * collection;
string filename;
Price * prices[Constants::TOTAL_NUMBER_OF_CARDS];
int nbprices;
map<int,int> prices;
public:
PriceList(const char * file, MTGAllCards * _collection);
~PriceList();