summaryrefslogtreecommitdiff
path: root/arm9/lib/include/GX_g2.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-05-19 20:47:26 +0300
committerGitHub <noreply@github.com>2020-05-19 20:47:26 +0300
commitf498725e917a761e42a6f93efdf239dde46dc245 (patch)
treedc335eeb815b2236516ea1c405cb1d26b0890f76 /arm9/lib/include/GX_g2.h
parentf0f5bcb1ff206f093958f523e2fc8892383e3028 (diff)
parent07c521e0fb29afac447846c52379fe6874c08a3e (diff)
Merge branch 'master' into master
Diffstat (limited to 'arm9/lib/include/GX_g2.h')
-rw-r--r--arm9/lib/include/GX_g2.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arm9/lib/include/GX_g2.h b/arm9/lib/include/GX_g2.h
new file mode 100644
index 00000000..f8d86df0
--- /dev/null
+++ b/arm9/lib/include/GX_g2.h
@@ -0,0 +1,14 @@
+#ifndef GUARD_GX_G2_H
+#define GUARD_GX_G2_H
+
+#include "fx.h"
+
+void G2x_SetBGyAffine_(u32 *ptr, struct Mtx22 *mtx, fx32 a, fx32 b, fx32 c, fx32 d);
+void G2x_SetBlendAlpha_(u32 *ptr, fx32 a, fx32 b, fx32 c, fx32 d);
+void G2x_SetBlendBrightness_(u16 *ptr, fx32 a, fx32 brightness);
+void G2x_SetBlendBrightnessExt_(u16 *ptr, fx32 a, fx32 b, fx32 c, fx32 d, fx32 brightness);
+void *G2x_ChangeBlendBrightness_(u16 *ptr, fx32 brightness);
+
+//The g2 and g2_oam headers contain a lot of inline functions and enums that may want to be ported over at some point
+
+#endif //GUARD_GX_G2_H