1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

shot:: loop_multiplier parameter

This commit is contained in:
Zeno Rogue 2022-04-12 12:55:23 +02:00
parent b9532031e4
commit 232736e465

View File

@ -1121,6 +1121,7 @@ EX int noframes = 30;
EX ld cycle_length = 2 * M_PI; EX ld cycle_length = 2 * M_PI;
EX ld parabolic_length = 1; EX ld parabolic_length = 1;
EX ld skiprope_rotation; EX ld skiprope_rotation;
EX ld loop_multiplier;
int lastticks, bak_turncount; int lastticks, bak_turncount;
@ -1734,6 +1735,9 @@ int readArgs() {
else if(argis("-animperiod")) { else if(argis("-animperiod")) {
PHASEFROM(2); shift_arg_formula(period); PHASEFROM(2); shift_arg_formula(period);
} }
else if(argis("-animloop")) {
PHASEFROM(2); shift_arg_formula(loop_multiplier);
}
#if CAP_SHOT #if CAP_SHOT
else if(argis("-animrecordf")) { else if(argis("-animrecordf")) {
PHASEFROM(2); shift(); noframes = argi(); PHASEFROM(2); shift(); noframes = argi();