mirror of
https://github.com/doldecomp/sms.git
synced 2026-11-12 14:18:52 -10:00
73 lines
1.6 KiB
C++
73 lines
1.6 KiB
C++
#ifndef CAMERA_CUBE_MAP_TOOL_HPP
|
|
#define CAMERA_CUBE_MAP_TOOL_HPP
|
|
|
|
#include <JSystem/JGeometry.hpp>
|
|
#include <JSystem/JDrama/JDRNameRef.hpp>
|
|
|
|
class TCubeGeneralInfo : public JDrama::TNameRef {
|
|
public:
|
|
TCubeGeneralInfo(const char* name = "<TCubeGeneralInfo>")
|
|
: JDrama::TNameRef(name)
|
|
, unkC(0.0f, 0.0f, 0.0f)
|
|
, unk18(0.0f, 0.0f, 0.0f)
|
|
, unk24(1.0f, 1.0f, 1.0f)
|
|
, unk30(0x80)
|
|
, unk32(2)
|
|
, unk34(0)
|
|
{
|
|
}
|
|
|
|
const JGeometry::TVec3<f32>& getUnkC() const { return unkC; }
|
|
const JGeometry::TVec3<f32>& getUnk18() const { return unk18; }
|
|
const JGeometry::TVec3<f32>& getUnk24() const { return unk24; }
|
|
|
|
virtual void load(JSUMemoryInputStream& stream);
|
|
|
|
public:
|
|
/* 0xC */ JGeometry::TVec3<f32> unkC;
|
|
/* 0x18 */ JGeometry::TVec3<f32> unk18;
|
|
/* 0x24 */ JGeometry::TVec3<f32> unk24;
|
|
/* 0x30 */ s16 unk30;
|
|
/* 0x32 */ u16 unk32;
|
|
/* 0x34 */ s32 unk34;
|
|
};
|
|
|
|
class TCubeStreamInfo : public TCubeGeneralInfo {
|
|
public:
|
|
TCubeStreamInfo(const char* name = "<TCubeStreamInfo>")
|
|
: TCubeGeneralInfo(name)
|
|
, unk38(1)
|
|
, unk3C(0.0f)
|
|
, unk40(0.0f)
|
|
{
|
|
}
|
|
|
|
virtual void load(JSUMemoryInputStream& stream);
|
|
|
|
public:
|
|
/* 0x38 */ s32 unk38;
|
|
/* 0x3C */ f32 unk3C;
|
|
/* 0x40 */ f32 unk40;
|
|
};
|
|
|
|
class TCameraMapTool;
|
|
|
|
class TCubeCameraInfo : public TCubeGeneralInfo {
|
|
public:
|
|
TCubeCameraInfo(const char* name = "<TCubeCameraInfo>")
|
|
: TCubeGeneralInfo(name)
|
|
, unk38(nullptr)
|
|
{
|
|
}
|
|
|
|
virtual void load(JSUMemoryInputStream& stream);
|
|
|
|
// fabricated
|
|
TCameraMapTool* getCameraMapTool() const { return unk38; }
|
|
|
|
public:
|
|
/* 0x38 */ TCameraMapTool* unk38;
|
|
};
|
|
|
|
#endif
|