aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/animation.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-05-18 14:17:24 +0000
committerMatthew Hoops2010-05-18 14:17:24 +0000
commit11cbdd03180a655b2b23ee4a13f1a00a1d782b3c (patch)
tree5b0d84211308ea37a2fa2f7017d6f96314f3c6fb /engines/agos/animation.h
parentf3892a506b2f935bae0be6319394c503c786d368 (diff)
downloadscummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.tar.gz
scummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.tar.bz2
scummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.zip
Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
Diffstat (limited to 'engines/agos/animation.h')
-rw-r--r--engines/agos/animation.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/agos/animation.h b/engines/agos/animation.h
index 6a1bdccadf..68a76e1f88 100644
--- a/engines/agos/animation.h
+++ b/engines/agos/animation.h
@@ -72,6 +72,9 @@ private:
virtual void handleNextFrame();
virtual bool processFrame() = 0;
virtual void startSound() {}
+
+protected:
+ uint32 _firstFrameOffset;
};
class MoviePlayerDXA : public MoviePlayer, ::Graphics::DXADecoder {
@@ -84,13 +87,12 @@ public:
void playVideo();
void nextFrame();
virtual void stopVideo();
-protected:
- void setPalette(byte *pal);
private:
void handleNextFrame();
bool processFrame();
void startSound();
+ void copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch);
};
class MoviePlayerSMK : public MoviePlayer, ::Graphics::SmackerDecoder {
@@ -101,12 +103,12 @@ public:
void playVideo();
void nextFrame();
virtual void stopVideo();
-protected:
- void setPalette(byte *pal);
+
private:
void handleNextFrame();
bool processFrame();
void startSound();
+ void copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch);
};
MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name);