23 #ifndef TACTICS3DCOMBAT_H
24 #define TACTICS3DCOMBAT_H
28 #include "../Libs/Core_LIB/CLog.h"
29 #include "../Libs/Utils_LIB/USocket.h"
52 bool useAttackerDmgAdj_,
int specialMoveDmgAdj_,
bool useAbsDmg_,
int absDmg_,
65 #endif //TACTICS3DCOMBAT_H
Initiative(Warrior *warrior_, OpenSkyNet::Utils::uint warriorIndex_, int initialDie1_, int initialDie2_, int die1_, int die2_)
Definition: Tactics3DCombat.h:40
Definition: Tactics3DAction.h:40
Definition: Tactics3DCombat.h:35
bool round(std::vector< Warrior * > warriors_, OpenSkyNet::Utils::Socket *socket_)
#define PRINTF_LOG(...)
Definition: CLog.h:67
int _die2
Definition: Tactics3DCombat.h:38
Definition: Tactics3DWarrior.h:42
int _initialDie2
Definition: Tactics3DCombat.h:38
void assembleInitiatives(OpenSkyNet::Utils::uint numWarriors_, char(&buffer_)[MAX_STRING_SIZE], std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_)
int _die1
Definition: Tactics3DCombat.h:38
#define MAX_STRING_SIZE
Definition: UTypes.h:33
Definition: Tactics3DAttackRange.h:33
unsigned int uint
Definition: UTypes.h:39
bool operator<(const Initiative &rhs_) const
Definition: Tactics3DCombat.h:46
OpenSkyNet::Utils::uint serializeInitiatives(const std::vector< Initiative > &initiatives_, char(&buffer_)[MAX_STRING_SIZE])
OpenSkyNet::Utils::uint getInitiativesBufferLen(OpenSkyNet::Utils::uint numWarriors_)
Definition: Tactics3DNetwork.cpp:9
int attack(int oO_, int oD_, Warrior *attacker_, const AttackRange *attackRange_, bool useAttackerDmgAdj_, int specialMoveDmgAdj_, bool useAbsDmg_, int absDmg_, Warrior *defender_, Action *action_)
Definition: Tactics3DCombat.cpp:276
virtual const std::string & getName() const
Definition: IObject.h:104
int _initialDie1
Definition: Tactics3DCombat.h:38
Warrior * _warrior
Definition: Tactics3DCombat.h:36
int _roll
Definition: Tactics3DCombat.h:38
OpenSkyNet::Utils::uint _warriorIndex
Definition: Tactics3DCombat.h:37