startanims now can be disabled

This commit is contained in:
Zeno Rogue 2022-07-05 11:51:49 +02:00
parent 09d67c24f0
commit a19adccf82
2 changed files with 6 additions and 0 deletions

View File

@ -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')
-> 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);
param_f(vid.binary_width, "bwidth", "binary-tiling-width", 1);
@ -1846,6 +1849,7 @@ EX void configureInterface() {
});
add_edit(menu_darkening);
add_edit(startanims::enabled);
dialog::addBreak(50);
dialog::addBack();

View File

@ -1883,6 +1883,8 @@ EX }
EX namespace startanims {
EX bool enabled = true;
int ticks_start = 0;
#if HDR