summaryrefslogtreecommitdiff
path: root/include/affine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/affine.h')
-rw-r--r--include/affine.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/affine.h b/include/affine.h
new file mode 100644
index 00000000..ae8d2ddb
--- /dev/null
+++ b/include/affine.h
@@ -0,0 +1,21 @@
+#ifndef AFFINE_H
+#define AFFINE_H
+
+#include "gba/types.h"
+
+typedef struct {
+ s16 x;
+ s16 y;
+ u16 _4;
+ u16 _6;
+ u16 _8;
+} OAMCommand;
+extern OAMCommand gOamCmd;
+
+extern void FlushSprites(void);
+extern void CopyOAM(void);
+extern void DrawEntities(void);
+extern void sub_080ADA04(OAMCommand*, void*);
+extern void DrawDirect(u32 spriteIndex, u32 frameIndex);
+
+#endif // AFFINE_H