mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-03 12:23:56 +00:00
startanims now can be disabled
This commit is contained in:
parent
09d67c24f0
commit
a19adccf82
@ -742,6 +742,9 @@ EX void initConfig() {
|
|||||||
-> 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')
|
-> 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; });
|
-> set_sets([] { dialog::bound_low(0); dialog::bound_up(8); dialog::dialogflags |= sm::DARKEN; });
|
||||||
|
|
||||||
|
param_b(startanims::enabled, "startanim", true)
|
||||||
|
-> editable("start animations", 's');
|
||||||
|
|
||||||
addsaver(vid.flasheffects, "flasheffects", 1);
|
addsaver(vid.flasheffects, "flasheffects", 1);
|
||||||
|
|
||||||
param_f(vid.binary_width, "bwidth", "binary-tiling-width", 1);
|
param_f(vid.binary_width, "bwidth", "binary-tiling-width", 1);
|
||||||
@ -1846,6 +1849,7 @@ EX void configureInterface() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
add_edit(menu_darkening);
|
add_edit(menu_darkening);
|
||||||
|
add_edit(startanims::enabled);
|
||||||
|
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
|
@ -1883,6 +1883,8 @@ EX }
|
|||||||
|
|
||||||
EX namespace startanims {
|
EX namespace startanims {
|
||||||
|
|
||||||
|
EX bool enabled = true;
|
||||||
|
|
||||||
int ticks_start = 0;
|
int ticks_start = 0;
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user