KEMBAR78
SCUMM: Use the keymapper for bike fights in Full Throttle by ccawley2011 · Pull Request #4552 · scummvm/scummvm · GitHub
Skip to content

Conversation

@ccawley2011
Copy link
Member

No description provided.

Copy link
Member

@sev- sev- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

// Fingolfin remarks: This wouldn't be a problem if we used keycodes.
//
// TODO: Is this still needed now that INSANE uses keymapper actions?
_keyDownMap[toupper(event.kbd.ascii)] = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original allows multiple keys to be pressed. So, perhaps, it is still needed.

using namespace Scumm;

Common::KeymapArray keymaps = MetaEngine::initKeymaps(target);
Common::String gameId = ConfMan.get("gameid", target);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:) You're using namespace Common!

@sev-
Copy link
Member

sev- commented Feb 7, 2023

Let me just merge it as my notes are very minor.

@sev- sev- merged commit f7785f4 into scummvm:master Feb 7, 2023
@ccawley2011 ccawley2011 deleted the scumm-insane-keymapper branch February 8, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants