mirror of
https://github.com/zeldaret/ss
synced 2026-08-19 05:51:59 -04:00
Post Effect Progress. PostEffectBlurGather OK
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef EGG_DRAW_PATH_BLOOM_H
|
||||
#define EGG_DRAW_PATH_BLOOM_H
|
||||
|
||||
#include "egg/gfx/eggDrawPathBase.h"
|
||||
namespace EGG {
|
||||
|
||||
class DrawPathBloom : public DrawPathBase {
|
||||
public:
|
||||
virtual ~DrawPathBloom();
|
||||
|
||||
virtual u16 getNumStep() const override {
|
||||
return 3;
|
||||
}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
} // namespace EGG
|
||||
|
||||
#endif
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef EGG_DRAW_PATH_UNK1_H
|
||||
#define EGG_DRAW_PATH_UNK1_H
|
||||
|
||||
namespace EGG {} // namespace EGG
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,40 @@
|
||||
#ifndef EGG_POST_EFFECT_BLUR_GATHER_H
|
||||
#define EGG_POST_EFFECT_BLUR_GATHER_H
|
||||
|
||||
#include "common.h"
|
||||
#include "egg/gfx/eggCpuTexture.h"
|
||||
#include "egg/gfx/eggDrawGX.h"
|
||||
#include "egg/gfx/eggPostEffectBase.h"
|
||||
#include "rvl/GX/GXTypes.h"
|
||||
|
||||
namespace EGG {
|
||||
|
||||
class PostEffectBlurGather : public PostEffectBase {
|
||||
// Size 0x18
|
||||
struct BlurGatherData {
|
||||
void reset() {
|
||||
mpCapTexture = nullptr;
|
||||
mColor = DrawGX::WHITE;
|
||||
mColorScale = 1.f;
|
||||
field_0x10 = 0;
|
||||
}
|
||||
/* 0x00 */ EGG::CpuTexture *mpCapTexture;
|
||||
/* 0x04 */ GXTexMapID mTexMapId;
|
||||
/* 0x08 */ GXColor mColor;
|
||||
/* 0x0C */ f32 mColorScale;
|
||||
/* 0x10 */ u8 field_0x10;
|
||||
};
|
||||
|
||||
public:
|
||||
PostEffectBlurGather();
|
||||
virtual void setMaterialInternal() override;
|
||||
|
||||
/* 0x2C */ u8 field_0x2C;
|
||||
/* 0x2D */ u8 field_0x2D;
|
||||
/* 0x30 */ f32 field_0x30;
|
||||
/* 0x34 */ BlurGatherData mBlurGatherData[3];
|
||||
};
|
||||
|
||||
} // namespace EGG
|
||||
|
||||
#endif
|
||||
@@ -1,31 +0,0 @@
|
||||
#ifndef EGG_POST_EFFECT_UNK1_H
|
||||
#define EGG_POST_EFFECT_UNK1_H
|
||||
|
||||
#include "egg/gfx/eggCpuTexture.h"
|
||||
#include "egg/gfx/eggPostEffectBase.h"
|
||||
#include "rvl/GX/GXTypes.h"
|
||||
namespace EGG {
|
||||
|
||||
class PostEffectUnk1 : public PostEffectBase {
|
||||
// Size 0x18
|
||||
struct Stage {
|
||||
/* 0x00 */ EGG::CpuTexture *field_0x00;
|
||||
/* 0x04 */ GXTexMapID mTexMapId;
|
||||
/* 0x08 */ GXColor field_0x08;
|
||||
/* 0x0C */ f32 field_0x0C;
|
||||
/* 0x10 */ u8 field_0x10;
|
||||
};
|
||||
|
||||
public:
|
||||
PostEffectUnk1();
|
||||
virtual void setMaterialInternal() override;
|
||||
|
||||
/* 0x2C */ u8 field_0x2C;
|
||||
/* 0x2D */ u8 field_0x2D;
|
||||
/* 0x30 */ f32 field_0x30;
|
||||
/* 0x34 */ Stage field_0x34[3];
|
||||
};
|
||||
|
||||
} // namespace EGG
|
||||
|
||||
#endif
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "egg/egg_types.h"
|
||||
#include "egg/gfx/eggPostEffectBase.h"
|
||||
#include "egg/math/eggVector.h"
|
||||
|
||||
namespace EGG {
|
||||
|
||||
@@ -14,13 +15,12 @@ public:
|
||||
virtual void setMaterialInternal() override;
|
||||
|
||||
private:
|
||||
/* 0x2C */ s32 field_0x2C;
|
||||
/* 0x2C */ u32 field_0x2C;
|
||||
/* 0x30 */ u32 field_0x30;
|
||||
/* 0x34 */ u8 field_0x34;
|
||||
/* 0x35 */ u8 field_0x35;
|
||||
/* 0x36 */ s16 field_0x36;
|
||||
/* 0x38 */ f32 field_0x38;
|
||||
/* 0x3C */ f32 field_0x3C;
|
||||
/* 0x38 */ Vector2f field_0x38;
|
||||
/* 0x40 */ f32 field_0x40;
|
||||
/* 0x44 */ f32 field_0x44;
|
||||
/* 0x48 */ f32 field_0x48;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "egg/math/eggMath.h"
|
||||
#include "nw4r/math/math_triangular.h"
|
||||
|
||||
#include "nw4r/math.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user