mirror of https://github.com/zeldaret/tp.git
40 lines
937 B
C++
40 lines
937 B
C++
#ifndef D_D_SPLINE_PATH_H
|
|
#define D_D_SPLINE_PATH_H
|
|
|
|
#include "SSystem/SComponent/c_xyz.h"
|
|
|
|
struct dPath;
|
|
|
|
struct dPathCurve {
|
|
/* 80097C5C */ void Init(dPath*);
|
|
/* 80097C74 */ cXyz bSpline2(f32);
|
|
|
|
/* 0x00 */ int field_0x00;
|
|
/* 0x00 */ int field_0x04;
|
|
/* 0x08 */ dPath* mpPath;
|
|
};
|
|
|
|
class d2DBSplinePath {
|
|
public:
|
|
/* 0x00 */ s32 field_0x00;
|
|
/* 0x04 */ s32 field_0x04;
|
|
/* 0x08 */ s32 field_0x08;
|
|
/* 0x0C */ s32 field_0x0c;
|
|
/* 0x10 */ f32 field_0x10;
|
|
/* 0x14 */ f32 mCurveWeight[3];
|
|
/* 0x20 */ int mCurveKey[3];
|
|
/* 0x2C */ int field_0x2c;
|
|
|
|
d2DBSplinePath() { Init(0, 0); }
|
|
/* 80097878 */ void Init(s32, s32);
|
|
/* 80097904 */ bool Step();
|
|
/* 80097B20 */ f32 Calc(f32*);
|
|
/* 80097A6C */ cXyz Calc(cXyz*);
|
|
/* 80097B68 */ f32 Spot(f32*, f32);
|
|
/* 801828D4 */ virtual ~d2DBSplinePath() {}
|
|
|
|
bool Last() { return field_0x08 == 3; }
|
|
};
|
|
|
|
#endif /* D_D_SPLINE_PATH_H */
|