summaryrefslogtreecommitdiff
path: root/include/GX_layers.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-05-23 16:45:58 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-05-23 16:45:58 -0400
commit45561e5267602adc91847a3de3378e29a215e697 (patch)
tree90cefd995fafa90ebd20f85014768b5dfea7cb8c /include/GX_layers.h
parent57b9d8fd35548901ccd4ffcdfa7bca7140065036 (diff)
parent8ffb7a0c637d74d2140fefc7e20e10288b43e286 (diff)
Merge remote-tracking branch 'origin/master' into pikalax_work
Diffstat (limited to 'include/GX_layers.h')
-rw-r--r--include/GX_layers.h27
1 files changed, 24 insertions, 3 deletions
diff --git a/include/GX_layers.h b/include/GX_layers.h
index d6afc743..3943d582 100644
--- a/include/GX_layers.h
+++ b/include/GX_layers.h
@@ -3,9 +3,6 @@
#include "global.h"
-#include "GX_vramcnt.h"
-#include "error_message_reset.h"
-#include "gx.h"
struct GX_LayerData
{
@@ -20,6 +17,30 @@ typedef enum {
} GX_LayerToggle;
+struct GraphicsBanks
+{
+ s32 bg;
+ s32 bgextpltt;
+ s32 subbg;
+ s32 subbgextpltt;
+ s32 obj;
+ s32 objextpltt;
+ s32 subobj;
+ s32 subobjextpltt;
+ s32 tex;
+ s32 texpltt;
+};
+
+
+struct GraphicsModes {
+ u32 mode1;
+ u32 mode2;
+ u32 mode3;
+ u32 mode4;
+};
+
+
+
void GX_SetBanks(const struct GraphicsBanks *banks);
void GX_DisableEngineALayers();
void GX_EngineAToggleLayers(u32 layer_mask, GX_LayerToggle layer_toggle);