mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
5f287fcaee
* initial progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * more progress * fix outdated member names * more progress * more progress * more progress * more progress * more progress * more progress * fixed deprecated member references * more progress * more progress * more progress * fix deprecated member references * more progress * more progress * more progress * more progress * more progress * check in for review * remove comment * initial PR changes * more PR changes * more PR changes * added anonymous struct as class member * reverted changes to `stage_camera2_data_class` * added `dCamera_event_data`, `dCamera_monitoring_things` and `dCamera_DMC_system` from debug maps * more progress * more progress * realmatch for `camera_draw` * PR changes * fix broken merge * formatting * Reverted change to `camSphChkdata` that caused `sph_chk_callback` match to regress * Reverted change to `BG` struct that caused ctor and dtor match to regress
37 lines
727 B
C++
37 lines
727 B
C++
#ifndef D_SPLINE_PATH_H
|
|
#define D_SPLINE_PATH_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
class cXyz;
|
|
|
|
class d2DBSplinePath {
|
|
public:
|
|
void Last() {}
|
|
|
|
void Init(s32, s32);
|
|
bool Step();
|
|
cXyz Calc(cXyz*);
|
|
f32 Calc(f32*);
|
|
|
|
public:
|
|
/* 0x00 */ s32 mFrame;
|
|
/* 0x04 */ s32 mKeyNum;
|
|
/* 0x08 */ s32 mDuration;
|
|
/* 0x0C */ s32 mState;
|
|
/* 0x10 */ s32 mKeyNo;
|
|
/* 0x14 */ s32 mEnd;
|
|
/* 0x18 */ s32 field_0x18;
|
|
/* 0x1C */ f32 mStep;
|
|
/* 0x20 */ s32 field_0x20;
|
|
/* 0x24 */ f32 mCurveWeight[3];
|
|
/* 0x30 */ s32 mCurveKey[3];
|
|
/* 0x3C */ void* mUser;
|
|
/* 0x40 */ //void* vtbl; // XXX
|
|
|
|
d2DBSplinePath() { Init(0, 0); }
|
|
virtual ~d2DBSplinePath(){};
|
|
};
|
|
|
|
#endif /* D_SPLINE_PATH_H */
|