ScummVM API documentation
Grim::EMICostume Class Reference
Inheritance diagram for Grim::EMICostume:
Grim::Costume Grim::Object

Public Member Functions

 EMICostume (const Common::String &filename, Actor *owner, Costume *prevCost)
 
void load (Common::SeekableReadStream *data) override
 
void draw () override
 
int update (uint time) override
 
void playChore (int num, uint msecs=0) override
 
void playChoreLooping (int num, uint msecs=0) override
 
void saveState (SaveGame *state) const override
 
bool restoreState (SaveGame *state) override
 
MaterialloadMaterial (const Common::String &name, bool clamp)
 
MaterialfindMaterial (const Common::String &name)
 
void setHead (const char *joint, const Math::Vector3d &offset)
 
void setHeadLimits (float yawRange, float maxPitch, float minPitch)
 
EMIModelgetEMIModel () const
 
EMIModelgetEMIModel (int num) const
 
- Public Member Functions inherited from Grim::Costume
 Costume (const Common::String &filename, Actor *owner, Costume *prevCost)
 
const Common::StringgetFilename () const
 
void playChore (const char *name, uint msecs=0)
 
void playChoreLooping (const char *name, uint msecs=0)
 
void setChoreLastFrame (int num)
 
void setChoreLooping (int num, bool val)
 
void stopChore (int num, uint msecs=0)
 
void fadeChoreIn (int chore, uint msecs)
 
void fadeChoreOut (int chore, uint msecs)
 
ModelNodegetModelNodes ()
 
ModelgetModel ()
 
void setColormap (const Common::String &map)
 
void stopChores (bool ignoreLoopingChores=false, int msecs=0)
 
int isChoring (const char *name, bool excludeLooping)
 
int isChoring (int num, bool excludeLooping)
 
int isChoring (bool excludeLooping)
 
int getNumChores () const
 
ChoregetChore (const char *name)
 
ChoregetChore (int i)
 
int getChoreId (const char *name)
 
const Common::List< Chore * > & getPlayingChores () const
 
void setHead (int joint1, int joint2, int joint3, float maxRoll, float maxPitch, float maxYaw)
 
void setLookAtRate (float rate)
 
float getLookAtRate () const
 
virtual void moveHead (bool entering, const Math::Vector3d &lookAt)
 
int getHeadJoint () const
 
CMapgetCMap ()
 
void animate ()
 
void getBoundingBox (int *x1, int *y1, int *x2, int *y2)
 
void setPosRotate (const Math::Vector3d &pos, const Math::Angle &pitch, const Math::Angle &yaw, const Math::Angle &roll)
 
Math::Matrix4 getMatrix () const
 
ActorgetOwner () const
 
CostumegetPreviousCostume () const
 
ComponentgetComponent (int num)
 
- Public Member Functions inherited from Grim::Object
void reset ()
 
void reference ()
 
void dereference ()
 
int32 getId () const
 

Public Attributes

EMIChore_wearChore
 
EMISkelComponent_emiSkel
 

Additional Inherited Members

- Protected Member Functions inherited from Grim::Costume
virtual ComponentloadComponent (tag32 tag, Component *parent, int parentID, const char *name, Component *prevComponent)
 
void load (TextSplitter &ts, Costume *prevCost)
 
ModelComponentgetMainModelComponent () const
 
- Protected Attributes inherited from Grim::Costume
Common::String _fname
 
Costume_prevCostume
 
int _numComponents
 
Component ** _components
 
BaseHead_head
 
ObjectPtr< CMap_cmap
 
int _numChores
 
Chore ** _chores
 
Common::List< Chore * > _playingChores
 
Math::Matrix4 _matrix
 
Actor_owner
 
float _lookAtRate
 

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