#ifndef CAMERA_CAMERA_MAP_TOOL_HPP #define CAMERA_CAMERA_MAP_TOOL_HPP #include #include #include class TCameraMapTool : public JDrama::TNameRef { public: struct TPitchYaw { f32 pitch; f32 yaw; }; TCameraMapTool(const char* name = "") : JDrama::TNameRef(name) { } void calcPosAndAt(JGeometry::TVec3*, JGeometry::TVec3*) const; void load(JSUMemoryInputStream&); // Fabricated f32 getYaw() const { return mPitchYaw.yaw; } int getCameraMode() const { return mCameraMode; } int getDemoLengthFrames() const { return mDemoLengthFrames; } public: /* 0xC */ JGeometry::TVec3 mPosition; /* 0x18 */ TPitchYaw mPitchYaw; /* 0x20 */ u32 unk20; /* 0x24 */ s32 mCameraMode; /* 0x28 */ s32 unk28; /* 0x2C */ u32 mDemoLengthFrames; }; extern TNameRefAryT* gpCamMapToolTable; #endif