mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 09:24:06 +00:00
changed parameter order in float_setting
This commit is contained in:
parent
3d6e38a321
commit
7fc1ce8b45
@ -43,7 +43,7 @@ struct float_setting {
|
|||||||
void add_as_saver();
|
void add_as_saver();
|
||||||
void show_edit_option(char key);
|
void show_edit_option(char key);
|
||||||
void show_edit_option() { show_edit_option(default_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->min_value = min_value;
|
||||||
this->max_value = max_value;
|
this->max_value = max_value;
|
||||||
this->menu_item_name = menu_item_name;
|
this->menu_item_name = menu_item_name;
|
||||||
|
@ -1801,7 +1801,7 @@ auto animhook = addHook(hooks_frame, 100, display_animation)
|
|||||||
addsaver(anims::noframes, "animation frames");
|
addsaver(anims::noframes, "animation frames");
|
||||||
addparamsaver(anims::cycle_length, "acycle", "animation cycle length");
|
addparamsaver(anims::cycle_length, "acycle", "animation cycle length");
|
||||||
addparamsaver(anims::parabolic_length, "aparabolic", "animation parabolic 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::rug_angle, "arugangle", "animation rug angle");
|
||||||
addparamsaver(anims::circle_radius, "acradius", "animation circle radius");
|
addparamsaver(anims::circle_radius, "acradius", "animation circle radius");
|
||||||
addparamsaver(anims::circle_spins, "acspins", "animation circle spins");
|
addparamsaver(anims::circle_spins, "acspins", "animation circle spins");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user