1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 20:37:40 +00:00

an option to not display default help

This commit is contained in:
Zeno Rogue
2023-03-25 09:24:47 +01:00
parent 7e79661ce0
commit 08bf3fe3d6
4 changed files with 15 additions and 3 deletions

View File

@@ -1961,6 +1961,8 @@ EX void configureInterface() {
XLAT("Maximum number of messages on screen."));
dialog::bound_low(0);
});
add_edit(nohelp);
add_edit(vid.msgleft);
@@ -2671,6 +2673,13 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
addsaver(vid.auto_eye, "auto-eyelevel", false);
param_enum(nohelp, "help_messages", "help_messages", 0)
-> editable({
{"all", "all context help/welcome messages"},
{"none", "no context help/welcome messages"},
{"automatic", "I know I can press F1 for help"},
}, "context help", 'H');
param_f(vid.creature_scale, "creature_scale", "3d-creaturescale", 1)
->editable(0, 1, .1, "Creature scale", "", 'C');
param_f(vid.height_width, "heiwi", "3d-heightwidth", 1.5)