aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2009-07-24 21:36:42 +0000
committerSven Hesse2009-07-24 21:36:42 +0000
commit3668895abce7445077350f88c55175ff1c66b05f (patch)
tree9cafedb01f5a4a81ba45c1bf4c559121f9889be8 /engines/gob
parent54b63ac239a8b555b191d40733e05090b3b08e3a (diff)
downloadscummvm-rg350-3668895abce7445077350f88c55175ff1c66b05f.tar.gz
scummvm-rg350-3668895abce7445077350f88c55175ff1c66b05f.tar.bz2
scummvm-rg350-3668895abce7445077350f88c55175ff1c66b05f.zip
CoktelVideo cleanup: Splitting up some IMD methods and removing the obsolete notifyPaused()
svn-id: r42715
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/gob.cpp1
-rw-r--r--engines/gob/videoplayer.cpp9
-rw-r--r--engines/gob/videoplayer.h2
3 files changed, 0 insertions, 12 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 13f306fff1..6c8aceff33 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -306,7 +306,6 @@ void GobEngine::pauseEngineIntern(bool pause) {
} else {
uint32 duration = _system->getMillis() - _pauseStart;
- _vidPlayer->notifyPaused(duration);
_util->notifyPaused(duration);
_game->_startTimeKey += duration;
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 43395db829..a3a9dde892 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -797,13 +797,4 @@ void VideoPlayer::evalBgShading(Graphics::CoktelVideo &video) {
_vm->_sound->bgUnshade();
}
-void VideoPlayer::notifyPaused(uint32 duration) {
- if (_primaryVideo->isOpen())
- _primaryVideo->getVideo()->notifyPaused(duration);
-
- for (uint i = 0; i < _videoSlots.size(); i++)
- if (_videoSlots[i] && _videoSlots[i]->isOpen())
- _videoSlots[i]->getVideo()->notifyPaused(duration);
-}
-
} // End of namespace Gob
diff --git a/engines/gob/videoplayer.h b/engines/gob/videoplayer.h
index 532d216d7e..28e72ab43a 100644
--- a/engines/gob/videoplayer.h
+++ b/engines/gob/videoplayer.h
@@ -103,8 +103,6 @@ public:
void writeVideoInfo(const char *videoFile, int16 varX, int16 varY,
int16 varFrames, int16 varWidth, int16 varHeight);
- void notifyPaused(uint32 duration);
-
private:
class Video {
public: