mirror of
https://github.com/pret/pokeruby.git
synced 2026-08-07 18:14:00 -05:00
17 lines
537 B
C
17 lines
537 B
C
#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, int length);
|
|
void DoBgAffineSet(struct BgAffineDstData *dest, u32 texX, u32 texY, s16 scrX, s16 scrY, s16 sx, s16 sy, u16 alpha);
|
|
void CopySpriteTiles(u8 shape, u8 size, u8 *tiles, u16 *tilemap, u8 *output);
|
|
|
|
#endif // GUARD_UTIL_H
|