Change overworld_frame macro to use tiles
This commit is contained in:
1 parent
eb8b0ff0f7
commit
e1834c9d7b
4 files changed
+1771
-1771
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ struct SpriteFrameImage
|
||||
|
||||
#define obj_frame_tiles(ptr) {.data = (u8 *)ptr, .size = sizeof ptr}
|
||||
|
||||
#define overworld_frame(ptr, width, height, frame) {.data = (u8 *)ptr + (width * height * frame)/2, .size = (width * height)/2}
|
||||
#define overworld_frame(ptr, width, height, frame) {.data = (u8 *)ptr + (width * height * frame * 64)/2, .size = (width * height * 64)/2}
|
||||
|
||||
struct SpritePalette
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user