mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-23 18:01:40 +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>
49 lines
1.3 KiB
C++
49 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class AnimScaleController;
|
|
class WalkerStateBindStarPointer;
|
|
|
|
class Jellyfish : public LiveActor {
|
|
public:
|
|
Jellyfish(const char*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void kill();
|
|
virtual void control();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual void attackSensor(HitSensor*, HitSensor*);
|
|
virtual bool receiveMsgPlayerAttack(u32, HitSensor*, HitSensor*);
|
|
virtual bool receiveMsgEnemyAttack(u32, HitSensor*, HitSensor*);
|
|
|
|
void exeWait();
|
|
void exeFind();
|
|
void exeThreat();
|
|
void exeDeath();
|
|
void exeAttack();
|
|
void exeRailGoal();
|
|
void exeDPDSwoon();
|
|
void exeWaitWithLeftTurn();
|
|
void exeWaitWithRightTurn();
|
|
void exeThreatWithLeftTurn();
|
|
void exeThreatWithRightTurn();
|
|
|
|
void threatTurn();
|
|
bool faceToMario();
|
|
void knockOut(HitSensor*, HitSensor*);
|
|
bool selectNerveAfterWait();
|
|
bool selectNerveThreat();
|
|
bool tryDPDSwoon();
|
|
|
|
/* 0x8C */ AnimScaleController* mController;
|
|
/* 0x90 */ WalkerStateBindStarPointer* mBindStarPtr;
|
|
/* 0x94 */ s32 _94;
|
|
/* 0x98 */ TVec3f _98;
|
|
/* 0xA4 */ bool mIsConnectedRail;
|
|
/* 0xA8 */ f32 _A8;
|
|
/* 0xAC */ s32 _AC;
|
|
/* 0xB0 */ bool _B0;
|
|
/* 0xB4 */ TVec3f _B4;
|
|
};
|