1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-06 00:33:01 +00:00

centering menus is now configurable

This commit is contained in:
Zeno Rogue
2022-07-12 14:41:54 +02:00
parent 4a4e48400a
commit 591d370ea4
2 changed files with 5 additions and 1 deletions

View File

@@ -749,6 +749,8 @@ EX void initConfig() {
param_i(menu_darkening, "menu_darkening", 2)
-> editable(0, 8, 1, "menu map darkening", "A larger number means darker game map in the background. Set to 8 to disable the background.", 'd')
-> set_sets([] { dialog::bound_low(0); dialog::bound_up(8); dialog::dialogflags |= sm::DARKEN; });
param_b(centered_menus, "centered_menus", false)
-> editable("centered menus in widescreen", 'c');
param_b(startanims::enabled, "startanim", true)
-> editable("start animations", 's');
@@ -1860,6 +1862,7 @@ EX void configureInterface() {
});
add_edit(menu_darkening);
add_edit(centered_menus);
add_edit(startanims::enabled);
dialog::addBreak(50);