mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-23 07:01:32 +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>
72 lines
1.9 KiB
C++
72 lines
1.9 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include "Game/Util/EffectUtil.hpp"
|
|
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
|
|
class ActorCameraInfo;
|
|
class GCaptureRibbon;
|
|
|
|
class AstroDomeBlueStar : public LiveActor {
|
|
public:
|
|
class CaptureActor : public LiveActor {
|
|
public:
|
|
/// @brief Creates a new `CaptureActor`.
|
|
CaptureActor();
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void kill();
|
|
|
|
void updateTransTraction(const TVec3f&, const TVec3f&, s32);
|
|
|
|
void forceKill() {
|
|
MR::forceDeleteEffectAll(this);
|
|
LiveActor::kill();
|
|
};
|
|
|
|
void setPosAll(TVec3f& mPos) {
|
|
mPosition.set(mPos);
|
|
mHostMtx.setTrans(mPosition);
|
|
}
|
|
|
|
/* 0x8C */ TPos3f mHostMtx;
|
|
};
|
|
|
|
/// @brief Creates a new `AstroDomeBlueStar`.
|
|
/// @param pName A pointer to the null-terminated name of the object.
|
|
AstroDomeBlueStar(const char* pName);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void draw() const;
|
|
virtual void appear();
|
|
virtual void kill();
|
|
virtual void control();
|
|
virtual bool receiveOtherMsg(u32, HitSensor*, HitSensor*);
|
|
|
|
void waitAppear();
|
|
void forceKill();
|
|
bool tryStartBind(const LiveActor*);
|
|
bool isActiveBind() const;
|
|
bool isValidBindStart() const;
|
|
void calcZoomInPos(TVec3f*) const;
|
|
|
|
void exeAppear();
|
|
void exeWait();
|
|
void exePointing();
|
|
void exeTryStartBind();
|
|
void exeBindTraction();
|
|
void exeBindHold();
|
|
void exeBindEnd();
|
|
void exeGalaxySelect();
|
|
void exeGalaxyConfirmStart();
|
|
void exeGalaxyConfirmCancel();
|
|
void exeGalaxyConfirm();
|
|
|
|
/* 0x08C */ GCaptureRibbon* mCaptureRibbon;
|
|
/* 0x090 */ TPos3f mHostMtx;
|
|
/* 0x0C0 */ TPos3f mBindStartMtx;
|
|
/* 0x0F0 */ ActorCameraInfo* mCameraInfo;
|
|
/* 0x0F4 */ TVec3f mZoomPos;
|
|
/* 0x100 */ CaptureActor* mCaptureActor;
|
|
};
|