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