mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-04 18:52:51 +00:00
rogueviz::seuphorica:: frametime setting
This commit is contained in:
parent
997f587952
commit
2fcf902e55
@ -1323,6 +1323,7 @@ void seuphorica_settings() {
|
|||||||
dialog::init("settings", 0xFFFF80);
|
dialog::init("settings", 0xFFFF80);
|
||||||
add_edit(tilesize);
|
add_edit(tilesize);
|
||||||
add_edit(tiles3);
|
add_edit(tiles3);
|
||||||
|
add_edit(frametime);
|
||||||
dialog::addItem("RogueViz settings", 'r');
|
dialog::addItem("RogueViz settings", 'r');
|
||||||
dialog::add_key_action('r', [] {
|
dialog::add_key_action('r', [] {
|
||||||
pushScreen(showSettings);
|
pushScreen(showSettings);
|
||||||
@ -1387,6 +1388,9 @@ void default_config() {
|
|||||||
-> editable(10, 50, 0.1, "Seuphorica tile size", "", 't')
|
-> editable(10, 50, 0.1, "Seuphorica tile size", "", 't')
|
||||||
-> set_reaction([] { where_is_tile.clear(); })
|
-> set_reaction([] { where_is_tile.clear(); })
|
||||||
-> set_sets([] { dialog::scaleLog(); });
|
-> set_sets([] { dialog::scaleLog(); });
|
||||||
|
param_i(frametime, "seuphorica_animation", 500)
|
||||||
|
-> editable(0, 2000, 100, "Seuphorica animation speed", "how long should each animation speed take", 'a')
|
||||||
|
-> set_sets([] { dialog::bound_low(0); });
|
||||||
param_b(tiles3, "seuphorica_tiles3", true)
|
param_b(tiles3, "seuphorica_tiles3", true)
|
||||||
-> editable("3D tile effects", '3');
|
-> editable("3D tile effects", '3');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user