diff options
author | Eugene Sandulenko | 2005-05-21 03:30:23 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-21 03:30:23 +0000 |
commit | f9e4a2d2a24fbfc8b9889ebc51cf40b61fada4cc (patch) | |
tree | de010151a79c39cc6663f68a5da4461db5c50d0b /scumm/costume.h | |
parent | 50db5af186ce07e5ae9433d241638e2dea930542 (diff) | |
download | scummvm-rg350-f9e4a2d2a24fbfc8b9889ebc51cf40b61fada4cc.tar.gz scummvm-rg350-f9e4a2d2a24fbfc8b9889ebc51cf40b61fada4cc.tar.bz2 scummvm-rg350-f9e4a2d2a24fbfc8b9889ebc51cf40b61fada4cc.zip |
Stubs for C64 MM costume code. Content will follow. Fixes crash in intro
script
svn-id: r18198
Diffstat (limited to 'scumm/costume.h')
-rw-r--r-- | scumm/costume.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/scumm/costume.h b/scumm/costume.h index 9cca20eaea..905c1d9940 100644 --- a/scumm/costume.h +++ b/scumm/costume.h @@ -67,6 +67,22 @@ protected: byte increaseAnim(Actor *a, int slot); }; +class C64CostumeLoader : public BaseCostumeLoader { +public: + int _id; + const byte *_baseptr; + const byte *_dataOffsets; + byte _numAnim; + + C64CostumeLoader(ScummEngine *vm) : BaseCostumeLoader(vm) {} + void loadCostume(int id); + void costumeDecodeData(Actor *a, int frame, uint usemask); + byte increaseAnims(Actor *a); + +protected: + byte increaseAnim(Actor *a, int slot); +}; + class ClassicCostumeRenderer : public BaseCostumeRenderer { protected: ClassicCostumeLoader _loaded; @@ -108,6 +124,21 @@ protected: byte drawLimb(const Actor *a, int limb); }; +class C64CostumeRenderer : public BaseCostumeRenderer { +protected: + C64CostumeLoader _loaded; + +public: + C64CostumeRenderer(ScummEngine *vm) : BaseCostumeRenderer(vm), _loaded(vm) {} + + void setPalette(byte *palette) {} + void setFacing(const Actor *a) {} + void setCostume(int costume); + +protected: + byte drawLimb(const Actor *a, int limb); +}; + } // End of namespace Scumm #endif |