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

#include <costumeemi.h>

Inheritance diagram for Grim::EMICostume:
Collaboration diagram for Grim::EMICostume:

List of all members.

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 Attributes

EMIChore_wearChore
EMISkelComponent_emiSkel

Private Member Functions

ComponentloadEMIComponent (Component *parent, int parentID, const char *name, Component *prevComponent)
void setWearChore (EMIChore *chore)

Static Private Member Functions

static bool compareChores (const Chore *c1, const Chore *c2)

Private Attributes

Common::List< ObjectPtr
< Material > > 
_materials

Friends

class Chore

Detailed Description

Definition at line 41 of file costumeemi.h.


Constructor & Destructor Documentation

Grim::EMICostume::EMICostume ( const Common::String filename,
Actor owner,
Costume prevCost 
)

Definition at line 44 of file costumeemi.cpp.


Member Function Documentation

static bool Grim::EMICostume::compareChores ( const Chore c1,
const Chore c2 
) [static, private]
void Grim::EMICostume::draw (  )  [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 186 of file costumeemi.cpp.

Material * Grim::EMICostume::findMaterial ( const Common::String name  ) 

Definition at line 274 of file costumeemi.cpp.

EMIModel * Grim::EMICostume::getEMIModel ( int  num  )  const

Definition at line 314 of file costumeemi.cpp.

EMIModel * Grim::EMICostume::getEMIModel (  )  const

Definition at line 308 of file costumeemi.cpp.

void Grim::EMICostume::load ( Common::SeekableReadStream data  )  [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 48 of file costumeemi.cpp.

Component * Grim::EMICostume::loadEMIComponent ( Component parent,
int  parentID,
const char *  name,
Component prevComponent 
) [private]

Definition at line 146 of file costumeemi.cpp.

Material * Grim::EMICostume::loadMaterial ( const Common::String name,
bool  clamp 
)

Definition at line 278 of file costumeemi.cpp.

void Grim::EMICostume::playChore ( int  num,
uint  msecs = 0 
) [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 128 of file costumeemi.cpp.

void Grim::EMICostume::playChoreLooping ( int  num,
uint  msecs = 0 
) [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 137 of file costumeemi.cpp.

bool Grim::EMICostume::restoreState ( SaveGame state  )  [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 237 of file costumeemi.cpp.

void Grim::EMICostume::saveState ( SaveGame state  )  const [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 226 of file costumeemi.cpp.

void Grim::EMICostume::setHead ( const char *  joint,
const Math::Vector3d offset 
)

Definition at line 300 of file costumeemi.cpp.

void Grim::EMICostume::setHeadLimits ( float  yawRange,
float  maxPitch,
float  minPitch 
)

Definition at line 304 of file costumeemi.cpp.

void Grim::EMICostume::setWearChore ( EMIChore chore  )  [private]

Definition at line 289 of file costumeemi.cpp.

int Grim::EMICostume::update ( uint  time  )  [override, virtual]

Reimplemented from Grim::Costume.

Definition at line 206 of file costumeemi.cpp.


Friends And Related Function Documentation

friend class Chore [friend]

Reimplemented from Grim::Costume.

Definition at line 73 of file costumeemi.h.


Member Data Documentation

Definition at line 68 of file costumeemi.h.

Definition at line 65 of file costumeemi.h.


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


Generated on Sat Sep 14 2019 05:04:19 for ResidualVM by doxygen 1.7.1
curved edge   curved edge