mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 16:01:14 +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>
78 lines
3.8 KiB
C++
78 lines
3.8 KiB
C++
#pragma once
|
|
|
|
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
#include <revolution/types.h>
|
|
|
|
class HitSensor;
|
|
class JMapInfoIter;
|
|
class MapPartsRailGuideDrawer;
|
|
class MapPartsRailMover;
|
|
class MapPartsRailRotator;
|
|
class LiveActor;
|
|
|
|
namespace MR {
|
|
const HitSensor* getBodySensor(LiveActor*);
|
|
void setBodySensorType(LiveActor*, u32);
|
|
void setBodySensorTypeMapObj(LiveActor*);
|
|
void setBodySensorTypePress(LiveActor*);
|
|
void setBodySensorTypeMoveCollision(LiveActor*);
|
|
bool isBodySensorTypeMapObj(const LiveActor*);
|
|
bool receiveMapPartsRotateMsg(LiveActor*, u32, MapPartsRailMover*, MapPartsRailRotator*);
|
|
bool tryStartMapPartsRotateAtPoint(LiveActor*, MapPartsRailMover*, MapPartsRailRotator*);
|
|
bool tryEndMapPartsRotateAtPoint(LiveActor*, MapPartsRailMover*, MapPartsRailRotator*);
|
|
bool tryStartMapPartsRotateBetweenPoints(LiveActor*, MapPartsRailMover*, MapPartsRailRotator*);
|
|
bool isMapPartsRailMovePassedStartPointRepeat(const MapPartsRailMover*);
|
|
bool isMapPartsRailMovePassedEndPointRepeat(const MapPartsRailMover*);
|
|
void getMapPartsObjectName(char*, u32, const JMapInfoIter&);
|
|
void getMapPartsObjectNameIfExistShapeID(char*, u32, const JMapInfoIter&);
|
|
void getMapPartsObjectName(char*, u32, const char*, s32);
|
|
void initMapPartsClipping(LiveActor*, const JMapInfoIter&, TVec3f*, bool);
|
|
bool isMapPartsPressOn(const JMapInfoIter&);
|
|
MapPartsRailGuideDrawer* createMapPartsRailGuideDrawer(LiveActor*, const char*, const JMapInfoIter&);
|
|
void initMapPartsShadow(LiveActor*, const JMapInfoIter&);
|
|
|
|
bool getMapPartsArgMoveConditionType(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateSpeed(f32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateTime(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateAngle(f32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateAxis(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateAccelType(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateStopTime(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRotateType(s32*, const JMapInfoIter&);
|
|
s32 getMapPartsArgShadowType(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgSignMotionType(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgMovePosture(s32*, const LiveActor*);
|
|
bool getMapPartsArgMoveStopType(s32*, const LiveActor*);
|
|
bool getMapPartsArgRailGuideType(s32*, const LiveActor*);
|
|
bool getMapPartsArgRailInitPosType(s32*, const LiveActor*);
|
|
bool getMapPartsArgMoveSpeed(f32*, const JMapInfoIter&);
|
|
bool getMapPartsArgMoveSpeed(f32*, const LiveActor*);
|
|
bool getMapPartsArgStopTime(s32*, const LiveActor*);
|
|
bool getMapPartsArgAccelTime(s32*, const LiveActor*);
|
|
bool getMapPartsArgSpeedCalcType(s32*, const LiveActor*);
|
|
bool getMapPartsArgRailRotateSpeed(f32*, const JMapInfoIter&);
|
|
bool getMapPartsArgRailRotateTime(s32*, const JMapInfoIter&);
|
|
bool getMapPartsArgSpeedCalcType(s32*, const LiveActor*, s32);
|
|
bool getMapPartsArgRailRotateSpeed(f32*, const LiveActor*, s32);
|
|
bool getMapPartsArgRailRotateTime(s32*, const LiveActor*, s32);
|
|
bool getMapPartsArgRailRotateAngle(f32*, const LiveActor*, s32);
|
|
bool getMapPartsArgRailRotateAxis(s32*, const LiveActor*, s32);
|
|
bool getMapPartsArgRailRotateType(s32*, const LiveActor*, s32);
|
|
|
|
bool getMapPartsArgMoveTimeToNextPoint(s32*, const LiveActor*);
|
|
|
|
bool isMapPartsSignMotionTypeMoveStart(s32);
|
|
bool isMapPartsSignMotionTypeMoveWait(s32);
|
|
bool hasMapPartsMoveStartSignMotion(s32);
|
|
bool hasMapPartsVanishSignMotion(s32);
|
|
bool isMapPartsShadowTypeNone(s32);
|
|
bool hasMapPartsShadow(s32);
|
|
bool isMoveStartTypeUnconditional(s32);
|
|
bool isMoveStartTypePlayerOnStopEnd(s32);
|
|
bool isMapPartsRailInitPosTypeRailPos(s32);
|
|
bool isMapPartsRailInitPosTypeRailPoint(s32);
|
|
bool isMapPartsRailInitPosTypePoint0(s32);
|
|
bool isMapPartsRailSpeedCalcTypeTime(s32);
|
|
|
|
}; // namespace MR
|