Jeck - Linked both sets into one filter menu. Requires more testing, but appears to work on PSP/PC as it should.

This commit is contained in:
wagic.jeck
2010-02-19 22:38:09 +00:00
parent 25e6906149
commit bb82dc38f2
4 changed files with 92 additions and 83 deletions

View File

@@ -501,7 +501,20 @@ int WSrcDeck::totalPrice(){
SAFE_DELETE(pricelist);
return total;
}
//WSrcDeckViewer
WSrcDeckViewer::WSrcDeckViewer(WSrcCards * _active, WSrcCards * _inactive): WSrcCards(0.2) {
active = _active;
inactive = _inactive;
}
void WSrcDeckViewer::swapSrc(){
WSrcCards * temp = active;
active = inactive;
inactive = temp;
}
WSrcDeckViewer::~WSrcDeckViewer(){
//Do nothing.
}
//Sorting methods:
int WCSortRarity::rareToInt(char r){
switch(r){