mirror of
https://github.com/doldecomp/sms.git
synced 2026-11-08 17:11:11 -10:00
35 lines
850 B
C++
35 lines
850 B
C++
#ifndef CAMERA_CAMERA_MARIO_DATA_HPP
|
|
#define CAMERA_CAMERA_MARIO_DATA_HPP
|
|
|
|
#include <JSystem/JGeometry/JGVec3.hpp>
|
|
#include <dolphin/mtx.h>
|
|
|
|
class TCameraMarioData {
|
|
public:
|
|
TCameraMarioData();
|
|
void calcAndSetMarioData();
|
|
bool isMarioGoDown() const;
|
|
bool isMarioRocketing() const;
|
|
bool isMarioIndoor() const;
|
|
bool isMarioSlider() const;
|
|
bool isMarioLeanMirror() const;
|
|
bool isMarioBathtub() const;
|
|
bool isMarioDoorDemoStart() const;
|
|
bool isMarioDoorDemoEnd() const;
|
|
bool isMarioClimb(u32) const;
|
|
|
|
void addMoveCameraAndMario(const Vec& v) { unk0 += v; }
|
|
|
|
public:
|
|
/* 0x0 */ JGeometry::TVec3<f32> unk0;
|
|
/* 0xC */ f32 mFrameMoveDistHorizontal;
|
|
/* 0x10 */ f32 mFrameMoveDistVertical;
|
|
/* 0x14 */ u32 mLastMarioStatus;
|
|
/* 0x18 */ u32 mFramesSinceMarioStatusChange;
|
|
/* 0x1C */ f32 unk1C;
|
|
};
|
|
|
|
extern TCameraMarioData* gpCameraMario;
|
|
|
|
#endif
|