-fix issue 76. There's a huge performance cost for this fix, I hope it won't show too much in the PSP version.
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-04 10:52:13 +00:00
parent c7aa12054d
commit b2b88f1f23
3 changed files with 60 additions and 49 deletions

View File

@@ -48,9 +48,8 @@ class AIPlayer: public Player{
protected:
MTGCardInstance * nextCardToPlay;
int agressivity;
ManaCost * potentialMana;
queue<AIAction *> clickstream;
void tapLandsForMana(ManaCost * potentialMana, ManaCost * cost);
void tapLandsForMana(ManaCost * cost, MTGCardInstance * card = NULL);
int orderBlockers();
int combatDamages();
int interruptIfICan();
@@ -64,7 +63,7 @@ class AIPlayer: public Player{
void End(){};
virtual int displayStack() {return 0;};
AIStats * stats;
ManaCost * getPotentialMana();
ManaCost * getPotentialMana(MTGCardInstance * card = NULL);
AIPlayer(MTGPlayerCards * deck, string deckFile, string deckFileSmall);
virtual ~AIPlayer();
virtual MTGCardInstance * chooseCard(TargetChooser * tc, MTGCardInstance * source, int random = 0);