22 #ifndef HOPKINS_ANIM_H 23 #define HOPKINS_ANIM_H 25 #include "common/scummsys.h" 26 #include "common/endian.h" 27 #include "common/path.h" 28 #include "graphics/surface.h" 49 bool _clearAnimationFl;
54 int loadSpriteBank(
int idx,
const Common::Path &filename);
55 void searchAnim(
const byte *data,
int animIndex,
int count);
66 void playAnim(
const Common::Path &hiresName,
const Common::Path &lowresName, uint32 rate1, uint32 rate2, uint32 rate3,
bool skipSeqFl =
false);
67 void playAnim2(
const Common::Path &hiresName,
const Common::Path &lowresName, uint32 rate1, uint32 rate2, uint32 rate3);
68 void playSequence(
const Common::Path &file, uint32 rate1, uint32 rate2, uint32 rate3,
bool skipEscFl,
bool skipSeqFl,
bool noColFl =
false);
69 void playSequence2(
const Common::Path &file, uint32 rate1, uint32 rate2, uint32 rate3,
bool skipSeqFl =
false);
71 void setClearAnimFlag() { _clearAnimationFl =
true; }
72 void unsetClearAnimFlag() { _clearAnimationFl =
false; }