diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-09-12 11:45:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 11:45:32 -0500 |
commit | 0918cadae3c2ab22993099bd474d40f93a893d5d (patch) | |
tree | f7cc1a8648ea5aa1016eafa8e560362ffd3bd1f9 /include/util.h | |
parent | 6292b82503bf2eb611e5fea6f1710b25578d4fc8 (diff) | |
parent | 4d84618732acd1a67f8e15d5464ed20056ba5641 (diff) |
Merge pull request #27 from DizzyEggg/decomp_script
decompile script.s
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h new file mode 100644 index 000000000..69ef329ad --- /dev/null +++ b/include/util.h @@ -0,0 +1,15 @@ +#ifndef GUARD_UTIL_H +#define GUARD_UTIL_H + +#include "sprite.h" + +extern const u8 gMiscBlank_Gfx[]; +extern const u32 gBitTable[]; + +u8 CreateInvisibleSpriteWithCallback(void (*)(struct Sprite *)); +void StoreWordInTwoHalfwords(u16 *, u32); +void LoadWordFromTwoHalfwords(u16 *, u32 *); +u16 CalcCRC16(u8 *data, s32 length); +u16 CalcCRC16WithTable(u8 *data, s32 length); + +#endif // GUARD_UTIL_H |