31 #include "gob/videoplayer.h" 32 #include "gob/video.h" 33 #include "gob/variables.h" 40 #include "common/pack-start.h" 107 uint8 nearestWayPoint;
114 int16 spriteDestLeft;
116 int16 spriteDestRight;
117 int16 spriteDestBottom;
119 int16 lastFrameIndex;
187 int16 palFadeKeysCount;
193 int16 staticKeysCount;
195 int16 staticIndices[10];
196 bool staticLoaded[10];
199 int16 animKeysCount[4];
201 int16 animIndices[10];
205 int16 animKeysFrames[4];
206 int16 animKeysStartFrames[4];
207 int16 animKeysStopFrames[4];
208 int16 animKeysIndices[4][4];
222 int16 animObjs[4][4];
223 int16 palAnimIndices[4];
226 int16 imdKeysIndices[4][4];
228 int16 imdKeysCount[4];
236 #include "common/pack-end.h" 260 void checkFreeMult();
261 void freeMult(
bool freeObjectSprites =
false);
263 void playMult(int16 startFrame, int16 endFrame,
char checkEscape,
268 void clearObjectVideos();
270 virtual void loadMult(int16 resId) = 0;
271 virtual void freeMultKeys() = 0;
272 virtual bool hasMultData(uint16 multIndex) = 0;
273 virtual void setMultData(uint16 multIndex) = 0;
274 virtual void zeroMultData(uint16 multIndex) = 0;
275 virtual void multSub(uint16 multIndex) = 0;
276 virtual void animate() = 0;
284 bool _animDataAllocated;
298 int16 _palAnimRed[4];
299 int16 _palAnimGreen[4];
300 int16 _palAnimBlue[4];
303 char _palFadingGreen;
308 void drawText(
bool &stop,
bool &stopNoClear);
309 void prepPalAnim(
bool &stop);
311 void doFadeAnim(
bool &stop);
312 void doSoundAnim(
bool &stop, int16 frame);
314 virtual void playMultInit() = 0;
315 virtual void drawStatics(
bool &stop) = 0;
316 virtual void drawAnims(
bool &stop) = 0;
317 virtual void newCycleAnim(
Mult_Object &animObj) = 0;
325 void loadMult(int16 resId)
override;
326 void freeMultKeys()
override;
327 bool hasMultData(uint16 multIndex)
override;
328 void setMultData(uint16 multIndex)
override;
329 void zeroMultData(uint16 multIndex)
override;
330 void multSub(uint16 multIndex)
override;
331 void animate()
override;
334 void playMultInit()
override;
335 void drawStatics(
bool &stop)
override;
336 void drawAnims(
bool &stop)
override;
345 void loadMult(int16 resId)
override;
346 void freeMultKeys()
override;
347 bool hasMultData(uint16 multIndex)
override;
348 void setMultData(uint16 multIndex)
override;
349 void zeroMultData(uint16 multIndex)
override;
350 void multSub(uint16 multIndex)
override;
351 void animate()
override;
354 void playMultInit()
override;
355 void drawStatics(
bool &stop)
override;
356 void drawAnims(
bool &stop)
override;
360 void playImd(
const char *imdFile,
Mult_ImdKey &key, int16 dir, int16 startFrame);
362 void advanceObjects(int16 index);
363 void advanceAllObjects();
Definition: variables.h:33
Definition: videoplayer.h:70
Definition: variables.h:133
Definition: variables.h:153