28 #ifndef GOB_PREGOB_SEQFILE_H 29 #define GOB_PREGOB_SEQFILE_H 31 #include "common/system.h" 32 #include "common/array.h" 33 #include "common/list.h" 39 class SeekableReadStream;
70 void play(
bool abortable =
true, uint16 endFrame = 0xFFFF, uint16 frameRate = 0);
78 uint16 getFrame()
const;
81 void seekFrame(uint16 frame);
84 uint addLoop(uint16 startFrame, uint16 endFrame, uint16 loopCount);
87 void skipLoop(uint loopID);
90 void delLoop(uint loopID);
96 virtual void handleFrameEvent();
98 virtual void handleInput(int16 key, int16 mouseX, int16 mouseY, MouseButtons mouseButtons);
103 static const uint kObjectCount = 4;
106 struct BackgroundKey {
113 struct AnimationKey {
162 Backgrounds _backgrounds;
163 Animations _animations;
165 BackgroundKeys _bgKeys;
166 AnimationKeys _animKeys;
168 Object _objects[kObjectCount];
180 const ANIFile *findANI(uint16 index, uint16 &animation);
187 Objects getOrderedObjects();
198 #endif // GOB_PREGOB_SEQFILE_H
Definition: aniobject.h:42
Definition: algorithm.h:29