MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Animation_Func_Forward

Function Animation_Func_Forward

src/animation.c:179–182  ·  view source on GitHub ↗

* Forward the current Animation with the given amount of steps. * @param animation The Animation to forward. * @param parameter With what value you want to forward the Animation. * @note Forwarding with 1 is just the next instruction, making this command a NOP. */

Source from the content-addressed store, hash-verified

177 * @note Forwarding with 1 is just the next instruction, making this command a NOP.
178 */
179static void Animation_Func_Forward(Animation *animation, int16 parameter)
180{
181 animation->current += parameter - 1;
182}
183
184/**
185 * Set the IconGroup of the Animation.

Callers 1

Animation_TickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected