#include <character.hpp>
List of all members.
Public Member Functions |
| | CharacterController (const MWWorld::Ptr &ptr, MWRender::Animation *anim) |
| virtual | ~CharacterController () |
| void | updateContinuousVfx () |
| void | updatePtr (const MWWorld::Ptr &ptr) |
| void | update (float duration) |
| void | playGroup (const std::string &groupname, int mode, int count) |
| void | skipAnim () |
| bool | isAnimPlaying (const std::string &groupName) |
| void | kill () |
| void | resurrect () |
| bool | isDead () const |
| void | forceStateUpdate () |
Private Types |
typedef std::deque< std::pair
< std::string, size_t > > | AnimationQueue |
Private Member Functions |
| void | refreshCurrentAnims (CharacterState idle, CharacterState movement, bool force=false) |
| void | clearAnimQueue () |
| bool | updateNpcState (bool onground, bool inwater, bool isrunning, bool sneak) |
| void | updateVisibility () |
Static Private Member Functions |
| static void | getWeaponGroup (WeaponType weaptype, std::string &group) |
static
MWWorld::ContainerStoreIterator | getActiveWeapon (NpcStats &stats, MWWorld::InventoryStore &inv, WeaponType *weaptype) |
Private Attributes |
| MWWorld::Ptr | mPtr |
| MWRender::Animation * | mAnimation |
| AnimationQueue | mAnimQueue |
| CharacterState | mIdleState |
| std::string | mCurrentIdle |
| CharacterState | mMovementState |
| std::string | mCurrentMovement |
| float | mMovementSpeed |
| CharacterState | mDeathState |
| std::string | mCurrentDeath |
| UpperBodyCharacterState | mUpperBodyState |
| JumpingState | mJumpState |
| std::string | mCurrentJump |
| WeaponType | mWeaponType |
| std::string | mCurrentWeapon |
| bool | mSkipAnim |
| float | mSecondsOfSwimming |
| float | mSecondsOfRunning |
| std::string | mAttackType |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: