|
| NPC (OpenSkyNet::Utils::uint networkId_, OpenSkyNet::Core::PhysVisObject *pVO_, int gp_, int lvl_, int dex_, int str_, int end_, TEAM team_) |
|
virtual | ~NPC () |
|
virtual bool | doPerformAction (const Action *action_, bool &doDelay_, bool &doSubstitute_, Action *&substitute_) |
|
virtual void | setActions () |
|
const OpenSkyNet::Math::Point & | getPosPrePerformAnyAction () const |
|
const OpenSkyNet::Math::Path & | getPath () const |
|
|
virtual OpenSkyNet::Math::Point | getPos () const |
|
virtual void | getPos (OpenSkyNet::Math::Point<> &pos_) const |
|
virtual void | setPos (const OpenSkyNet::Math::Point<> &pos_) |
|
virtual bool | getHasPosChanged () const |
|
virtual void | setHasPosChanged (bool val_) |
|
virtual OpenSkyNet::Math::Matrix3x3 | getRot () const |
|
virtual void | getRot (OpenSkyNet::Math::Matrix3x3 &rot_) const |
|
virtual void | setRot (const OpenSkyNet::Math::Matrix3x3 &rot_) |
|
virtual bool | getHasRotChanged () const |
|
virtual void | setHasRotChanged (bool val_) |
|
virtual OpenSkyNet::Math::Point | getVel () const |
|
virtual void | getVel (OpenSkyNet::Math::Point<> &vel_) const |
|
virtual void | setVel (const OpenSkyNet::Math::Point<> &vel_) |
|
virtual bool | getHasVelChanged () const |
|
virtual void | setHasVelChanged (bool val_) |
|
virtual OpenSkyNet::Math::Point | getAngVel () const |
|
virtual void | getAngVel (OpenSkyNet::Math::Point<> &angVel_) const |
|
virtual void | setAngVel (const OpenSkyNet::Math::Point<> &angVel_) |
|
virtual bool | getHasAngVelChanged () const |
|
virtual void | setHasAngVelChanged (bool val_) |
|
virtual const
OpenSkyNet::Core::PhysicalObject * | getPhysicalObject () const |
|
virtual
OpenSkyNet::Core::PhysicalObject * | getPhysicalObject () |
|
virtual const
OpenSkyNet::Core::VisibleObject * | getVisibleObject () const |
|
virtual
OpenSkyNet::Core::VisibleObject * | getVisibleObject () |
|
virtual const std::string & | getName () const |
|
virtual void | setName (const std::string &name_) |
|
|
virtual void | doAction () |
|
|
virtual void | handleTransformChange (OpenSkyNet::Core::Object *obj_, const OpenSkyNet::Math::Point<> &prevPos_, const OpenSkyNet::Math::Matrix3x3 &prevRot_, float dt_) |
|
virtual void | handleIdle (OpenSkyNet::Core::Object *obj_, float idleSecs_) |
|
|
virtual void | onPrePerformAnyAction (const std::vector< Warrior * > &warriors_) |
|
virtual void | onMove () |
|
| Warrior (OpenSkyNet::Utils::uint networkId_, OpenSkyNet::Core::PhysVisObject *pVO_, int gp_, int lvl_, int dex_, int str_, int end_, TEAM team_) |
|
virtual | ~Warrior () |
|
void | setTempOD (int oD_) |
|
void | takeDamage (int dmg_) |
|
virtual void | setIsTurn (bool isTurn_) |
|
bool | isGrounded () const |
|
void | setGrounded (bool isGrounded_) |
|
bool | isGrappling () const |
|
Warrior * | getOtherGrappler () const |
|
virtual bool | grapple (Warrior *otherGrappler_) |
|
virtual bool | stopGrappling () |
|
bool | isAlive () const |
|
void | setDead () |
|
const std::vector< AttackRange * > & | getAttackRanges () const |
|
virtual const AttackRange * | getAttackRange (SPECIAL_MOVE specialMove_) const |
|
void | addEvocationObject (EvocationObject *evoObj_) |
|
std::vector< EvocationObject * > & | getEvocationObjects () |
|
void | snapToGrid () |
|
virtual void | setNonCollidingData (OpenSkyNet::Core::Object *obj_) |
|
virtual void | handleNonCollidingTransformApplied (OpenSkyNet::Core::Object *obj_) |
|
virtual bool | handleCollisions (OpenSkyNet::Core::Object *collidee_, std::vector< OpenSkyNet::CD::HitInfo > &colliders_, float &dt_) |
|
virtual bool | handleOutOfGrid (OpenSkyNet::Core::Object *obj_) |
|
virtual void | handleNewAttackRangeCollisions (AttackRange *collidee_, std::vector< OpenSkyNet::Core::Object * > &colliders_) |
|
virtual void | handleDeletedAttackRangeCollisions (AttackRange *collidee_, std::vector< OpenSkyNet::Core::Object * > &colliders_) |
|
virtual void | setVisible (bool val_) |
|
const
OpenSkyNet::OgreCore::OgreVisibleObject * | getOgreVisibleObject () const |
|
OpenSkyNet::OgreCore::OgreVisibleObject * | getOgreVisibleObject () |
|
Ogre::SceneNode * | getRenderNode () |
|
Ogre::Entity * | getEntity () |
|
void | clearFightingStyles () |
|
void | addFightingStyle (FIGHTING_STYLE style_, int rank_) |
|
const FightingStyleContextMap & | getFightingStyleContexts () const |
|
void | clearSuperPowers () |
|
void | addSuperPower (SUPER_POWER power_) |
|
const SuperPowerContextMap & | getSuperPowerContexts () const |
|
virtual bool | setSuperPowerActive (SUPER_POWER power_, const SuperPower::Warriors &targets_) |
|
bool | isSuperPowerActive (SUPER_POWER power_) |
|
virtual const std::list
< ICollectible * > & | getInventory () const |
|
virtual std::list
< ICollectible * > & | getInventory () |
|
virtual const IWeapon * | getPrimaryWeapon () const |
|
virtual IWeapon * | getPrimaryWeapon () |
|
virtual void | setPrimaryWeapon (IWeapon *weapon_) |
|
int | getGP () const |
|
int | getLvl () const |
|
virtual int | getDex () const |
|
virtual int | getInitDex () const |
|
virtual void | setDex (int dex_) |
|
virtual void | setInitDex (int dex_) |
|
virtual int | getStr () const |
|
virtual int | getInitStr () const |
|
virtual void | setStr (int str_) |
|
virtual void | setInitStr (int str_) |
|
virtual int | getEnd () const |
|
virtual int | getInitEnd () const |
|
virtual void | setEnd (int end_) |
|
virtual void | setInitEnd (int end_) |
|
TEAM | getTeam () const |
|
int | getOO (FIGHTING_STYLE style_=HIGHEST_OO) const |
|
int | getOD () const |
|
int | getInitOD () const |
|
int | getDmgAdj () const |
|
int | getSpeed () const |
|
void | setSpeed (int speed_) |
|
float | getMovementLeftInAction () const |
|
void | disableMovement () |
|
void | enableMovement () |
|
bool | isMovementEnabled () const |
|
void | clearActions () |
|
std::list< Tactics3D::Action * > * | getActions () |
|
const std::list
< Tactics3D::Action * > * | getActions () const |
|
virtual bool | canAddAction (const Tactics3D::Action *action_) const |
|
virtual bool | updateContinuousAction (Tactics3D::Action *&action_) |
|
SPECIAL_MOVE | getSpecialMoveJustPerformed () const |
|
virtual void | addCounterableMove (Warrior *attacker_, SPECIAL_MOVE move_) |
|
virtual bool | canCounter (Warrior *attacker_, SPECIAL_MOVE move_) const |
|
virtual void | getPointInSpread (float spread_, OpenSkyNet::Math::Point< float, 2 > &p_) |
|
const OpenSkyNet::Math::Point
< float, 2 > & | getCachedPointInSpread () |
|
virtual void | getAim (float spread_, OpenSkyNet::Math::Point<> &origin_, OpenSkyNet::Math::Point<> &dir_) |
|
float | getDist (const Warrior *warrior_) const |
|
virtual void | onPostPerformAction (const Action *action_) |
|
virtual void | onHipFire (OpenSkyNet::Core::Object *intendedTarget_, Action *action_) |
|
virtual void | onIronSightsFire (OpenSkyNet::Core::Object *intendedTarget_, Action *action_) |
|
virtual void | onEvocation () |
|
virtual bool | onAttack (std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
|
virtual void | onDefend () |
|
virtual void | onAttacked (const std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
|
virtual void | onDefended () |
|
virtual void | onRoundEnd () |
|
OpenSkyNet::Utils::uint | getNetworkId () const |
|
| ABCObject () |
|
virtual | ~ABCObject () |
|
| Object () |
|
virtual | ~Object () |
|
virtual bool | handleCollisions (Object *collidee_, std::vector< CD::HitInfo > &collisions_, float &dt_) |
|
virtual void | handleNewCollisions (Object *collidee_, std::vector< Object * > &colliders_) |
|
virtual void | handleDeletedCollisions (Object *collidee_, std::vector< Object * > &colliders_) |
|
virtual bool | handleWrongSidedness (Object *collidee_, std::vector< CD::HitInfo > &collisions_) |
|
virtual void | init (AI::LOGIC_IDS logicId_, AI::FSM_IDS fSMId_, AI::State *state_) |
|
virtual void | init (AI::LOGIC_IDS logicId_, AI::FSM_IDS fSMId_, AI::State *state_, AI::KB *kB_) |
|
virtual bool | performLogic (bool includeGlobalKB_=false) |
| returns true if state changed, false otherwise More...
|
|
virtual const AI::State * | getCurrentState () const |
|
virtual AI::KB * | getKB () |
|
|
enum | TEAM { NO_TEAM,
PHILOSOPHER,
MUSICIAN,
MAX_TEAM
} |
|
typedef std::map
< FIGHTING_STYLE,
FightingStyleContext > | FightingStyleContextMap |
|
typedef std::map< SUPER_POWER,
SuperPowerContext > | SuperPowerContextMap |
|
static void | setEvent (OpenSkyNet::Utils::SyncEvent &event_, bool ignoreIfQuitting_) |
|
static void | waitForEvent (OpenSkyNet::Utils::SyncEvent &event_, bool ignoreIfQuitting_) |
|
static void | setPerformEvent (bool ignoreIfQuitting_) |
|
static void | waitForPerformEvent (bool ignoreIfQuitting_) |
|
static OpenSkyNet::Utils::uint | getAttributesBufferLen () |
|
static OpenSkyNet::Utils::uint | serializeAttributes (const Warrior *warrior_, char(&buffer_)[MAX_STRING_SIZE]) |
|
static void | assembleAttributes (char(&buffer_)[MAX_STRING_SIZE], std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
|
static OpenSkyNet::Utils::uint | getActionsBufferLen () |
|
static OpenSkyNet::Utils::uint | serializeActions (const Warrior *warrior_, char(&buffer_)[MAX_STRING_SIZE]) |
|
static void | assembleActions (char(&buffer_)[MAX_STRING_SIZE], const std::vector< Warrior * > &warriors_, OpenSkyNet::Utils::uint warriorIndex_, std::list< Action * > &actions_) |
|
static OpenSkyNet::Utils::uint | getMoveUpdateBufferLen () |
|
static OpenSkyNet::Utils::uint | serializeMoveUpdate (const Warrior *warrior_, int flags_, char(&buffer_)[MAX_STRING_SIZE]) |
|
static void | assembleMoveUpdate (char(&buffer_)[MAX_STRING_SIZE], OpenSkyNet::Utils::uint warriorIndex_, int &flags_, OpenSkyNet::Math::Point<> &pos_, OpenSkyNet::Math::Point<> &axis_, float &radians_) |
|
static OpenSkyNet::Utils::uint | getAttackBufferLen () |
|
static OpenSkyNet::Utils::uint | serializeAttack (const std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_, char(&buffer_)[MAX_STRING_SIZE]) |
|
static void | assembleAttack (char(&buffer_)[MAX_STRING_SIZE], std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
|
static AI::FSM ** | getGlobalFSMs () |
|
struct Tactics3D::Warrior::Override | _override |
|
OpenSkyNet::Utils::uint | _networkId |
|
OpenSkyNet::Core::PhysVisObject * | _pVO |
|
OpenSkyNet::Math::Point | _prevPos |
|
int | _gp |
|
int | _lvl |
|
int | _dex |
|
int | _str |
|
int | _end |
|
int | _initDex |
|
int | _initStr |
|
int | _initEnd |
|
TEAM | _team |
|
int | _oO |
|
int | _oD |
|
int | _prevOD |
|
int | _initOD |
|
int | _dmgAdj |
|
int | _speed |
|
int | _flags |
|
int | _numRoundEndEventsSinceTempOD |
|
FightingStyleContextMap | _fightingStyleContexts |
|
SuperPowerContextMap | _superPowerContexts |
|
bool | _isTurn |
|
bool | _isGrounded |
|
bool | _isGrappling |
|
bool | _isDead |
|
SPECIAL_MOVE | _specialMoveJustPerformed |
|
std::set< CounterableMove > | _counterableMoves |
|
float | _movementLeftInAction |
|
float | _distMovedLastPosSet |
|
std::vector< AttackRange * > | _attackRanges |
|
std::vector< EvocationObject * > | _evocationObjects |
|
std::list< Action * > | _actions |
|
Warrior * | _otherGrappler |
|
OpenSkyNet::Math::Point< float, 2 > | _cachedPointInSpread |
|
std::list< ICollectible * > | _inventory |
|
std::string | _name |
|
bool | _hasPosChanged |
|
bool | _hasRotChanged |
|
bool | _hasVelChanged |
|
bool | _hasAngVelChanged |
|
static OpenSkyNet::Utils::SyncEvent | _performEvent |
|
A non-player character in the game.