mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 14:01:12 +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>
51 lines
3.5 KiB
C++
51 lines
3.5 KiB
C++
#pragma once
|
|
|
|
#include <JSystem/JGeometry/TVec.hpp>
|
|
#include <revolution/types.h>
|
|
|
|
class ActorCameraInfo;
|
|
class CameraTargetArg;
|
|
class JMapInfoIter;
|
|
class LiveActor;
|
|
|
|
namespace MR {
|
|
void initAnimCamera(const LiveActor*, const ActorCameraInfo*, const char*);
|
|
ActorCameraInfo* createActorCameraInfo(const JMapInfoIter&);
|
|
bool createActorCameraInfoIfExist(const JMapInfoIter&, ActorCameraInfo**);
|
|
bool initActorCamera(const LiveActor*, const JMapInfoIter&, ActorCameraInfo**);
|
|
bool initMultiActorCamera(const LiveActor*, const JMapInfoIter&, ActorCameraInfo**, const char*);
|
|
bool initMultiActorCameraNoInit(const LiveActor*, ActorCameraInfo*, const char*);
|
|
void initActorCameraProgrammable(const LiveActor*);
|
|
bool startActorCameraNoTarget(const LiveActor*, const ActorCameraInfo*, s32);
|
|
bool startActorCameraTargetPlayer(const LiveActor*, const ActorCameraInfo*, s32);
|
|
bool startActorCameraTargetSelf(const LiveActor*, const ActorCameraInfo*, s32);
|
|
bool startActorCameraTargetOther(const LiveActor*, const ActorCameraInfo*, const CameraTargetArg&, s32);
|
|
bool startMultiActorCameraNoTarget(const LiveActor*, const ActorCameraInfo*, const char*, s32);
|
|
bool startMultiActorCameraTargetPlayer(const LiveActor*, const ActorCameraInfo*, const char*, s32);
|
|
bool startMultiActorCameraTargetSelf(const LiveActor*, const ActorCameraInfo*, const char*, s32);
|
|
bool startMultiActorCameraTargetOther(const LiveActor*, const ActorCameraInfo*, const char*, const CameraTargetArg&, s32);
|
|
void startAnimCameraTargetPlayer(const LiveActor*, const ActorCameraInfo*, const char*, s32, f32);
|
|
void startAnimCameraTargetSelf(const LiveActor*, const ActorCameraInfo*, const char*, s32, f32);
|
|
void startAnimCameraTargetOther(const LiveActor*, const ActorCameraInfo*, const char*, const CameraTargetArg&, s32, f32);
|
|
void startActorCameraProgrammable(const LiveActor*, s32);
|
|
bool endActorCamera(const LiveActor*, const ActorCameraInfo*, bool, s32);
|
|
bool endMultiActorCamera(const LiveActor*, const ActorCameraInfo*, const char*, bool, s32);
|
|
bool endActorCameraAtLanding(const LiveActor*, const ActorCameraInfo*, s32);
|
|
bool endMultiActorCameraAtLanding(const LiveActor*, const ActorCameraInfo*, const char*, s32);
|
|
void endActorCameraProgrammable(const LiveActor*, s32, bool);
|
|
bool isActiveActorCamera(const LiveActor*, const ActorCameraInfo*);
|
|
bool isActiveMultiActorCamera(const LiveActor*, const ActorCameraInfo*, const char*);
|
|
void setProgrammableCameraParam(const LiveActor*, const TVec3f&, const TVec3f&, const TVec3f&);
|
|
void setProgrammableCameraParamFovy(const LiveActor*, f32);
|
|
void initAnimCamera(const LiveActor*, const ActorCameraInfo*, const char*, const char*);
|
|
void endAnimCamera(const LiveActor*, const ActorCameraInfo*, const char*, s32, bool);
|
|
s32 getAnimCameraFrame(const LiveActor*, const ActorCameraInfo*, const char*);
|
|
bool isAnimCameraEnd(const LiveActor*, const ActorCameraInfo*, const char*);
|
|
s32 getActorCameraFrames(const LiveActor*, const ActorCameraInfo*);
|
|
s32 getMultiActorCameraFrames(const LiveActor*, const ActorCameraInfo*, const char*);
|
|
bool isExistActorCamera(const ActorCameraInfo*);
|
|
void startRumbleWithShakeCameraWeak(const LiveActor*, const char*, const char*, f32, f32);
|
|
void startRumbleWithShakeCameraNormalWeak(const LiveActor*, const char*, const char*, f32, f32);
|
|
void startRumbleWithShakeCameraStrong(const LiveActor*, const char*, const char*, f32, f32);
|
|
}; // namespace MR
|