22 #ifndef GRIM_EMICHORE_H 23 #define GRIM_EMICHORE_H 25 #include "engines/grim/costume/chore.h" 26 #include "engines/grim/pool.h" 27 #include "engines/grim/emi/costume/emimesh_component.h" 28 #include "engines/grim/emi/costume/emiskel_component.h" 34 EMIChore(
char name[32],
int id,
Costume *owner,
int length,
int numTracks);
35 static int32 getStaticTag() {
return MKTAG(
'C',
'H',
'O',
'R'); }
37 void update(uint msecs)
override;
38 void stop(uint msecs)
override;
40 bool isWearChore() {
return _mesh && _skeleton; }
41 void saveState(
SaveGame *state)
const override;
42 void restoreState(
SaveGame *state)
override;
47 void fade(Animation::FadeMode mode, uint msecs)
override;
49 Animation::FadeMode _fadeMode;
Definition: emiskel_component.h:33
Definition: savegame.h:33
Definition: component.h:38
#define MKTAG(a0, a1, a2, a3)
Definition: endian.h:188
Definition: emimesh_component.h:32
Definition: emichore.h:32