mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 20:01:20 +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>
45 lines
947 B
C++
45 lines
947 B
C++
#pragma once
|
|
|
|
#include "Game/AreaObj/AreaObj.hpp"
|
|
|
|
class CubeCameraArea : public AreaObj {
|
|
public:
|
|
enum ECategory {
|
|
/* 0x00 */ ECategory_Normal,
|
|
/* 0x01 */ ECategory_Swim,
|
|
/* 0x02 */ ECategory_WaterSurface,
|
|
/* 0x03 */ ECategory_GCapture,
|
|
/* 0x04 */ ECategory_FooFighter,
|
|
/* 0x05 */ ECategory_None,
|
|
};
|
|
|
|
CubeCameraArea(int, const char*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void movement();
|
|
virtual bool isInVolume(const TVec3f&) const;
|
|
virtual s32 getCategoryArg() const;
|
|
|
|
bool isValidCameraID() const;
|
|
u16 getCameraID() const;
|
|
|
|
static void setCurrentCategory(s32);
|
|
|
|
static s32 sCubeCategory;
|
|
|
|
u32 getZoneID() const {
|
|
return mZoneID;
|
|
}
|
|
|
|
/* 0x3C */ s32 _3C;
|
|
/* 0x40 */ u32 mZoneID;
|
|
};
|
|
|
|
class CubeCameraMgr : public AreaObjMgr {
|
|
public:
|
|
CubeCameraMgr(s32, const char*);
|
|
|
|
void initAfterLoad();
|
|
void sort();
|
|
};
|