2021-04-09 01:22:16 +02:00
|
|
|
#ifndef F_OP_ACTOR_H_
|
|
|
|
|
#define F_OP_ACTOR_H_
|
2021-03-28 22:49:05 +02:00
|
|
|
|
2021-04-09 01:22:16 +02:00
|
|
|
#include "SSystem/SComponent/c_sxyz.h"
|
|
|
|
|
#include "SSystem/SComponent/c_xyz.h"
|
2021-05-23 03:09:59 -07:00
|
|
|
#include "dolphin/mtx/mtx.h"
|
|
|
|
|
#include "f_pc/f_pc_leaf.h"
|
2021-03-28 22:49:05 +02:00
|
|
|
|
2021-04-09 01:22:16 +02:00
|
|
|
struct JKRSolidHeap;
|
|
|
|
|
|
2021-05-23 03:09:59 -07:00
|
|
|
struct actor_place {
|
|
|
|
|
cXyz mPosition;
|
|
|
|
|
csXyz mAngle;
|
|
|
|
|
u8 mRoomNo;
|
|
|
|
|
u8 field_0x13;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class fopAc_ac_c : public leafdraw_class {
|
2021-04-09 01:22:16 +02:00
|
|
|
public:
|
2021-05-23 03:09:59 -07:00
|
|
|
/* 0x0C0 */ int mAcType;
|
|
|
|
|
/* 0x0C4 */ create_tag_class mAcTg;
|
|
|
|
|
/* 0x0D8 */ create_tag_class mDwTg;
|
|
|
|
|
/* 0x0EC */ profile_method_class* mSubMtd;
|
2021-04-09 01:22:16 +02:00
|
|
|
/* 0x0F0 */ JKRSolidHeap* unk_0x0F0;
|
|
|
|
|
/* 0x0F4 */ u8 unk_0x0F4[0x496 - 0xF4];
|
|
|
|
|
/* 0x496 */ u8 unk_0x496;
|
|
|
|
|
/* 0x497 */ u8 unk_0x497[0x499 - 0x497];
|
|
|
|
|
/* 0x499 */ s8 unk_0x499;
|
2021-05-23 03:09:59 -07:00
|
|
|
/* 0x49A */ u8 unk_0x49A[0x4A8 - 0x49A];
|
|
|
|
|
/* 0x4A8 */ actor_place mOrig;
|
|
|
|
|
/* 0x4BC */ actor_place mNext;
|
|
|
|
|
/* 0x4D0 */ actor_place mCurrent;
|
|
|
|
|
/* 0x4E4 */ csXyz mCollisionRot;
|
|
|
|
|
/* 0x4EC */ cXyz mScale;
|
2021-04-09 01:22:16 +02:00
|
|
|
/* 0x4F8 */ cXyz mSpeed;
|
2021-05-23 03:09:59 -07:00
|
|
|
/* 0x504 */ Mtx* mCullMtx;
|
2021-04-09 01:22:16 +02:00
|
|
|
/* 0x508 */ cXyz mCullMin;
|
|
|
|
|
/* 0x514 */ cXyz mCullMax;
|
|
|
|
|
/* 0x520 */ u8 unk_0x520[0xC];
|
|
|
|
|
/* 0x52C */ f32 mSpeedF;
|
|
|
|
|
/* 0x530 */ f32 mGravity;
|
|
|
|
|
/* 0x534 */ f32 mMaxFallSpeed;
|
|
|
|
|
|
|
|
|
|
/* 80018B64 */ fopAc_ac_c();
|
|
|
|
|
/* 80018C8C */ ~fopAc_ac_c();
|
|
|
|
|
|
|
|
|
|
static u8 stopStatus[4];
|
2021-04-19 18:11:56 +02:00
|
|
|
|
2021-05-23 03:09:59 -07:00
|
|
|
const cXyz& getPosition() const { return mCurrent.mPosition; }
|
|
|
|
|
const csXyz& getAngle() const { return mCurrent.mAngle; }
|
2021-04-09 01:22:16 +02:00
|
|
|
}; // Size: unknown
|
|
|
|
|
|
|
|
|
|
#endif
|