mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-23 05:01:35 +02:00
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>
58 lines
1.4 KiB
C++
58 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "Game/NameObj/NameObj.hpp"
|
|
#include "Game/Util/Color.hpp"
|
|
#include <JSystem/JGeometry/TVec.hpp>
|
|
|
|
class JUTTexture;
|
|
|
|
class StarPointerBlur : public NameObj {
|
|
public:
|
|
class BlurPoint {
|
|
public:
|
|
BlurPoint();
|
|
|
|
/* 0x00 */ TVec2f mPos;
|
|
/* 0x08 */ TVec2f mDir;
|
|
/* 0x10 */ bool mIsHidden;
|
|
};
|
|
|
|
StarPointerBlur(JUTTexture* pTexture);
|
|
|
|
virtual ~StarPointerBlur();
|
|
|
|
virtual void movement();
|
|
virtual void draw() const;
|
|
|
|
void show();
|
|
void hide();
|
|
void hideAll();
|
|
void updatePoint(const TVec2f&, bool, TVec2f*);
|
|
u16 findDrawPointRange(u16*, u16*) const;
|
|
void draw0(GXColor) const;
|
|
void draw1() const;
|
|
void draw2() const;
|
|
void initDraw() const;
|
|
|
|
void setPortAndColor(s32 padChannel, const GXColor* pMainColor, const GXColor* pSubColor) NO_INLINE {
|
|
mPadChannel = padChannel;
|
|
mMainColor = pMainColor;
|
|
mSubColor = pSubColor;
|
|
}
|
|
|
|
/* 0x0C */ JUTTexture* mTexture;
|
|
/* 0x10 */ s32 mPadChannel;
|
|
/* 0x14 */ const GXColor* mMainColor;
|
|
/* 0x18 */ const GXColor* mSubColor;
|
|
/* 0x1C */ BlurPoint* mBlurPoints;
|
|
/* 0x20 */ f32* mBlurThicks;
|
|
/* 0x24 */ f32* mBlurTexCoords;
|
|
/* 0x28 */ s32 mNumHiddenPoints;
|
|
/* 0x2C */ bool _2C;
|
|
/* 0x2C */ bool _2D;
|
|
/* 0x30 */ f32 _30;
|
|
/* 0x34 */ f32 _34;
|
|
/* 0x38 */ f32 _38;
|
|
/* 0x3C */ f32 _3C;
|
|
};
|