Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document function which handles hotkeys #23

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

JayFoxRox
Copy link
Member

The sub_4104F0 function seems to be the main hotkey handler. I've then moved forward from that point.

Some of the less related stuff is not very documented, but that can happen later when necessary.


if ( sub_485880(DIK_RMENU, 0) ) {

// Alt (Right)
Copy link
Member Author

Choose a reason for hiding this comment

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

Switch mirrored mode

}
} else if ( sub_485880(DIK_RCONTROL, 0) ) {

// Control (Right)
Copy link
Member Author

Choose a reason for hiding this comment

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

Switch mirrored mode (exactly same behaviour as Contol (Left) ?)

if ( dword_4D79EC )
goto LABEL_146;
dword_4D79EC = 1;
if ( !dword_4D5E00 )
Copy link
Member Author

Choose a reason for hiding this comment

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

Check if we are on the track selection?! That's the only place where the mirror feature works I think. Other instance also.

dword_4D5564 = 2.1f;
}

// Check if the cache value of truguts was changed
Copy link
Member Author

Choose a reason for hiding this comment

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

Poor wording

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.

1 participant