aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/d_draw.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-13 10:09:53 +0000
committerTorbjörn Andersson2004-01-13 10:09:53 +0000
commit8a66ba33cf44600ccc4e2a3267359d2ac952c586 (patch)
treed3811a423cc4ebf1cf8a0106466e421936605936 /sword2/driver/d_draw.h
parent73d73982afb9ab2f879c7bf00fe6e216137c3328 (diff)
downloadscummvm-rg350-8a66ba33cf44600ccc4e2a3267359d2ac952c586.tar.gz
scummvm-rg350-8a66ba33cf44600ccc4e2a3267359d2ac952c586.tar.bz2
scummvm-rg350-8a66ba33cf44600ccc4e2a3267359d2ac952c586.zip
Moved the rest of the MoviePlayer class into animation.cpp/.h, plus some
minor cleanups. (Mostly spacing and indentation). Unfortunately the Ogg Vorbis playback causes ScummVM to crash for me, so I can't say for certain that I didn't break anything. svn-id: r12356
Diffstat (limited to 'sword2/driver/d_draw.h')
-rw-r--r--sword2/driver/d_draw.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h
index f98e77999c..49cc544124 100644
--- a/sword2/driver/d_draw.h
+++ b/sword2/driver/d_draw.h
@@ -65,27 +65,6 @@ struct MouseAnim {
#pragma END_PACK_STRUCTS
#endif
-class MoviePlayer {
-private:
- Sword2Engine *_vm;
- uint8 *_textSurface;
-
- void openTextObject(MovieTextObject *obj);
- void closeTextObject(MovieTextObject *obj);
- void drawTextObject(MovieTextObject *obj);
-
- void checkPaletteSwitch(AnimationState * st);
-
- AnimationState * initAnimation(const char *name);
- void doneAnimation(AnimationState * st);
- bool decodeFrame(AnimationState * st);
-
-public:
- MoviePlayer(Sword2Engine *vm) : _vm(vm), _textSurface(NULL) {}
- int32 play(const char *filename, MovieTextObject *text[], uint8 *musicOut);
- int32 playDummy(const char *filename, MovieTextObject *text[], uint8 *musicOut);
-};
-
struct BlockSurface {
byte data[BLOCKWIDTH * BLOCKHEIGHT];
bool transparent;