- Moved the card collection out of the GameApp class to clean up the dependencies
- Added method to build a card collection independently of the GUI to ease my unitary test application - Added part of some network GUI I'm working on, it's #ifdef out, I'm only committing this part to ease later merges - Added the beginning of a serialization code of the Player and related classes used for network support - various other minor cleanup
This commit is contained in:
@@ -126,7 +126,7 @@ void StyleManager::determineActive(MTGDeck * p1, MTGDeck * p2)
|
||||
topRule = -1;
|
||||
topSize = 0;
|
||||
|
||||
MTGDeck * tempDeck = NEW MTGDeck(GameApp::collection);
|
||||
MTGDeck * tempDeck = NEW MTGDeck(MTGCollection());
|
||||
if (p1 && playerSrc != 2) tempDeck->add(p1);
|
||||
if (p2 && playerSrc != 1) tempDeck->add(p2);
|
||||
WCFilterFactory * ff = WCFilterFactory::GetInstance();
|
||||
|
||||
Reference in New Issue
Block a user