d_a_wind_tag start

This commit is contained in:
Jasper St. Pierre
2024-06-19 21:41:04 -07:00
parent 944eb44668
commit ee52d98f78
6 changed files with 361 additions and 52 deletions
+49 -9
View File
@@ -2,6 +2,13 @@
#define D_A_WIND_TAG_H
#include "f_op/f_op_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_point_wind.h"
#include "d/d_cc_d.h"
#include "m_Do/m_Do_ext.h"
class JPABaseEmitter;
class dPath;
namespace daWindTag {
static BOOL CheckCreateHeap(fopAc_ac_c*);
@@ -11,28 +18,61 @@ namespace daWindTag {
void getCurLength() const {}
void getMaxLength() const {}
BOOL _delete();
void CreateHeap();
bool _delete();
BOOL CreateHeap();
void CreateInit();
void set_wind_angle();
s32 _create();
void set_mtx();
void checkSizeSpecialBig();
bool checkSizeSpecialBig();
void set_wind_se_sub(unsigned long, cXyz*);
void set_wind_se();
BOOL _execute();
bool _execute();
void path_move();
void set_next_pnt();
BOOL _draw();
bool _draw();
void MoveEmitter();
static const f32 mData[];
static const char* m_arcname[];
static s16 m_bdlidx[];
static s16 m_heapsize[];
static s16 m_bckidx[];
static s16 m_btkidx[];
static s16 m_btkidx2[];
static f32 m_cullsize_far;
static f32 m_ef_cullsize_far;
public:
/* Place member variables here */
/* 0x290 */ char pad290[0x208]; /* Placeholder padding */
/* 0x498 */ f32 unk498;
};
/* 0x290 */ dCcD_Stts mStts;
/* 0x2CC */ dCcD_Cps mCps;
/* 0x404 */ cM3dGCpsS mCpsS;
/* 0x420 */ request_of_phase_process_class mPhs;
/* 0x428 */ J3DModel* mpModel;
/* 0x42C */ mDoExt_btkAnm mBtkAnm0;
/* 0x440 */ mDoExt_btkAnm mBtkAnm1;
/* 0x454 */ mDoExt_bckAnm mBckAnm;
/* 0x464 */ dPointWind_c mPointWind;
/* 0x494 */ u8 mType;
/* 0x498 */ f32 mOffsY;
/* 0x49C */ f32 field_0x49c;
/* 0x4A0 */ JPABaseEmitter* mpEmitter;
/* 0x4A4 */ GXColor mEfColor;
/* 0x4A8 */ dKy_tevstr_c mEfTevStr;
/* 0x558 */ cXyz mSePos;
/* 0x564 */ cXyz mTargetPos;
/* 0x570 */ dPath* mpPath;
/* 0x574 */ u8 mPathId;
/* 0x575 */ s8 mCurPathPoint;
/* 0x576 */ s8 mPathPointDir;
/* 0x578 */ s32 mSwNo;
/* 0x57C */ u8 field_0x57c;
/* 0x57D */ u8 field_0x57d;
/* 0x57E */ bool mbDraw;
/* 0x57F */ u8 field_0x57f;
/* 0x580 */ uint mLevelSeID;
};
}; // namespace daWindTag
#endif /* D_A_WIND_TAG_H */
+18 -2
View File
@@ -2,6 +2,10 @@
#define D_A_WINDMILL_H
#include "f_op/f_op_actor.h"
#include "d/d_cc_d.h"
#include "SSystem/SComponent/c_phase.h"
class dBgW;
class daWindMill_c : public fopAc_ac_c {
public:
@@ -10,7 +14,7 @@ public:
void getType() const {}
BOOL _delete();
void CreateHeap();
BOOL CreateHeap();
void CreateInit();
void search_wind();
s32 _create();
@@ -22,9 +26,21 @@ public:
BOOL _draw();
static const s16 m_max_rot_speed[];
static const char* m_arcname[];
public:
/* Place member variables here */
/* 0x0290 */ request_of_phase_process_class mPhs;
/* 0x0298 */ J3DModel* mpModel;
/* 0x029C */ dCcD_Stts mStts;
/* 0x02D8 */ dCcD_Sph mSph[9];
/* 0x06D4 */ dCcD_Cps mCps[4];
/* 0x1244 */ f32 m1244[28];
/* 0x12B4 */ dBgW* mpBgW;
/* 0x12B8 */ Mtx mMtx;
/* 0x12E8 */ dCcD_Cyl mCyl;
/* 0x1418 */ u8 mType;
/* 0x141A */ u16 mAngle[3];
/* 0x1420 */ u32 mWindTagId;
};
#endif /* D_A_WINDMILL_H */