DIRECTOR: Generate start/stopMovie events

This commit is contained in:
Eugene Sandulenko 2020-01-08 21:16:56 +01:00
parent f4a439a8e8
commit 30b9a43a4c

View File

@ -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() {