diff options
author | Travis Howell | 2009-05-16 05:34:16 +0000 |
---|---|---|
committer | Travis Howell | 2009-05-16 05:34:16 +0000 |
commit | bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51 (patch) | |
tree | 2acd4be22f7831560177835c0ca2397b6de9d5d7 /engines/agos/animation.h | |
parent | e994b94c814ece7285228598c408b9939e2d3398 (diff) | |
download | scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.tar.gz scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.tar.bz2 scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.zip |
Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
Diffstat (limited to 'engines/agos/animation.h')
-rw-r--r-- | engines/agos/animation.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/engines/agos/animation.h b/engines/agos/animation.h index fcef94d4bf..1077a1d907 100644 --- a/engines/agos/animation.h +++ b/engines/agos/animation.h @@ -35,13 +35,13 @@ namespace AGOS { -class AGOSEngine; +class AGOSEngine_Feeble; class MoviePlayer { friend class MoviePlayerDXA; friend class MoviePlayerSMK; - AGOSEngine *_vm; + AGOSEngine_Feeble *_vm; Audio::Mixer *_mixer; @@ -56,7 +56,12 @@ class MoviePlayer { char baseName[40]; public: - MoviePlayer(AGOSEngine *vm); + enum VideoFlags { + TYPE_OMNITV = 1, + TYPE_LOOPING = 2 + }; + + MoviePlayer(AGOSEngine_Feeble *vm); virtual ~MoviePlayer(); virtual bool load() = 0; @@ -75,7 +80,7 @@ class MoviePlayerDXA : public MoviePlayer, ::Graphics::DXADecoder { static const char *_sequenceList[90]; uint8 _sequenceNum; public: - MoviePlayerDXA(AGOSEngine *vm, const char *name); + MoviePlayerDXA(AGOSEngine_Feeble *vm, const char *name); bool load(); void playVideo(); @@ -92,7 +97,7 @@ private: class MoviePlayerSMK : public MoviePlayer, ::Graphics::SmackerDecoder { public: - MoviePlayerSMK(AGOSEngine *vm, const char *name); + MoviePlayerSMK(AGOSEngine_Feeble *vm, const char *name); bool load(); void playVideo(); @@ -106,7 +111,7 @@ private: void startSound(); }; -MoviePlayer *makeMoviePlayer(AGOSEngine *vm, const char *name); +MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name); } // End of namespace AGOS |