summaryrefslogtreecommitdiff
path: root/include/vram.h
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2025-03-09 12:01:00 +0000
committerHenny022p <info@henny022.de>2025-03-09 19:00:33 +0000
commit46506530fc489732833e26d321b8879e9b13e6b4 (patch)
treeb4a93723ef662c60c2b5a6e3f755efd8994e3f5a /include/vram.h
parent3b9b1a388beba1d8293bea15352775a6139d3d52 (diff)
cleanup structures.h
Diffstat (limited to 'include/vram.h')
-rw-r--r--include/vram.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/vram.h b/include/vram.h
index a3fde71c..eae470e5 100644
--- a/include/vram.h
+++ b/include/vram.h
@@ -50,4 +50,32 @@ extern bool32 LoadSwapGFX(Entity*, u32, u32);
extern void UnloadGFXSlots(Entity*);
extern void sub_080ADD70(void);
+extern u16 gBG0Buffer[0x400];
+extern u16 gBG1Buffer[0x400];
+extern u16 gBG2Buffer[0x400];
+extern u16 gBG3Buffer[0x800];
+
+typedef struct {
+ u8 unk0;
+ u8 unk1;
+ u16 unk2;
+ u8 unk4;
+ u8 unk5;
+ u8 unk6;
+ u8 unk7;
+} OAMObj;
+
+typedef struct {
+ u8 field_0x0;
+ u8 field_0x1;
+ u8 spritesOffset;
+ u8 updated;
+ u16 _4;
+ u16 _6;
+ u8 _0[0x18];
+ struct OamData oam[0x80];
+ OAMObj unk[0xA0]; /* todo: affine */
+} OAMControls;
+extern OAMControls gOAMControls;
+
#endif //VRAM_H