summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-03-16 23:30:51 +0100
committerrobojumper <robojumper@gmail.com>2025-03-16 23:30:51 +0100
commitc0dfac79f7e054f2a6dd09563d27d3530c43e4d5 (patch)
tree4e049bf9d55508e35e37552a27155771a8c576c4 /include
parentfd19da8ac80df2d8a48a40a69c7ea163d1f50ab0 (diff)
PostEffectMask OK
Diffstat (limited to 'include')
-rw-r--r--include/egg/gfx/eggDrawGX.h10
-rw-r--r--include/egg/gfx/eggPostEffectMask.h26
2 files changed, 30 insertions, 6 deletions
diff --git a/include/egg/gfx/eggDrawGX.h b/include/egg/gfx/eggDrawGX.h
index e72d2cf8..b7a4d10c 100644
--- a/include/egg/gfx/eggDrawGX.h
+++ b/include/egg/gfx/eggDrawGX.h
@@ -96,11 +96,11 @@ public:
static u32 s_flag;
- static GXColor BLACK;
- static GXColor WHITE;
- static GXColor GREEN;
- static GXColor RED;
- static GXColor BLUE;
+ static const GXColor BLACK;
+ static const GXColor WHITE;
+ static const GXColor GREEN;
+ static const GXColor RED;
+ static const GXColor BLUE;
};
} // namespace EGG
diff --git a/include/egg/gfx/eggPostEffectMask.h b/include/egg/gfx/eggPostEffectMask.h
index 5af4ee11..97cfbf61 100644
--- a/include/egg/gfx/eggPostEffectMask.h
+++ b/include/egg/gfx/eggPostEffectMask.h
@@ -1,6 +1,30 @@
#ifndef EGG_POST_EFFECT_MASK_H
#define EGG_POST_EFFECT_MASK_H
-namespace EGG {} // namespace EGG
+#include "egg/gfx/eggPostEffectBase.h"
+#include "rvl/GX/GXTypes.h"
+
+namespace EGG {
+
+class PostEffectMask : public PostEffectBase {
+public:
+ PostEffectMask();
+
+ virtual void setMaterialInternal() override;
+
+ GXTevScale GetTevScale() const {
+ return static_cast<GXTevScale>(field_0x1BC);
+ }
+
+private:
+ /* 0x2C */ int field_0x2C;
+ /* 0x30 */ GXColor mColor;
+ /* 0x34 */ f32 field_0x34;
+ /* 0x38 */ f32 field_0x38;
+ /* 0x3C */ u8 _0x3C[0x180];
+ /* 0x1BC */ u8 field_0x1BC;
+};
+
+} // namespace EGG
#endif