mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 01:01:45 +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>
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class AnimScaleController;
|
|
class WalkerStateBindStarPointer;
|
|
|
|
class Shellfish : public LiveActor {
|
|
public:
|
|
Shellfish(const char*);
|
|
|
|
virtual ~Shellfish();
|
|
virtual void init(const JMapInfoIter&) override;
|
|
virtual void initAfterPlacement() override;
|
|
virtual void calcAndSetBaseMtx() override;
|
|
virtual void control() override;
|
|
virtual void attackSensor(HitSensor*, HitSensor*) override;
|
|
virtual bool receiveMsgPlayerAttack(u32, HitSensor*, HitSensor*) override;
|
|
|
|
void exeWait();
|
|
void exeOpen();
|
|
void exeOpenWait();
|
|
void exeCloseSignal();
|
|
void exeClose();
|
|
void exeShock();
|
|
void exeDPDOpen();
|
|
void endDPDOpen();
|
|
void initItem(const JMapInfoIter&);
|
|
void initCoin(const JMapInfoIter&) NO_INLINE;
|
|
void initYellowChip(const JMapInfoIter&);
|
|
void initBlueChip(const JMapInfoIter&);
|
|
void initKinokoOneUp(const JMapInfoIter&);
|
|
void startBindItem();
|
|
void endBindItem();
|
|
void putItem();
|
|
|
|
/* 0x8C */ AnimScaleController* mScaleController;
|
|
/* 0x90 */ WalkerStateBindStarPointer* mStarPointerState;
|
|
/* 0x94 */ LiveActor* mItem;
|
|
/* 0x98 */ s32 mItemType;
|
|
/* 0x9C */ bool mIsItemBound;
|
|
/* 0xA0 */ CollisionParts* mLowCollision;
|
|
bool _A4;
|
|
};
|