ScummVM API documentation
Grim::ModelComponent Class Reference
Inheritance diagram for Grim::ModelComponent:
Grim::Component Grim::MainModelComponent

Public Member Functions

 ModelComponent (Component *parent, int parentID, const char *filename, Component *prevComponent, tag32 tag)
 
void init ()
 
void setKey (int val)
 
int update (uint time)
 
void animate ()
 
void reset ()
 
void resetColormap ()
 
void restoreState (SaveGame *state)
 
void translateObject (bool reset)
 
AnimManagergetAnimManager () const
 
ModelNodegetHierarchy ()
 
int getNumNodes ()
 
ModelgetModel ()
 
void draw ()
 
void getBoundingBox (int *x1, int *y1, int *x2, int *y2)
 
- Public Member Functions inherited from Grim::Component
 Component (Component *parent, int parentID, const char *name, tag32 tag)
 
CMapgetCMap ()
 
virtual void setColormap (CMap *c)
 
bool isVisible ()
 
ComponentgetParent ()
 
virtual void setMatrix (const Math::Matrix4 &)
 
virtual void setMapName (char *)
 
virtual void fade (Animation::FadeMode, int)
 
virtual void advance (uint msecs)
 
virtual void setPaused (bool paused)
 
virtual void saveState (SaveGame *)
 
bool isComponentType (char a0, char a1, char a2, char a3)
 

Static Public Member Functions

static void translateObject (ModelNode *node, bool reset)
 

Protected Attributes

Model_obj
 
ModelNode_hier
 
AnimManager_animation
 
Component_prevComp
 
bool _animated
 
- Protected Attributes inherited from Grim::Component
ObjectPtr< CMap_cmap
 
ObjectPtr< CMap_previousCmap
 
tag32 _tag
 
int _parentID
 
bool _visible
 
Component_parent
 
Component_child
 
Component_sibling
 
Costume_cost
 
Common::String _name
 

Additional Inherited Members

- Protected Member Functions inherited from Grim::Component
void setCostume (Costume *cost)
 
void setParent (Component *newParent)
 
void removeChild (Component *child)
 
void resetHierCMap ()
 

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