1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-17 23:17:39 +00:00

added a separate option axes3 for highlighting forward, and in different location

This commit is contained in:
Zeno Rogue
2019-06-25 10:30:31 +02:00
parent 5d88c1706a
commit db988058de
4 changed files with 13 additions and 4 deletions

View File

@@ -395,9 +395,12 @@ struct shmup_configurer {
if(players > 4)
dialog::addItem(XLAT("configure player 5"), '5');
else if(!shmup::on && !multi::alwaysuse) {
const char *axmodes[5] = {"OFF", "auto", "light", "heavy", "arrows"};
dialog::addSelItem(XLAT("help for keyboard users"), XLAT(axmodes[vid.axes]), 'h');
dialog::add_action([] {vid.axes += 60 + (shiftmul > 0 ? 1 : -1); vid.axes %= 5; } );
if(GDIM == 2) {
const char *axmodes[5] = {"OFF", "auto", "light", "heavy", "arrows"};
dialog::addSelItem(XLAT("help for keyboard users"), XLAT(axmodes[vid.axes]), 'h');
dialog::add_action([] {vid.axes += 60 + (shiftmul > 0 ? 1 : -1); vid.axes %= 5; } );
}
else dialog::addBreak(100);
}
else if(alwaysuse)
dialog::addInfo(XLAT("multiplayer and shmup mode; some features"));