mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-27 09:01:52 +01: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>
41 lines
1014 B
C++
41 lines
1014 B
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActorGroup.hpp"
|
|
#include "Game/Util/CollisionPartsFilter.hpp"
|
|
#include <JSystem/JGeometry/TVec.hpp>
|
|
#include <revolution.h>
|
|
|
|
class ClipArea;
|
|
|
|
class ClipAreaHolder : public DeriveActorGroup< ClipArea > {
|
|
public:
|
|
ClipAreaHolder(const char*);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
|
|
bool isInArea(const TVec3f&, f32) const;
|
|
|
|
/* 0x18 */ bool mIsActive;
|
|
};
|
|
|
|
class ClipAreaCollisionFilter : public CollisionPartsFilterBase {
|
|
public:
|
|
ClipAreaCollisionFilter(const TVec3f*, f32);
|
|
|
|
virtual bool isInvalidParts(const CollisionParts*) const;
|
|
|
|
/* 0x04 */ const TVec3f* _04;
|
|
/* 0x08 */ f32 _08;
|
|
};
|
|
|
|
namespace MR {
|
|
void createClipAreaHolder();
|
|
bool isExistClipAreaHolder();
|
|
void addClipArea(ClipArea*);
|
|
bool isInClipArea(const TVec3f&, f32) NO_INLINE;
|
|
bool isActiveClipArea();
|
|
void activateClipArea();
|
|
void deactivateClipArea();
|
|
void setBinderExceptSensorType(LiveActor*, const TVec3f&, f32);
|
|
}; // namespace MR
|