diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-31 21:45:59 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-12-31 21:45:59 -0500 |
commit | f35549349e3c51003c124c74a8917b84a3f8e704 (patch) | |
tree | fc0de710da0405adaf36ab366bc6b60331fc4404 /include/sprite.h | |
parent | 99c897b71582e942e47765837c936b5fd79bf569 (diff) |
through sub_8105BF8
Diffstat (limited to 'include/sprite.h')
-rw-r--r-- | include/sprite.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sprite.h b/include/sprite.h index 1e989b6d5..37a318206 100644 --- a/include/sprite.h +++ b/include/sprite.h @@ -172,6 +172,8 @@ struct SpriteTemplate void (*callback)(struct Sprite *); }; +typedef void (*SpriteCallback)(struct Sprite *); + struct Sprite { /*0x00*/ struct OamData oam; @@ -180,7 +182,7 @@ struct Sprite /*0x10*/ const union AffineAnimCmd *const *affineAnims; /*0x14*/ const struct SpriteTemplate *template; /*0x18*/ const struct SubspriteTable *subspriteTables; - /*0x1C*/ void (*callback)(struct Sprite *); + /*0x1C*/ SpriteCallback callback; /*0x20*/ struct Coords16 pos1; /*0x24*/ struct Coords16 pos2; |