[Scummvm-devel] Kyrandia pathfinding issues
Oystein Eftevaag
wintermute at geheb.com
Sat Apr 18 11:20:52 CEST 2009
Neil Millstone wrote:
>
>
> In KyraEngine_v1::updateInput(), the engine polls the event manager for
> input. This event manager appears to collect events while the engine is
> busy playing an animation. This means that by the time the animation
> has finished, there are hundreds of mouse move events in the event
> buffer. When the game eventually calls updateInput(), it calls the
> backend's updateScreen() for every one of these events. This causes the
> long pause I was seeing.
>
>
Does that mean the DS backend generates mouse move events even when the
cursor/stylus position hasn't actually changed? Wouldn't a simple test
there solve the issue, as well?
// Oystein
More information about the Scummvm-devel
mailing list