mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 14:01:27 +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>
55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/MapObj/MapObjActor.hpp"
|
|
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
|
|
template < typename T >
|
|
class JointControlDelegator;
|
|
class JointControllerInfo;
|
|
class MsgSharedGroup;
|
|
|
|
class FlipPanel : public MapObjActor {
|
|
public:
|
|
FlipPanel(const char*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void appear();
|
|
virtual void endClipped();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual bool receiveOtherMsg(u32, HitSensor*, HitSensor*);
|
|
|
|
void exeFrontLand();
|
|
void exeBackLand();
|
|
void exeWait();
|
|
void exeEndPrepare();
|
|
void exeEnd();
|
|
bool calcJointMove(TPos3f*, const JointControllerInfo&);
|
|
bool checkPlayerOnTop();
|
|
|
|
JointControlDelegator< FlipPanel >* mDelegator; // 0xC4
|
|
MsgSharedGroup* mFlipPanelGroup; // 0xC8
|
|
bool _CC;
|
|
u8 _CD;
|
|
s32 _D0;
|
|
bool mIsReverse; // 0xD4
|
|
};
|
|
|
|
class FlipPanelObserver : public LiveActor {
|
|
public:
|
|
FlipPanelObserver(const char*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void initAfterPlacement();
|
|
virtual bool receiveOtherMsg(u32, HitSensor*, HitSensor*);
|
|
|
|
void exeWait();
|
|
void exeComplete();
|
|
void exeDemoWait();
|
|
|
|
MsgSharedGroup* _8C;
|
|
s32 _90;
|
|
s32 mDemoDelay; // 0x94
|
|
s32 mPowerStarId; // 0x98
|
|
u8 _9C;
|
|
};
|