[Scummvm-cvs-logs] scummvm branch-1-8 -> 18fc28b3becf3794572e1d131673e0caaa06b8c8

m-kiewitz m_kiewitz at users.sourceforge.net
Sun Feb 14 22:46:14 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
18fc28b3be AGI: Add heuristic to detect delay loops within scripts


Commit: 18fc28b3becf3794572e1d131673e0caaa06b8c8
    https://github.com/scummvm/scummvm/commit/18fc28b3becf3794572e1d131673e0caaa06b8c8
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-14T22:46:44+01:00

Commit Message:
AGI: Add heuristic to detect delay loops within scripts

And in that case poll events, delay for a few milliseconds and
update screen.
This somewhat worked before the graphics rewrite because of
a timer hack.
This one tries to detect actual inner loops.
Happens in at least Police Quest 1 when playing poker.

Changed paths:
    engines/agi/agi.cpp
    engines/agi/agi.h
    engines/agi/cycle.cpp
    engines/agi/global.cpp
    engines/agi/op_cmd.cpp








More information about the Scummvm-git-logs mailing list