1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

changed parameter order in float_setting

This commit is contained in:
Zeno Rogue 2021-01-31 20:44:34 +01:00
parent 3d6e38a321
commit 7fc1ce8b45
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ struct float_setting {
void add_as_saver();
void show_edit_option(char key);
void show_edit_option() { show_edit_option(default_key); }
float_setting *editable(string menu_item_name, ld min_value, ld max_value, ld step, string help_text, char key) {
float_setting *editable(ld min_value, ld max_value, ld step, string menu_item_name, string help_text, char key) {
this->min_value = min_value;
this->max_value = max_value;
this->menu_item_name = menu_item_name;

View File

@ -1801,7 +1801,7 @@ auto animhook = addHook(hooks_frame, 100, display_animation)
addsaver(anims::noframes, "animation frames");
addparamsaver(anims::cycle_length, "acycle", "animation cycle length");
addparamsaver(anims::parabolic_length, "aparabolic", "animation parabolic length")
->editable("cells to go", 0, 10, 1, "", 'c');
->editable(0, 10, 1, "cells to go", "", 'c');
addparamsaver(anims::rug_angle, "arugangle", "animation rug angle");
addparamsaver(anims::circle_radius, "acradius", "animation circle radius");
addparamsaver(anims::circle_spins, "acspins", "animation circle spins");