ScummVM API documentation
Tetraedge::Character Class Reference
Inheritance diagram for Tetraedge::Character:
Tetraedge::TeAnimation Tetraedge::TeObject

Classes

struct  AnimCacheElement
 
struct  AnimSettings
 
struct  Callback
 
struct  CharacterSettings
 
struct  WalkSettings
 
class  Water
 

Public Types

enum  WalkPart { WalkPart_Start, WalkPart_Loop, WalkPart_EndD, WalkPart_EndG }
 

Public Member Functions

void addCallback (const Common::String &s1, const Common::String &s2, float f1, float f2)
 
float animLength (const TeModelAnimation &modelanim, int bone, int lastframe)
 
float animLengthFromFile (const Common::String &animname, uint32 *pframeCount, uint lastframe=9999)
 
bool blendAnimation (const Common::String &animname, float amount, bool repeat, bool returnToIdle)
 
TeVector3f32 correctPosition (const TeVector3f32 &pos)
 
float curveOffset ()
 
void deleteAllCallback ()
 
void deleteAnim ()
 
void deleteCallback (const Common::String &str1, const Common::String &str2, float f)
 
void endMove ()
 
const WalkSettingsgetCurrentWalkFiles ()
 
bool isFramePassed (int frameno)
 
bool isWalkEnd ()
 
int leftStepFrame (enum WalkPart walkpart)
 
int rightStepFrame (enum WalkPart walkpart)
 
bool loadModel (const Common::String &name, bool unused)
 
bool onBonesUpdate (const Common::String &boneName, TeMatrix4x4 &boneMatrix)
 
bool onModelAnimationFinished ()
 
void permanentUpdate ()
 
void placeOnCurve (TeIntrusivePtr< TeBezierCurve > &curve)
 
void removeAnim ()
 
void removeFromCurve ()
 
Common::String rootBone () const
 
bool setAnimation (const Common::String &name, bool repeat, bool returnToIdle=false, bool unused=false, int startFrame=-1, int endFrame=9999)
 
void setAnimationSound (const Common::String &name, uint offset)
 
void setCurveOffset (float offset)
 
void setFreeMoveZone (TeFreeMoveZone *zone)
 
bool setShadowVisible (bool visible)
 
void setStepSound (const Common::String &stepSound1, const Common::String &stepSound2)
 
float speedFromAnim (double amount)
 
float translationFromAnim (const TeModelAnimation &anim, int bone, int frame)
 
TeVector3f32 translationVectorFromAnim (const TeModelAnimation &anim, int bone, int frame)
 
TeTRS trsFromAnim (const TeModelAnimation &anim, int bone, int frame)
 
void update (double percentval) override
 
void updateAnimFrame ()
 
void updatePosition (float curveOffset)
 
Common::String walkAnim (WalkPart part)
 
void walkMode (const Common::String &mode)
 
void walkTo (float curveEnd, bool walkFlag)
 
const CharacterSettingscharacterSettings () const
 
Common::StringwalkModeStr ()
 
const Common::StringcurAnimName () const
 
TeFreeMoveZonefreeMoveZone ()
 
const Common::StringfreeMoveZoneName () const
 
void setFreeMoveZoneName (const Common::String &val)
 
bool needsSomeUpdate () const
 
void setNeedsSomeUpdate (bool val)
 
void setCharLookingAt (Character *other)
 
void setCharLookingAtOffset (float val)
 
float charLookingAtOffset () const
 
const TeVector3f32positionCharacter () const
 
void setPositionCharacter (const TeVector3f32 &val)
 
bool positionFlag () const
 
void setPositionFlag (bool val)
 
void setCurveStartLocation (const TeVector3f32 &val)
 
bool hasAnchor () const
 
void setHasAnchor (bool val)
 
const TeVector2f32headRotation () const
 
void setHeadRotation (const TeVector2f32 &val)
 
void setLastHeadRotation (const TeVector2f32 &val)
 
const TeVector3f32lastHeadBoneTrans () const
 
CharactercharLookingAt ()
 
bool lookingAtTallThing () const
 
void setLookingAtTallThing (bool val)
 
TeIntrusivePtr< TeBezierCurvecurve ()
 
void setRecallageY (bool val)
 
- Public Member Functions inherited from Tetraedge::TeAnimation
virtual void cont ()
 
virtual void pause ()
 
virtual void stop ()
 
virtual void reset ()
 
void play ()
 
void seekToStart ()
 
TeSignal0ParamonStop ()
 
TeSignal0ParamonFinished ()
 
- Public Member Functions inherited from Tetraedge::TeObject
void deleteLater ()
 

Static Public Member Functions

static void animCacheFreeAll ()
 
static void animCacheFreeOldest ()
 
static TeIntrusivePtr< TeModelAnimationanimCacheLoad (const Common::Path &path)
 
static bool loadSettings (const Common::Path &path)
 
static void cleanup ()
 
- Static Public Member Functions inherited from Tetraedge::TeAnimation
static void pauseAll ()
 
static void resumeAll ()
 
static void updateAll ()
 
static void cleanup ()
 
- Static Public Member Functions inherited from Tetraedge::TeObject
static void deleteLaterStatic (TeObject *obj)
 
static void deleteNow ()
 
static void cleanup ()
 

Public Attributes

TeIntrusivePtr< TeModel_model
 
TeIntrusivePtr< TeModel_shadowModel [2]
 
TeSignal1Param< const Common::String & > _characterAnimPlayerFinishedSignal
 
TeSignal1Param< const Common::String & > _onCharacterAnimFinishedSignal
 
- Public Attributes inherited from Tetraedge::TeAnimation
TeTimer _runTimer
 
int _repeatCount
 

Additional Inherited Members

- Protected Attributes inherited from Tetraedge::TeAnimation
bool _dontRepeat
 
TeSignal0Param _onStopSignal
 
TeSignal0Param _onFinishedSignal
 

The documentation for this class was generated from the following file: