From 232736e465e0debf8a487a3e9480b244986cff39 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 12 Apr 2022 12:55:23 +0200 Subject: [PATCH] shot:: loop_multiplier parameter --- screenshot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/screenshot.cpp b/screenshot.cpp index d209a5f4..1a293465 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -1121,6 +1121,7 @@ EX int noframes = 30; EX ld cycle_length = 2 * M_PI; EX ld parabolic_length = 1; EX ld skiprope_rotation; +EX ld loop_multiplier; int lastticks, bak_turncount; @@ -1734,6 +1735,9 @@ int readArgs() { else if(argis("-animperiod")) { PHASEFROM(2); shift_arg_formula(period); } + else if(argis("-animloop")) { + PHASEFROM(2); shift_arg_formula(loop_multiplier); + } #if CAP_SHOT else if(argis("-animrecordf")) { PHASEFROM(2); shift(); noframes = argi();