mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 16:01:14 +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>
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class ActorCameraInfo;
|
|
class RunawayRabbit;
|
|
class RunawayTico;
|
|
|
|
class RunawayRabbitCollect : public LiveActor {
|
|
public:
|
|
/// @brief Creates a new `RunawayRabbitCollect`.
|
|
/// @param pName A pointer to the null-terminated name of the object.
|
|
RunawayRabbitCollect(const char* pName);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
virtual void initAfterPlacement();
|
|
virtual void control();
|
|
|
|
s32 calcCompleteRabbitCount() const;
|
|
void linkMsgCtrl();
|
|
void noticeAppearRabbit(RunawayRabbit* pRabbit);
|
|
void noticeCaughtRabbit(RunawayRabbit* pRabbit);
|
|
void appearTico(RunawayTico* pTico, const TVec3f& rPos);
|
|
|
|
void exeWait();
|
|
void exeActive();
|
|
|
|
private:
|
|
/* 0x8C */ ActorCameraInfo* mCameraInfo;
|
|
/* 0x90 */ RunawayRabbit** mRabbit;
|
|
/* 0x94 */ s32 mRabbitNum;
|
|
/* 0x98 */ RunawayTico** mTico;
|
|
/* 0x9C */ s32 mTicoNum;
|
|
/* 0xA0 */ u32 mLinkedRabbitCount;
|
|
/* 0xA4 */ s32 mCaughtRabbitCount;
|
|
/* 0xA8 */ s32 mCompleteRabbitCount;
|
|
/* 0xAC */ s32 mBgmState;
|
|
/* 0xB0 */ bool mIsAppearTico[3];
|
|
};
|