The Wayback Machine - https://web.archive.org/web/20201127172237/https://github.com/diasurgical/devilutionX/issues/661
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

Multiplayer difficulty selection with keyboard arrows #661

Closed
MysteryFTG opened this issue Mar 16, 2020 · 3 comments
Closed

Multiplayer difficulty selection with keyboard arrows #661

MysteryFTG opened this issue Mar 16, 2020 · 3 comments
Milestone

Comments

@MysteryFTG
Copy link

@MysteryFTG MysteryFTG commented Mar 16, 2020

This is just a very minor issue, not really a bug, but still something that's different from Diablo 1.09.

When starting a new multiplayer game the normal difficulty is selected by default. In 1.09 I can press "up" on the keyboard to wrap down to hell difficulty. This is also how the main menu behaves.

The main menu works correctly in devilutionX, however the multiplayer difficulty selection doesn't wrap around and I have to press down twice to get from normal to hell.

@yuripourre
Copy link
Contributor

@yuripourre yuripourre commented Mar 16, 2020

This is the first time I dive deep into the menu code, so I may be wrong.
My guess is that is something related to this function: https://github.com/diasurgical/devilutionX/blob/master/Source/gmenu.cpp#L133

@AJenbo
Copy link
Member

@AJenbo AJenbo commented Mar 16, 2020

@yuripourre that would be the ingame menu. For DiabloUI you define if the menu should wrap or not via the last parameter for UiInitList https://github.com/diasurgical/devilutionX/blob/master/SourceX/DiabloUI/selgame.cpp#L152

@yuripourre
Copy link
Contributor

@yuripourre yuripourre commented Mar 17, 2020

Thanks @AJenbo. I am trying to understand the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.