mirror of
https://github.com/doldecomp/sms.git
synced 2026-11-10 01:51:38 -10:00
53 lines
1.6 KiB
C++
53 lines
1.6 KiB
C++
#ifndef CAMERA_CAMERA_INBETWEEN_HPP
|
|
#define CAMERA_CAMERA_INBETWEEN_HPP
|
|
|
|
#include <JSystem/JGeometry/JGVec3.hpp>
|
|
#include <dolphin/types.h>
|
|
|
|
class TCameraInbetween {
|
|
public:
|
|
enum EnumAngleInbetMode {
|
|
|
|
};
|
|
|
|
TCameraInbetween();
|
|
void calcPolarData_();
|
|
void warpPosAndAt(const Vec&, const Vec&);
|
|
void addMoveCameraAndMario(const Vec&);
|
|
void startCameraInbetween(int);
|
|
void initCameraInbetween(const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&);
|
|
void execCameraInbetween(const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&);
|
|
void execInbetweenAndCalcPosAndAt(const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&,
|
|
const JGeometry::TVec3<f32>&, f32, f32,
|
|
f32, f32, JGeometry::TVec3<f32>*,
|
|
JGeometry::TVec3<f32>*);
|
|
void setInbetModePosAngleY(TCameraInbetween::EnumAngleInbetMode, s16, s16);
|
|
|
|
bool isThing() const { return unk44 != 0.0f ? true : false; }
|
|
|
|
s32 getUnk4() const { return mFramesRemaining; }
|
|
|
|
public:
|
|
/* 0x0 */ u32 unk0;
|
|
/* 0x4 */ s32 mFramesRemaining;
|
|
/* 0x8 */ f32 unk8;
|
|
/* 0xC */ s16 unkC;
|
|
/* 0xE */ s16 unkE;
|
|
/* 0x10 */ f32 unk10;
|
|
/* 0x14 */ s16 unk14;
|
|
/* 0x16 */ s16 unk16;
|
|
/* 0x18 */ JGeometry::TVec3<f32> mPos;
|
|
/* 0x24 */ JGeometry::TVec3<f32> mAt;
|
|
/* 0x30 */ JGeometry::TVec3<f32> unk30;
|
|
/* 0x3C */ s32 unk3C;
|
|
/* 0x40 */ u32 unk40;
|
|
/* 0x44 */ f32 unk44;
|
|
};
|
|
|
|
#endif
|