ScummVM API documentation
Toon::CharacterDrew Class Reference
Inheritance diagram for Toon::CharacterDrew:
Toon::Character

Public Member Functions

 CharacterDrew (ToonEngine *vm)
 
bool setupPalette () override
 
void playStandingAnim () override
 
void setPosition (int16 x, int16 y) override
 
void resetScale () override
 
void update (int32 timeIncrement) override
 
void playWalkAnim (int32 start, int32 end) override
 
int32 getRandomIdleAnim () override
 
- Public Member Functions inherited from Toon::Character
 Character (ToonEngine *vm)
 
virtual void init ()
 
virtual int32 getId ()
 
virtual void setId (int32 id)
 
virtual void setFacing (int32 facing)
 
virtual void forceFacing (int32 facing)
 
virtual int32 getFacing ()
 
virtual void setAnimScript (int32 animScriptId)
 
virtual void setSceneAnimationId (int32 sceneAnimationId)
 
virtual void setDefaultSpecialAnimationId (int32 defaultAnimationId)
 
virtual int32 getAnimScript ()
 
virtual int32 getSceneAnimationId ()
 
virtual void setFlag (int flag)
 
virtual int32 getFlag ()
 
virtual int32 getAnimFlag ()
 
virtual void setAnimFlag (int32 flag)
 
virtual void forcePosition (int16 x, int16 y)
 
virtual int16 getX ()
 
virtual int16 getY ()
 
virtual int16 getFinalX ()
 
virtual int16 getFinalY ()
 
virtual bool walkTo (int16 newPosX, int16 newPosY)
 
virtual bool getVisible ()
 
virtual void setVisible (bool visible)
 
virtual bool loadWalkAnimation (const Common::String &animName)
 
virtual bool loadIdleAnimation (const Common::String &animName)
 
virtual bool loadTalkAnimation (const Common::String &animName)
 
virtual bool loadShadowAnimation (const Common::String &animName)
 
virtual void playTalkAnim ()
 
virtual void playAnim (int32 animId, int32 unused, int32 flags)
 
virtual int32 getScale ()
 
virtual AnimationInstancegetAnimationInstance ()
 
virtual void setAnimationInstance (AnimationInstance *instance)
 
virtual void save (Common::WriteStream *stream)
 
virtual void load (Common::ReadStream *stream, int32 saveGameVersion)
 
virtual void stopWalk ()
 
virtual void stopSpecialAnim ()
 
virtual void updateIdle ()
 
virtual void updateTimers (int32 relativeAdd)
 
virtual void setTalking (bool talking)
 
virtual bool isTalking ()
 
virtual void plotPath (Graphics::Surface &surface)
 
int32 getFacingFromDirection (int16 dx, int16 dy)
 
const SpecialCharacterAnimationgetSpecialAnimation (int32 characterId, int32 animationId)
 

Protected Attributes

int32 _currentScale
 
- Protected Attributes inherited from Toon::Character
ToonEngine_vm
 
int32 _id
 
int32 _animScriptId
 
int32 _animSpecialId
 
int32 _animSpecialDefaultId
 
int32 _sceneAnimationId
 
int32 _lineToSayId
 
int32 _time
 
int16 _x
 
int16 _y
 
int32 _z
 
int16 _finalX
 
int16 _finalY
 
int32 _facing
 
int32 _flags
 
int32 _animFlags
 
int32 _scale
 
int32 _nextIdleTime
 
bool _visible
 
bool _blockingWalk
 
int32 _speed
 
int32 _lastWalkTime
 
int32 _numPixelToWalk
 
bool _isTalking
 
AnimationInstance_animationInstance
 
AnimationInstance_shadowAnimationInstance
 
Animation_walkAnim
 
Animation_idleAnim
 
Animation_talkAnim
 
Animation_shadowAnim
 
Animation_specialAnim
 
Common::Array< Common::Point_currentPath
 
uint32 _currentPathNode
 
int32 _currentWalkStamp
 
int32 _currentFacingStamp
 

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