- Split AIPlayer and AIPlayerBaka in 2 files. Moved all "AI" specific code into AIPlayerBaka, as much as possible.

-- This is a copy/paste and shouldn't have any impact on the logic. I just moved some functions from AIPlayer to AIPlayerBaka
- Added back the possibility to select a different Resource folder with file Res.txt
- Fix a crash when a token id does not exist
This commit is contained in:
wagic.the.homebrew
2011-09-20 03:06:06 +00:00
parent 839d197835
commit fbfac78b09
22 changed files with 2536 additions and 2350 deletions

View File

@@ -391,7 +391,7 @@ void TestSuite::initGame()
g->currentGamePhase = initState.phase;
for (int i = 0; i < 2; i++)
{
AIPlayer * p = (AIPlayer *) (g->players[i]);
AIPlayerBaka * p = (AIPlayerBaka *) (g->players[i]);
p->forceBestAbilityUse = forceAbility;
p->life = initState.playerData[i].life;
MTGGameZone * playerZones[] = { p->game->graveyard, p->game->library, p->game->hand, p->game->inPlay };