mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 02:01:17 +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>
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/HitSensor.hpp"
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include "Game/LiveActor/Nerve.hpp"
|
|
#include "Game/Map/CollisionParts.hpp"
|
|
#include "Game/MapObj/MapObjConnector.hpp"
|
|
#include "Game/Util/JMapInfo.hpp"
|
|
#include "Game/Util/SpringValue.hpp"
|
|
#include <revolution/types.h>
|
|
|
|
class DesertLandMoveSwitch : public LiveActor {
|
|
public:
|
|
DesertLandMoveSwitch(const char* pName);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
virtual void initAfterPlacement();
|
|
virtual void calcAnim();
|
|
virtual void control();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual bool receiveMsgPlayerAttack(u32 msg, HitSensor* pSender, HitSensor* pReceiver);
|
|
virtual bool receiveOtherMsg(u32 msg, HitSensor* pSender, HitSensor* pReceiver);
|
|
void initModelAndCollision(const JMapInfoIter& rIter);
|
|
bool tryOn();
|
|
bool trySwitchDown();
|
|
bool tryConnect();
|
|
void updateTimerSE();
|
|
void exeWait();
|
|
void exeSwitchDown();
|
|
void exeOn();
|
|
void exeReturn();
|
|
|
|
CollisionParts* mCollisionParts;
|
|
SpringValue* mSpringValue; // 0x90
|
|
MapObjConnector* mMapObjConnector; // 0x94
|
|
bool _98;
|
|
bool _99;
|
|
bool _9A;
|
|
s32 _9C;
|
|
const char* _A0;
|
|
};
|