diff options
Diffstat (limited to 'include/gba')
| -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)) | 
