mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
daItemShield_c OK (#2283)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef D_A_OBJ_SHIELD_H
|
||||
#define D_A_OBJ_SHIELD_H
|
||||
|
||||
#include "d/actor/d_a_itembase.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
/**
|
||||
@@ -11,32 +12,70 @@
|
||||
* @details
|
||||
*
|
||||
*/
|
||||
class daItemShield_c : public fopAc_ac_c {
|
||||
class daItemShield_c : public daItemBase_c {
|
||||
public:
|
||||
enum Status {
|
||||
STATUS_INIT,
|
||||
STATUS_WAIT,
|
||||
STATUS_ORDERGETDEMO,
|
||||
STATUS_GETDEMO,
|
||||
};
|
||||
|
||||
enum Action {
|
||||
ACTION_WAIT_CAM_DEMO,
|
||||
ACTION_ORDER_CAM_DEMO,
|
||||
ACTION_CAM_DEMO,
|
||||
ACTION_CAM_DEMO_END,
|
||||
};
|
||||
|
||||
typedef int (daItemShield_c::*actionFunc)();
|
||||
typedef void (daItemShield_c::*camActionFunc)();
|
||||
|
||||
/* 80CD6D9C */ void initBaseMtx();
|
||||
/* 80CD6DD8 */ void setBaseMtx();
|
||||
/* 80CD7094 */ void Create();
|
||||
/* 80CD724C */ bool __CreateHeap();
|
||||
/* 80CD7254 */ void create();
|
||||
/* 80CD7094 */ int Create();
|
||||
/* 80CD724C */ virtual int __CreateHeap();
|
||||
/* 80CD7254 */ int create();
|
||||
/* 80CD75EC */ void bg_check();
|
||||
/* 80CD7734 */ void action_proc_call();
|
||||
/* 80CD77F0 */ void actionInit();
|
||||
/* 80CD7828 */ void actionWaitInit();
|
||||
/* 80CD7890 */ void actionWait();
|
||||
/* 80CD7C68 */ void initActionOrderGetDemo();
|
||||
/* 80CD7D04 */ void actionOrderGetDemo();
|
||||
/* 80CD7D80 */ void actionGetDemo();
|
||||
/* 80CD7734 */ int action_proc_call();
|
||||
/* 80CD77F0 */ int actionInit();
|
||||
/* 80CD7828 */ int actionWaitInit();
|
||||
/* 80CD7890 */ int actionWait();
|
||||
/* 80CD7C68 */ int initActionOrderGetDemo();
|
||||
/* 80CD7D04 */ int actionOrderGetDemo();
|
||||
/* 80CD7D80 */ int actionGetDemo();
|
||||
/* 80CD7E00 */ void event_proc_call();
|
||||
/* 80CD7EBC */ void actionWaitCamDemo();
|
||||
/* 80CD7F20 */ void actionOrderCamDemo();
|
||||
/* 80CD7F88 */ void actionCamDemo();
|
||||
/* 80CD7FE4 */ void actionCamDemoEnd();
|
||||
/* 80CD7FE8 */ void execute();
|
||||
/* 80CD80EC */ void draw();
|
||||
/* 80CD8140 */ void _delete();
|
||||
/* 80CD7FE8 */ int execute();
|
||||
/* 80CD80EC */ int draw();
|
||||
/* 80CD8140 */ int _delete();
|
||||
|
||||
u8 getSwBit2() { return (fopAcM_GetParam(this) >> 8) & 0xff; }
|
||||
u8 getSwBit() { return (fopAcM_GetParam(this) >> 16) & 0xff; }
|
||||
u8 getEvId() { return (fopAcM_GetParam(this) >> 24) & 0xff; }
|
||||
void setStatus(u8 status) { mStatus = status; }
|
||||
void setAction(u8 action) { mAction = action; }
|
||||
|
||||
private:
|
||||
/* 0x568 */ u8 field_0x568[0x958 - 0x568];
|
||||
/* 0x92C */ fpc_ProcID mItemId;
|
||||
/* 0x930 */ int mRotAngleCoeff;
|
||||
/* 0x934 */ u8 mStatus;
|
||||
/* 0x935 */ u8 field_0x935;
|
||||
/* 0x936 */ u8 field_0x936;
|
||||
/* 0x937 */ bool field_0x937;
|
||||
/* 0x938 */ cXyz field_0x938;
|
||||
/* 0x944 */ csXyz field_0x944;
|
||||
/* 0x94A */ u8 field_0x94a;
|
||||
/* 0x94B */ u8 mAction;
|
||||
/* 0x94C */ u8 field_0x94c;
|
||||
/* 0x94D */ u8 mEvId;
|
||||
/* 0x94E */ s16 mEventIdx;
|
||||
/* 0x950 */ s16 field_0x950;
|
||||
/* 0x952 */ s16 field_0x952;
|
||||
/* 0x954 */ s16 field_0x954;
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(daItemShield_c) == 0x958);
|
||||
|
||||
Reference in New Issue
Block a user