ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <component.h>

Inheritance diagram for Grim::Component:
Collaboration diagram for Grim::Component:

List of all members.

Public Member Functions

 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 init ()
virtual void setKey (int)
virtual void setMapName (char *)
virtual int update (uint time)
virtual void animate ()
virtual void draw ()
virtual void reset ()
virtual void fade (Animation::FadeMode, int)
virtual void advance (uint msecs)
virtual void setPaused (bool paused)
virtual void resetColormap ()
virtual void saveState (SaveGame *)
virtual void restoreState (SaveGame *)
virtual ~Component ()
bool isComponentType (char a0, char a1, char a2, char a3)

Protected Member Functions

void setCostume (Costume *cost)
void setParent (Component *newParent)
void removeChild (Component *child)
void resetHierCMap ()

Protected Attributes

ObjectPtr< CMap_cmap
ObjectPtr< CMap_previousCmap
tag32 _tag
int _parentID
bool _visible
Component_parent
Component_child
Component_sibling
Costume_cost
Common::String _name

Friends

class Costume
class EMICostume

Detailed Description

Definition at line 38 of file component.h.


Constructor & Destructor Documentation

Grim::Component::Component ( Component parent,
int  parentID,
const char *  name,
tag32  tag 
)

Definition at line 29 of file component.cpp.

Grim::Component::~Component (  )  [virtual]

Definition at line 36 of file component.cpp.


Member Function Documentation

virtual void Grim::Component::advance ( uint  msecs  )  [inline, virtual]

Reimplemented in Grim::EMIAnimComponent.

Definition at line 55 of file component.h.

virtual void Grim::Component::animate (  )  [inline, virtual]

Reimplemented in Grim::ModelComponent, and Grim::EMISkelComponent.

Definition at line 51 of file component.h.

virtual void Grim::Component::fade ( Animation::FadeMode  ,
int   
) [inline, virtual]

Reimplemented in Grim::KeyframeComponent, and Grim::EMIAnimComponent.

Definition at line 54 of file component.h.

CMap * Grim::Component::getCMap (  ) 

Definition at line 61 of file component.cpp.

Component* Grim::Component::getParent (  )  [inline]

Definition at line 45 of file component.h.

bool Grim::Component::isComponentType ( char  a0,
char  a1,
char  a2,
char  a3 
) [inline]

Definition at line 62 of file component.h.

bool Grim::Component::isVisible (  ) 

Definition at line 55 of file component.cpp.

void Grim::Component::removeChild ( Component child  )  [protected]

Definition at line 82 of file component.cpp.

virtual void Grim::Component::resetColormap (  )  [inline, virtual]

Reimplemented in Grim::MaterialComponent, and Grim::ModelComponent.

Definition at line 57 of file component.h.

void Grim::Component::resetHierCMap (  )  [protected]

Definition at line 92 of file component.cpp.

virtual void Grim::Component::restoreState ( SaveGame  )  [inline, virtual]
virtual void Grim::Component::saveState ( SaveGame  )  [inline, virtual]
void Grim::Component::setColormap ( CMap c  )  [virtual]

Reimplemented in Grim::MainModelComponent.

Definition at line 47 of file component.cpp.

void Grim::Component::setCostume ( Costume cost  )  [inline, protected]

Definition at line 73 of file component.h.

virtual void Grim::Component::setMapName ( char *   )  [inline, virtual]

Definition at line 49 of file component.h.

virtual void Grim::Component::setMatrix ( const Math::Matrix4  )  [inline, virtual]

Reimplemented in Grim::MeshComponent.

Definition at line 46 of file component.h.

void Grim::Component::setParent ( Component newParent  )  [protected]

Definition at line 72 of file component.cpp.

virtual void Grim::Component::setPaused ( bool  paused  )  [inline, virtual]

Reimplemented in Grim::EMIAnimComponent.

Definition at line 56 of file component.h.


Friends And Related Function Documentation

friend class Costume [friend]

Definition at line 78 of file component.h.

friend class EMICostume [friend]

Definition at line 79 of file component.h.


Member Data Documentation

Definition at line 69 of file component.h.

Definition at line 65 of file component.h.

Definition at line 70 of file component.h.

Definition at line 71 of file component.h.

Definition at line 69 of file component.h.

int Grim::Component::_parentID [protected]

Definition at line 67 of file component.h.

Definition at line 65 of file component.h.

Definition at line 69 of file component.h.

Definition at line 66 of file component.h.

bool Grim::Component::_visible [protected]

Definition at line 68 of file component.h.


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


Generated on Sat Mar 16 2019 05:05:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge