|
| | PC (OpenSkyNet::Utils::uint networkId_, OpenSkyNet::Core::PhysVisObject *pVO_, int gp_, int lvl_, int dex_, int str_, int end_, TEAM team_, OpenSkyNet::Core::Cinematographer *cine_, const std::string &spreadWindowName_, OpenSkyNet::Utils::Socket *socket_) |
| |
| virtual | ~PC () |
| |
| virtual void | setActions () |
| |
|
| virtual void | setPos (const OpenSkyNet::Math::Point<> &pos_) |
| |
|
| virtual void | handleNonCollidingTransformApplied (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 | 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 () |
| |
| virtual void | onHipFire (OpenSkyNet::Core::Object *intendedTarget_, Action *action_) |
| |
| virtual void | onIronSightsFire (OpenSkyNet::Core::Object *intendedTarget_, Action *action_) |
| |
| virtual void | onEvocation () |
| |
| virtual void | onAttacked (const std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
| |
|
| void | sendAttributes () |
| |
| void | sendActions () |
| |
| void | sendMoveUpdate (int flags_) |
| |
| void | sendAttack (const std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
| |
| | 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 () |
| |
| virtual bool | doPerformAction (const Action *action_, bool &doDelay_, bool &doSubstitute_, Action *&substitute_) |
| |
| void | snapToGrid () |
| |
| virtual OpenSkyNet::Math::Point | getPos () const |
| |
| virtual void | getPos (OpenSkyNet::Math::Point<> &pos_) const |
| |
| 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 OpenSkyNet::Math::Point | getAngVel () const |
| |
| virtual void | getAngVel (OpenSkyNet::Math::Point<> &angVel_) const |
| |
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 void | setNonCollidingData (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 | 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 bool | onAttack (std::vector< OpenSkyNet::Utils::TaggedUnion > &eventParams_) |
| |
| virtual void | onDefend () |
| |
| virtual void | onDefended () |
| |
| virtual void | onRoundEnd () |
| |
| OpenSkyNet::Utils::uint | getNetworkId () const |
| |
| | ABCObject () |
| |
| virtual | ~ABCObject () |
| |
| virtual bool | getHasVelChanged () const |
| |
| virtual void | setHasVelChanged (bool val_) |
| |
| virtual void | setAngVel (const Math::Point<> &angVel_) |
| |
| virtual bool | getHasAngVelChanged () const |
| |
| virtual void | setHasAngVelChanged (bool val_) |
| |
| virtual const std::string & | getName () const |
| |
| virtual void | setName (const std::string &name_) |
| |
| | 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_) |
| |
|
| 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_) |
| |
| struct Tactics3D::Warrior::Override | _override |
| |
static const
OpenSkyNet::Utils::uint | MAX_FIGHTING_STYLES = 4 |
| |
static const
OpenSkyNet::Utils::uint | MAX_SUPER_POWERS = 2 |
| |
static const
OpenSkyNet::Utils::uint | MAX_ACTIONS = 3 |
| |
| static const volatile bool * | _quit = 0 |
| |
| static bool | _isSmokeTest = false |
| |
| static OpenSkyNet::Utils::SyncEvent | _performEvent |
| |
A player character in the game.