mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 23:12:51 +00:00
added some missing lines to keyboard help
This commit is contained in:
parent
9d1fe00d8f
commit
b2d9a6ff1d
11
help.cpp
11
help.cpp
@ -864,10 +864,13 @@ vector<string> extra_keys = {
|
|||||||
"Esc = quest status",
|
"Esc = quest status",
|
||||||
"Alt+Enter = full screen",
|
"Alt+Enter = full screen",
|
||||||
"Alt = highlight interesting stuff",
|
"Alt = highlight interesting stuff",
|
||||||
"t = target the center (with Orb)",
|
"t = use a ranged Orb (target center of the screen)",
|
||||||
"mouse = move/skip",
|
"g = drop a Dead Orb",
|
||||||
|
"click left mouse button = move/skip",
|
||||||
|
"shift+click left mouse button = use ranged Orb",
|
||||||
|
"click right mouse button = context help",
|
||||||
"mousewheel up = panning",
|
"mousewheel up = panning",
|
||||||
"hold middle button = panning",
|
"hold middle mouse button = panning",
|
||||||
"mousewheel down = move/skip",
|
"mousewheel down = move/skip",
|
||||||
"shift + mousewheel = change projection",
|
"shift + mousewheel = change projection",
|
||||||
"ctrl + mousewheel = change zoom",
|
"ctrl + mousewheel = change zoom",
|
||||||
@ -882,10 +885,12 @@ void gotoHelp(const string& h) {
|
|||||||
pushScreen(showHelp);
|
pushScreen(showHelp);
|
||||||
if(help == "@" || help == buildHelpText()) {
|
if(help == "@" || help == buildHelpText()) {
|
||||||
help_extensions.push_back(help_extension{'c', XLAT("credits"), [] () { help = buildCredits(); }});
|
help_extensions.push_back(help_extension{'c', XLAT("credits"), [] () { help = buildCredits(); }});
|
||||||
|
#if ISMOBILE == 0
|
||||||
help_extensions.push_back(help_extension{'k', XLAT("advanced keyboard shortcuts"), [] () {
|
help_extensions.push_back(help_extension{'k', XLAT("advanced keyboard shortcuts"), [] () {
|
||||||
help = "";
|
help = "";
|
||||||
for(string s: extra_keys) help += s, help += "\n\n";
|
for(string s: extra_keys) help += s, help += "\n\n";
|
||||||
}});
|
}});
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if(help == "HELPGEN") helpgenerator();
|
if(help == "HELPGEN") helpgenerator();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user