1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-07-03 01:00:44 +00:00

added dialog_font_scale and lands_per_page options

This commit is contained in:
Zeno Rogue
2025-11-11 18:46:16 +01:00
parent 2f2bc74cc5
commit bb2c794a40
5 changed files with 59 additions and 23 deletions
+10
View File
@@ -1292,6 +1292,14 @@ EX void initConfig() {
-> set_sets([] { dialog::bound_low(0); dialog::bound_up(8); dialog::get_di().dialogflags |= sm::DARKEN; });
param_b(centered_menus, "centered_menus", false)
-> editable("centered menus in widescreen", 'c');
param_f(dialog::dialog_font_scale, "dialog_font_scale")
-> editable(1, 5, 0.25, "dialog font scale",
"allow larger font in dialogs",
'D');
param_i(lands_per_page, "lands_per_page")
-> editable(10, 60, 5, "lands per page",
"lands per page shown in the World Overview",
'L');
param_b(startanims::enabled, "startanim", true)
-> editable("start animations", 's');
@@ -2619,6 +2627,8 @@ EX void configureInterface() {
add_edit(menu_format);
add_edit(menu_darkening);
add_edit(centered_menus);
add_edit(dialog::dialog_font_scale);
add_edit(lands_per_page);
add_edit(startanims::enabled);
add_edit(use_bool_dialog);