mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-05 08:44:07 +00:00
fixed the help button in the pause menu
This commit is contained in:
parent
75f58766a2
commit
09d67c24f0
2
help.cpp
2
help.cpp
@ -85,7 +85,7 @@ vector<string> extra_keys_3d = {
|
|||||||
"move mouse = rotate camera (in rug, only with lctrl)",
|
"move mouse = rotate camera (in rug, only with lctrl)",
|
||||||
};
|
};
|
||||||
|
|
||||||
void buildHelpText() {
|
EX void buildHelpText() {
|
||||||
DEBBI(DF_GRAPH, ("buildHelpText"));
|
DEBBI(DF_GRAPH, ("buildHelpText"));
|
||||||
|
|
||||||
help = XLAT("Welcome to HyperRogue");
|
help = XLAT("Welcome to HyperRogue");
|
||||||
|
1
quit.cpp
1
quit.cpp
@ -550,6 +550,7 @@ EX void showGameMenu() {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
dialog::addHelp();
|
dialog::addHelp();
|
||||||
|
dialog::add_action([] { buildHelpText(); gotoHelp(help); });
|
||||||
dialog::addItem(XLAT("restart"), SDLK_F5);
|
dialog::addItem(XLAT("restart"), SDLK_F5);
|
||||||
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user