AGI: remove timer hack, implement in game timer

in game timer is now updated, when scripts read in game timer
VM variables and during main loop. ScummVM total play time feature
is used for it. Game cycle syncing is done at the same time.
This commit is contained in:
Martin Kiewitz 2016-01-31 20:53:36 +01:00
parent 9acbe6f3f4
commit fd9c46831d
12 changed files with 155 additions and 90 deletions

View file

@ -547,7 +547,6 @@ int AgiEngine::waitKey() {
break;
pollTimer();
updateTimer();
g_system->updateScreen();
}