[ scummvm-Patches-655594 ] Handling Y/N questions (bug #647860)
noreply at sourceforge.net
noreply at sourceforge.net
Wed Dec 18 08:50:41 CET 2002
Patches item #655594, was opened at 2002-12-18 08:50
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=655594&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: Handling Y/N questions (bug #647860)
Initial Comment:
This patch enables the MI1/MI2 "instant win" cheats
(see bug #647860). I know Fingolfin said we should
close that bug as WONTFIX, but since these cheats are
part of the game scripts, and I believe that we will
eventually have to support other "Are you sure you want
to...?" style questions, I think we should fix it after
all.
There are a few things I'm uncertain about:
With this patch, unkMessage2() will always write to the
VAR_KEYPRESS variable, which is a new variable that
I've added. I'm almost certain this is the correct
behaviour for MI1 and MI2, but for all other games it's
just a guess.
To handle Ctrl-Alt-<key>, I'm adding 250 to the value
_keyPressed would normally get. I don't know if this is
correct, but it works well enough to handle Ctrl-Alt-W
for me under Linux. It'll have to be tested with other
backends and operating systems though.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=655594&group_id=37116
More information about the Scummvm-tracker
mailing list