diff options
author | Max Horn | 2005-03-27 01:07:22 +0000 |
---|---|---|
committer | Max Horn | 2005-03-27 01:07:22 +0000 |
commit | abcf7bf2de88c3926843fa3fd613e50f5ea63cd5 (patch) | |
tree | ac27f9a9639270ceff80adb478f19fba339ea9bc /scumm/akos.h | |
parent | 5bd26a52df502391714b539df30eb76e50c72cf7 (diff) | |
download | scummvm-rg350-abcf7bf2de88c3926843fa3fd613e50f5ea63cd5.tar.gz scummvm-rg350-abcf7bf2de88c3926843fa3fd613e50f5ea63cd5.tar.bz2 scummvm-rg350-abcf7bf2de88c3926843fa3fd613e50f5ea63cd5.zip |
Tie the AKOS code into the new costume infrastructure, too
svn-id: r17259
Diffstat (limited to 'scumm/akos.h')
-rw-r--r-- | scumm/akos.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/scumm/akos.h b/scumm/akos.h index 1055f9ab88..bbd1f41f60 100644 --- a/scumm/akos.h +++ b/scumm/akos.h @@ -37,18 +37,26 @@ struct CostumeData; struct AkosHeader; struct AkosOffset; -/* TODO: class AkosCostumeLoader : public BaseCostumeLoader { +protected: + const byte *_akos; + public: - AkosCostumeLoader(ScummEngine *vm); + AkosCostumeLoader(ScummEngine *vm) : BaseCostumeLoader(vm) {} void loadCostume(int id); byte increaseAnims(Actor *a); void costumeDecodeData(Actor *a, int frame, uint usemask); //void animateLimb(int limb, int f); + bool hasManyDirections(int id) { + loadCostume(id); + return hasManyDirections(); + } + +protected: + bool hasManyDirections(); }; -*/ class AkosRenderer : public BaseCostumeRenderer { protected: |