#8641 closed patch
Fix for #1671426: MH2 : Doesn't recognize Enter for actions
Reported by: | bluegr | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Engine: AGI |
Version: | Keywords: | ||
Cc: | Game: | Manhunter 2 |
Description
This is an attempt to fix bug #1671426: "MH2 : Doesn't recognize Enter for actions". I've observed that in MH1 and MH2, you can use the Space key to do actions and bypass videos (the "action key").
The original interpreter accepts either Space or the Enter key as the default action key. MH1 and MH2 differ from the rest of the AGI games in that they don't have text input and that the text input in them is (always?) set to INPUT_NONE (i.e. no text input).
With this patch, I'm changing the behavior of the Enter key to be the same as the Space key (like in the original interpreter) in MH1 and MH2, when the game input mode is set to INPUT_NONE (which is almost always in these two games). The Enter key works normally in the menus (e.g. when selecting a menu option, when saving a game etc).
This behaves exactly like the original interpreter
This patch already includes patch #1704575 (as they both change the same files)
Ticket imported from: #1704914. Ticket imported from: patches/746.
Attachments (2)
Change History (7)
by , 18 years ago
Attachment: | fix_mh1_mh2.patch added |
---|
comment:1 by , 18 years ago
Owner: | set to |
---|
comment:2 by , 18 years ago
Status: | new → closed |
---|
comment:3 by , 18 years ago
This combined patch forced me to do manual patching. I hope I did not miss anything.
Please, pay attention to our code formatting guidelines (you had extra spaces around parens).
Otherwise the patch looks great and committed. Thank you.
comment:4 by , 18 years ago
Made a mistake, which causes the Enter key to be non-functional in the inventory screen of MH1 and MH2
Attaching a patch on the latest SVN, which fixes the Enter key in the inventory screen File Added: mh_inv_fix.patch
comment:5 by , 6 years ago
Component: | → Engine: AGI |
---|---|
Game: | → Manhunter 2 |
Manhunter 1 and 2 Enter key fix