* enum for secondary skills

* THex for battle positions
* towards removal of battleGetStackByID

TODO:
investigate the necessity of putting implementation of BattleAction CGlobalAI::activeStack( const CStack * stack ) in CGeniusAI.cpp
This commit is contained in:
mateuszb committed 2010-12-23 20:18:10 +00:00
1 parent 2fe8b07f4f
commit 4929cf9782
22 files changed
+191 -157

No files matched your search

+4 -3
View File
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "StupidAI.h"
#include "../../lib/CGameState.h"
CStupidAI::CStupidAI(void)
{
@@ -25,10 +26,10 @@ void CStupidAI::actionStarted( const BattleAction *action )
}
BattleAction CStupidAI::activeStack( int stackID )
BattleAction CStupidAI::activeStack( const CStack * stack )
{
BattleAction ba;
ba.DEFEND;
ba.stackNumber = stackID;
ba.actionType = BattleAction::DEFEND;
ba.stackNumber = stack->ID;
return ba;
}