summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggPostEffectBase.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-03-15 22:14:01 +0100
committerrobojumper <robojumper@gmail.com>2025-03-16 22:17:50 +0100
commit8759f710e57f66d035998428b8c864da80e36fd7 (patch)
tree8c4f8e6baa69c7129b4890f050ed58c63884d591 /src/egg/gfx/eggPostEffectBase.cpp
parent9b7889f03497dfae5792ee24803a80a7cb6a7281 (diff)
more
Diffstat (limited to 'src/egg/gfx/eggPostEffectBase.cpp')
-rw-r--r--src/egg/gfx/eggPostEffectBase.cpp24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/egg/gfx/eggPostEffectBase.cpp b/src/egg/gfx/eggPostEffectBase.cpp
index d1110185..4dd44128 100644
--- a/src/egg/gfx/eggPostEffectBase.cpp
+++ b/src/egg/gfx/eggPostEffectBase.cpp
@@ -1,3 +1,25 @@
#include "egg/gfx/eggPostEffectBase.h"
-namespace EGG {} // namespace EGG
+#include "common.h"
+#include "rvl/GX/GXTypes.h"
+
+namespace EGG {
+
+PostEffectBase::PostEffectBase() {
+ field_0x00 = 0;
+ mpCapTexture = nullptr;
+ mTexMapId = GX_TEXMAP0;
+ mpCapTexture2 = nullptr;
+ mTexMapId2 = GX_TEXMAP0;
+ mOffsetX = 0.0f;
+ mOffsetY = 0.0f;
+ mScaleX = 1.0f;
+ mScaleY = 1.0f;
+ field_0x24 = 0.0f;
+}
+
+void PostEffectBase::loadTextureInternal() {
+ mpCapTexture;
+}
+
+} // namespace EGG