24#ifndef AGOS_ANIMATION_H
25#define AGOS_ANIMATION_H
27#include "video/dxa_decoder.h"
28#include "video/smk_decoder.h"
29#include "video/subtitles.h"
30#include "audio/mixer.h"
34class AGOSEngine_Feeble;
38 AGOSEngine_Feeble *_vm;
46 bool _rightButtonDown;
57 MoviePlayer(AGOSEngine_Feeble *vm);
58 virtual ~MoviePlayer();
60 virtual bool load() = 0;
62 virtual void playVideo() = 0;
63 virtual void nextFrame() = 0;
64 virtual void stopVideo() = 0;
67 virtual void handleNextFrame();
68 virtual bool processFrame() = 0;
69 virtual void startSound() {}
74 static const char *
const _sequenceList[90];
77 MoviePlayerDXA(AGOSEngine_Feeble *vm,
const char *name);
80 void playVideo()
override;
81 void nextFrame()
override;
82 void stopVideo()
override;
88 void handleNextFrame()
override;
89 bool processFrame()
override;
90 void startSound()
override;
91 void copyFrameToBuffer(
byte *dst, uint x, uint y, uint pitch);
96 MoviePlayerSMK(AGOSEngine_Feeble *vm,
const char *name);
99 void playVideo()
override;
100 void nextFrame()
override;
101 void stopVideo()
override;
104 void handleNextFrame()
override;
105 bool processFrame()
override;
106 void startSound()
override;
107 void copyFrameToBuffer(
byte *dst, uint x, uint y, uint pitch);
110MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm,
const char *name);
Definition: audiostream.h:50
Definition: dxa_decoder.h:44
Definition: smk_decoder.h:77
Definition: subtitles.h:78