GLES2N64 (from mupen64plus-ae) plugin. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / gles2n64 / src / S2DEX2.h
diff --git a/source/gles2n64/src/S2DEX2.h b/source/gles2n64/src/S2DEX2.h
new file mode 100644 (file)
index 0000000..cbe98d7
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef S2DEX2_H
+#define S2DEX2_H
+
+void S2DEX2_Init();
+
+#define S2DEX2_OBJ_RECTANGLE_R  0xDA
+#define S2DEX2_OBJ_MOVEMEM      0xDC
+#define S2DEX2_RDPHALF_0        0xE4
+#define S2DEX2_OBJ_RECTANGLE    0x01
+#define S2DEX2_OBJ_SPRITE       0x02
+#define S2DEX2_SELECT_DL        0x04
+#define S2DEX2_OBJ_LOADTXTR     0x05
+#define S2DEX2_OBJ_LDTX_SPRITE  0x06
+#define S2DEX2_OBJ_LDTX_RECT    0x07
+#define S2DEX2_OBJ_LDTX_RECT_R  0x08
+#define S2DEX2_BG_1CYC          0x09
+#define S2DEX2_BG_COPY          0x0A
+#define S2DEX2_OBJ_RENDERMODE   0x0B
+#endif
+