diff options
author | dhewg | 2011-03-05 10:32:56 +0100 |
---|---|---|
committer | dhewg | 2011-03-05 11:00:37 +0100 |
commit | 69a026192e30c544379cf938efa6b545a62e3a08 (patch) | |
tree | 9a8904977d188cc45c3b2c819945e7a94f54302d /engines/scumm/player_v3a.h | |
parent | 83b00526d0da2265eef8d59767cafd16190ec092 (diff) | |
download | scummvm-rg350-69a026192e30c544379cf938efa6b545a62e3a08.tar.gz scummvm-rg350-69a026192e30c544379cf938efa6b545a62e3a08.tar.bz2 scummvm-rg350-69a026192e30c544379cf938efa6b545a62e3a08.zip |
AGI: Kill the timer based counter
Using the timer mechanism for just a simple counter is not just
overkill, its also inaccurate. When using a call frequency of x,
and waiting for y callbacks, the passed time will not be x*y.
The problem amplifies on slower platforms and/or fair thread
schedulers.
Use absolute times instead. Most notably, the walking speed of
the avatar is now smooth on android, but probably on all other
handhelds we support too.
Diffstat (limited to 'engines/scumm/player_v3a.h')
0 files changed, 0 insertions, 0 deletions