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>
55 lines
3.0 KiB
C++
55 lines
3.0 KiB
C++
#pragma once
|
|
|
|
#include <revolution/types.h>
|
|
|
|
class JMapInfoIter;
|
|
class LiveActor;
|
|
class ShadowController;
|
|
class ShadowDrawer;
|
|
class ShadowSurfaceBox;
|
|
class ShadowSurfaceCircle;
|
|
class ShadowSurfaceOval;
|
|
class ShadowVolumeBox;
|
|
class ShadowVolumeCylinder;
|
|
class ShadowVolumeDrawer;
|
|
class ShadowVolumeFlatModel;
|
|
class ShadowVolumeLine;
|
|
class ShadowVolumeOval;
|
|
class ShadowVolumeOvalPole;
|
|
class ShadowVolumeSphere;
|
|
|
|
namespace ActorShadow {
|
|
u32 getShadowControllerCount(const LiveActor*);
|
|
ShadowController* getShadowController(const LiveActor*, u32);
|
|
ShadowController* getShadowController(const LiveActor*, const char*);
|
|
bool isExistShadowController(const LiveActor*, const char*);
|
|
ShadowController* createShadowControllerVolumeParam(LiveActor*, const char*);
|
|
ShadowController* createShadowControllerSuefaceParam(LiveActor*, const char*);
|
|
ShadowSurfaceOval* getShadowSurfaceOval(const LiveActor*, const char*);
|
|
ShadowVolumeSphere* getShadowVolumeSphere(const LiveActor*, const char*);
|
|
ShadowVolumeCylinder* getShadowVolumeCylinder(const LiveActor*, const char*);
|
|
ShadowVolumeBox* getShadowVolumeBox(const LiveActor*, const char*);
|
|
ShadowVolumeDrawer* getShadowVolumeDrawer(const LiveActor*, const char*);
|
|
bool getJointNameFromCSV(const char**, const JMapInfoIter&);
|
|
s32 getShadowTypeFromCSV(const JMapInfoIter&);
|
|
void setUpShadowControlBaseMtxFromCSV(ShadowController*, LiveActor*, const JMapInfoIter&);
|
|
void setUpShadowControlIsFollowScaleFromCSV(ShadowController*, const JMapInfoIter&);
|
|
void setUpShadowControlIsSyncShowFromCSV(ShadowController*, const JMapInfoIter&);
|
|
void setUpShadowControlCalcCollisionFromCSV(ShadowController*, const JMapInfoIter&);
|
|
void setUpShadowControlCalcGravityFromCSV(ShadowController*, const JMapInfoIter&);
|
|
void setUpShadowControlFromCSV(ShadowController*, LiveActor*, const JMapInfoIter&);
|
|
ShadowController* createShadowControlFromCSV(LiveActor*, const JMapInfoIter&);
|
|
void setUpShadowVolumeFromCSV(ShadowVolumeDrawer*, const JMapInfoIter&);
|
|
ShadowSurfaceCircle* createShadowSurfaceCircleFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowSurfaceOval* createShadowSurfaceOvalFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowSurfaceBox* createShadowSurfaceBoxFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeSphere* createShadowVolumeSphereFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeOval* createShadowVolumeOvalFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeOvalPole* createShadowVolumeOvalPoleFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeCylinder* createShadowVolumeCylinderFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeBox* createShadowVolumeBoxFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeFlatModel* createShadowVolumeFlatModelFromCSV(LiveActor*, const JMapInfoIter&);
|
|
ShadowVolumeLine* createShadowVolumeLineFromCSV(LiveActor*, const JMapInfoIter&);
|
|
void addShadowFromCSV(LiveActor*, const JMapInfoIter&);
|
|
}; // namespace ActorShadow
|