diff options
author | ultima-soul <akshayjhanji@hotmail.com> | 2019-08-05 01:00:59 -0700 |
---|---|---|
committer | ultima-soul <akshayjhanji@hotmail.com> | 2019-08-05 01:00:59 -0700 |
commit | 7ae9d90566600ecda6dc24e5a1369203f48d4a19 (patch) | |
tree | dd7c8cbff3f6d7a8b7594e7cf8ab584d83e68974 /include/gba/defines.h | |
parent | d58bf398b2b83a326d23d14d531de7f45a1058bb (diff) |
Decompile tileset_anims
Diffstat (limited to 'include/gba/defines.h')
-rw-r--r-- | include/gba/defines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gba/defines.h b/include/gba/defines.h index 5489f9e14..3932a8542 100644 --- a/include/gba/defines.h +++ b/include/gba/defines.h @@ -62,6 +62,9 @@ #define TILE_SIZE_4BPP 32 #define TILE_SIZE_8BPP 64 +#define TILE_OFFSET_4BPP(n) ((n) * TILE_SIZE_4BPP) +#define TILE_OFFSET_8BPP(n) ((n) * TILE_SIZE_8BPP) + #define TOTAL_OBJ_TILE_COUNT 1024 #define RGB(r, g, b) ((r) | ((g) << 5) | ((b) << 10)) |