an option to not display default help

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

No files matched your search

+9
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)