diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-17 17:09:22 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-17 17:09:48 -0400 |
commit | 33520725b88621ace3c66da55b92f2a83ffb4545 (patch) | |
tree | 941437601503b8663b2877699d05f636223a396f /include/sprite.h | |
parent | 15298927a80f2131a347949bea2cb19577d941f2 (diff) |
Decompile all data in data/graphics/field_objects/*.inc
Diffstat (limited to 'include/sprite.h')
-rw-r--r-- | include/sprite.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sprite.h b/include/sprite.h index dd9d5efb7..aa86f9d31 100644 --- a/include/sprite.h +++ b/include/sprite.h @@ -60,6 +60,8 @@ union AnimCmd #define ANIMCMD_FRAME(...) \ {.frame = {__VA_ARGS__}} +#define ANIMCMD_LOOP(_count) \ + {.loop = {.type = -3, .count = _count}} #define ANIMCMD_JUMP(_target) \ {.jump = {.type = -2, .target = _target}} #define ANIMCMD_END \ @@ -101,6 +103,10 @@ union AffineAnimCmd {.frame = {.xScale = _xScale, .yScale = _yScale, .rotation = _rotation, .duration = _duration}} #define AFFINEANIMCMD_END \ {.type = AFFINEANIMCMDTYPE_END} +#define AFFINEANIMCMD_LOOP(_count) \ + {.loop = {.type = AFFINEANIMCMDTYPE_LOOP, .count = _count}} +#define AFFINEANIMCMD_JUMP(_target) \ + {.jump = {.type = AFFINEANIMCMDTYPE_JUMP, .target = _target}} struct AffineAnimState { |