DIRECTOR: Slow down execution and hid noisy warning

This commit is contained in:
Eugene Sandulenko 2016-08-26 09:12:20 +02:00
parent ad693ee768
commit c8989b8dd3
2 changed files with 3 additions and 2 deletions

View File

@ -272,7 +272,7 @@ void Lingo::processEvent(LEvent event, int entityId) {
if (st != kNoneScript)
executeScript(st, entityId + 1);
else
debug(2, "STUB: processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
debugC(8, kDebugLingoExec, "STUB: processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
}
int Lingo::alignTypes(Datum &d1, Datum &d2) {

View File

@ -726,11 +726,12 @@ void Score::startLoop() {
_frames[_currentFrame]->prepareFrame(this);
while (!_stopPlay && _currentFrame < _frames.size() - 2) {
debugC(1, kDebugImages, "Current frame: %d", _currentFrame);
update();
processEvents();
g_system->updateScreen();
g_system->delayMillis(10);
g_system->delayMillis(200);
}
}