From 30b9a43a4c60e4edcc8201735c3ad2433ff2dbfb Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 8 Jan 2020 21:16:56 +0100 Subject: DIRECTOR: Generate start/stopMovie events --- engines/director/score.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/director') diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 1eb1dcebe6..b81aae701c 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -1307,6 +1307,8 @@ void Score::startLoop() { _stopPlay = false; _nextFrameTime = 0; + _lingo->processEvent(kEventStartMovie); + _frames[_currentFrame]->prepareFrame(this); while (!_stopPlay) { @@ -1322,6 +1324,8 @@ void Score::startLoop() { if (_currentFrame < _frames.size()) _vm->processEvents(); } + + _lingo->processEvent(kEventStopMovie); } void Score::update() { -- cgit v1.2.3