1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-21 05:18:05 +00:00

settings to view less stuff on the screen; fixed items/kills going over buttons in the portrait mode

This commit is contained in:
Zeno Rogue
2022-07-12 14:22:46 +02:00
parent 8256b398b1
commit 4a4e48400a
2 changed files with 27 additions and 8 deletions

View File

@@ -717,6 +717,14 @@ EX void initConfig() {
{"by land", ""},
{"by number", ""}
}, "inventory/kill sorting", 'k');
param_b(less_in_landscape, "less_in_landscape", false)
->editable("less items/kills in landscape", 'L')
-> set_sets([] { dialog::reaction_final = [] { println(hlog, "Reset"); vid.killreduction = 0; }; });
param_b(less_in_portrait, "less_in_portrait", false)
->editable("less items/kills in portrait", 'P')
-> set_sets([] { dialog::reaction_final = [] { println(hlog, "Reset"); vid.killreduction = 0; }; });
// basic graphics
@@ -1833,6 +1841,8 @@ EX void configureInterface() {
add_edit(glyphsortorder);
add_edit(vid.graphglyph);
add_edit(less_in_landscape);
add_edit(less_in_portrait);
add_edit(display_yasc_codes);