[Scummvm-devel] Kyrandia pathfinding issues
neil at millstone.demon.co.uk
Sat Apr 18 15:25:57 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
Not really. If the player moves the mouse a lot during any cutscene,
events would be generated and the problem would still occur.
More information about the Scummvm-devel