diff options
Diffstat (limited to 'engines/gob/videoplayer.h')
-rw-r--r-- | engines/gob/videoplayer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.h b/engines/gob/videoplayer.h index 408597f580..9b68d4a5af 100644 --- a/engines/gob/videoplayer.h +++ b/engines/gob/videoplayer.h @@ -50,6 +50,7 @@ public: kFlagFrontSurface = 0x000080, ///< Draw directly into the front surface. kFlagNoVideo = 0x000100, ///< Only sound. kFlagOtherSurface = 0x000800, ///< Draw into a specific sprite. + kFlagNonBlocking = 0x001000, ///< "Live" video playing while scripts continue. kFlagScreenSurface = 0x400000 ///< Draw into a newly created sprite of screen dimensions. }; @@ -109,6 +110,8 @@ public: bool play(int slot, Properties &properties); void waitEndFrame(int slot, bool onlySound = false); + void updateLive(); + bool slotIsOpen(int slot = 0) const; Common::String getFileName(int slot = 0) const; @@ -141,6 +144,8 @@ private: SurfacePtr surface; + bool live; + Video(); bool isEmpty() const; @@ -151,6 +156,8 @@ private: static const char *_extensions[]; + Properties _liveProperties; + GobEngine *_vm; // _videoSlots[0] is reserved for the "primary" video |