diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-02-15 20:16:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 20:16:17 -0500 |
commit | fee980decd6dfd5dc98c15ba13c9ea8f7b597934 (patch) | |
tree | 813eca906ee23e6ff80dd6ddfb204f6c726afa49 /include/digit_obj_util.h | |
parent | 98a79fd72fe681c9d9d227bdc52e63db301a56d9 (diff) | |
parent | b3167d579b903badfd0be67c02d30bdd71fd9ef6 (diff) |
Merge pull request #253 from PikalaxALT/add_arm_agbcc
librfu_intr
Diffstat (limited to 'include/digit_obj_util.h')
-rw-r--r-- | include/digit_obj_util.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/digit_obj_util.h b/include/digit_obj_util.h new file mode 100644 index 000000000..b2ecd42bc --- /dev/null +++ b/include/digit_obj_util.h @@ -0,0 +1,24 @@ +#ifndef GUARD_DIGIT_OBJ_UTIL_H +#define GUARD_DIGIT_OBJ_UTIL_H + +struct DigitObjUtilTemplate +{ + u8 strConvMode:2; + u8 shape:2; + u8 size:2; + u8 priority:2; + u8 oamCount; + u8 xDelta; + s16 x; + s16 y; + const struct SpriteSheet *spriteSheet; + const struct SpritePalette *spritePal; +}; + +void DigitObjUtil_Teardown(void); +bool32 DigitObjUtil_CreatePrinter(u32 id, s32 num, const struct DigitObjUtilTemplate *template); +void DigitObjUtil_PrintNumOn(u32 id, s32 num); +void DigitObjUtil_DeletePrinter(u32 id); +void DigitObjUtil_HideOrShow(u32 id, bool32 hide); + +#endif //GUARD_DIGIT_OBJ_UTIL_H |