Files
bigmak94andClaude Opus 5.5 4b395efe5c Add the Petari decompilation (SMGCommunity/Petari@0a5c660)
The sources of Petari (https://github.com/SMGCommunity/Petari), the
Super Mario Galaxy decompilation by the SMGCommunity, at commit
0a5c6608dc3b4c44a9aa68c2535d1793dc565f02, unchanged but for LF line
endings: LICENSE (as LICENSE-Petari.txt; CC0 1.0), include/, libs/ and
src/.  Left out: the game data Petari keeps from the original
executable, the error message archive (include/Game/System/
ErrorArchive.hpp) and two tables (src/Game/System/GalaxyID.bcsv and
StoryEvent.bcsv); GalaxyQuest's converter takes them from the player's
own disc.  The port's changes follow in the next commit, so
`git diff petari-base -- decomp` shows them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 01:59:38 +02:00

48 lines
1.2 KiB
C++

#pragma once
#include "Game/Screen/ImageEffectBase.hpp"
class JUTTexture;
class BloomEffect : public ImageEffectBase {
public:
enum BLOOM_TEX_DRAW_TYPE {
DrawType_0 = 0,
DrawType_1 = 1,
DrawType_2 = 2,
};
BloomEffect(const char* pName);
virtual ~BloomEffect() {
}
void preDraw() const;
void postDraw() const;
u8 getIntensity1Default() const;
u8 getIntensity2Default() const;
bool isForEachModel() const;
void initDraw() const;
void drawTexture(JUTTexture*, s32, s32, u8, BLOOM_TEX_DRAW_TYPE) const;
void blurTexture(JUTTexture*, Mtx*, s32, s32, u32, f32, u32, const f32*) const;
void initBlurMtx(Mtx*, u32, f32, f32) const;
void initBlur(JUTTexture*, u32, f32) const;
void drawBlur(s32, s32, Mtx*, u32, u32) const;
/* 0x14 */ u8 _14;
/* 0x18 */ f32 _18;
/* 0x1C */ f32 _1C;
/* 0x20 */ u8 _20;
/* 0x24 */ JUTTexture* _24;
/* 0x28 */ JUTTexture* _28;
/* 0x2C */ JUTTexture* _2C;
/* 0x30 */ JUTTexture* _30;
/* 0x34 */ JUTTexture* _34;
/* 0x38 */ JUTTexture* _38;
/* 0x3C */ JUTTexture* _3C;
/* 0x40 */ JUTTexture* _40;
/* 0x44 */ JUTTexture* _44;
/* 0x48 */ Mtx* _48;
/* 0x4C */ Mtx* _4C;
};