22 #ifndef SCUMM_COSTUME_H 23 #define SCUMM_COSTUME_H 25 #include "scumm/base-costume.h" 32 const byte *_animCmds;
33 const byte *_dataOffsets;
35 const byte *_frameOffsets;
43 _id(-1), _baseptr(0), _animCmds(0), _dataOffsets(0), _palette(0),
44 _frameOffsets(0), _numColors(0), _numAnim(0), _format(0), _mirror(
false) {}
46 void loadCostume(
int id)
override;
47 void costumeDecodeData(
Actor *a,
int frame, uint usemask)
override;
48 bool increaseAnims(
Actor *a)
override;
51 bool increaseAnim(
Actor *a,
int slot);
58 const byte *_dataOffsets;
62 void loadCostume(
int id)
override;
63 void costumeDecodeData(
Actor *a,
int frame, uint usemask)
override;
64 bool increaseAnims(
Actor *a)
override;
67 bool increaseAnim(
Actor *a,
int slot);
73 void loadCostume(
int id)
override;
74 void costumeDecodeData(
Actor *a,
int frame, uint usemask)
override;
75 bool increaseAnims(
Actor *a)
override;
76 byte getFrame(
Actor *a,
int limb);
79 bool increaseAnim(
Actor *a,
int limb);
92 memset(_palette, 0,
sizeof(_palette));
95 void setPalette(uint16 *palette)
override;
96 void setFacing(
const Actor *a)
override;
97 void setCostume(
int costume,
int shadow)
override;
100 byte drawLimb(
const Actor *a,
int limb)
override;
109 byte mainRoutine(
int xmoveCur,
int ymoveCur);
119 void setPalette(uint16 *palette)
override;
120 void setFacing(
const Actor *a)
override;
121 void setCostume(
int costume,
int shadow)
override;
124 byte drawLimb(
const Actor *a,
int limb)
override;
132 void setPalette(uint16 *palette)
override;
143 void setPalette(uint16 *palette)
override {}
144 void setFacing(
const Actor *a)
override {}
145 void setCostume(
int costume,
int shadow)
override;
148 byte drawLimb(
const Actor *a,
int limb)
override;
Definition: base-costume.h:108
Definition: costume.h:112
Definition: costume.h:136
Definition: base-costume.h:68
Definition: base-costume.h:49