mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-27 05:01:38 +01: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>
52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class CollectTico;
|
|
class PartsModel;
|
|
|
|
/// @brief Silver Star
|
|
class StrayTico : public LiveActor {
|
|
public:
|
|
StrayTico(const char*, CollectTico*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void appear();
|
|
virtual void control();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual void attackSensor(HitSensor*, HitSensor*);
|
|
virtual bool receiveMsgPush(HitSensor*, HitSensor*);
|
|
virtual bool receiveMsgPlayerAttack(u32, HitSensor*, HitSensor*);
|
|
virtual bool receiveOtherMsg(u32, HitSensor*, HitSensor*);
|
|
|
|
void initSensor();
|
|
void setShadowDrop(const char*);
|
|
void initShadow() NO_INLINE;
|
|
void startGlad();
|
|
bool requestCompleteDemo(const TVec3f&, const TVec3f&, f32);
|
|
void updateWarp();
|
|
void updateChase();
|
|
bool isEnableSpin() const;
|
|
bool isRescued() const;
|
|
bool isCompleteDemoEnd() const;
|
|
void noticeEnd();
|
|
|
|
void exeWait();
|
|
void exeGlad();
|
|
void exeChase();
|
|
void exeLauncherCamera();
|
|
void exeCompleteDemo();
|
|
|
|
/* 0x8C */ CollectTico* mHost;
|
|
/* 0x90 */ PartsModel* mItemBubbleModel;
|
|
/* 0x94 */ TQuat4f mRotateQuat;
|
|
/* 0xA4 */ TVec3f mFrontVec;
|
|
/* 0xB0 */ TVec3f _B0;
|
|
/* 0xBC */ TVec3f _BC;
|
|
/* 0xC8 */ TVec3f _C8;
|
|
/* 0xD4 */ TVec3f _D4;
|
|
/* 0xE0 */ TVec3f _E0;
|
|
/* 0xEC */ f32 _EC;
|
|
/* 0xF0 */ f32 _F0;
|
|
};
|