1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-30 04:54:07 +00:00

rv::ads:: timescale editable

This commit is contained in:
Zeno Rogue 2025-04-08 00:31:25 +02:00
parent f6a5a0f695
commit 891bf28c4b
2 changed files with 6 additions and 0 deletions

View File

@ -331,6 +331,9 @@ auto shot_hooks =
param_i(draw_per_frame, "ads_draw_per_frame")
-> editable(0, 3000, 0.1, "tiles to draw per frame", "reduce if the framerate is low", 'D');
param_f(time_scale, "rh_time_scale")
-> editable(0, 1, 0.1, "Relative Hell time label scale", "scaling factor for the time labels", 'T');
param_i(XSCALE, "ds_xscale")
-> editable(4, 512, 8, "x precision of Earth-de Sitter", "", 'x');
param_i(YSCALE, "ds_yscale")

View File

@ -205,6 +205,9 @@ void game_menu() {
add_edit(pause_speed);
add_edit(view_proper_times);
add_edit(DS_(time_unit));
if(view_proper_times)
add_edit(time_scale);
else dialog::addBreak(100);
dialog::addItem(XLAT("set view mode"), 'v');
dialog::add_action_push(edit_view_mode);