[ scummvm-Patches-664895 ] CMI: Cannon fixes

SourceForge.net noreply at sourceforge.net
Thu Jan 9 08:44:20 CET 2003


Patches item #664895, was opened at 2003-01-09 08:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=664895&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: CMI: Cannon fixes

Initial Comment:
I'm not quite happy about the way this patch turned
out, but there's enough good in it to submit, I think.
It is intended to make the cannon scene in CMI more
playable.

It does so by correcting the order in which the
parameters to SO_CURSOR_PUT are popped (this is
important) and how mouse.y is calculated (I haven't
really checked if this makes any noticeable
difference). This is the important part of the patch,
and could probably be applied right away.

It also adds a new backend function to move the mouse
cursor to a specified position. Apparently CMI locks
the mouse cursor's X coordinate by constantly returning
it to "neutral". For some reason I couldn't get this to
work in fullscreen mode without adding an ugly hack,
which is one of the reasons I'm not altogether happy
about it.

The script that controls the cannon's movement appears
to be room-10-2007.dmp. At the time of writing descumm6
fails to descumm this, but that's trivial to fix. (I've
submitted another patch for that.)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=664895&group_id=37116




More information about the Scummvm-tracker mailing list