Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_shield.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_SHIELD_H
2#define D_A_OBJ_SHIELD_H
3
6
16public:
23
30
31 typedef int (daItemShield_c::*actionFunc)();
32 typedef void (daItemShield_c::*camActionFunc)();
33
34 void initBaseMtx();
35 void setBaseMtx();
36 int Create();
37 virtual int __CreateHeap();
38 int create();
39 void bg_check();
40 int action_proc_call();
41 int actionInit();
42 int actionWaitInit();
43 int actionWait();
46 int actionGetDemo();
47 void event_proc_call();
48 void actionWaitCamDemo();
49 void actionOrderCamDemo();
50 void actionCamDemo();
51 void actionCamDemoEnd();
52 int execute();
53 int draw();
54 int _delete();
55
56 u8 getSwBit2() { return (fopAcM_GetParam(this) >> 8) & 0xff; }
57 u8 getSwBit() { return (fopAcM_GetParam(this) >> 16) & 0xff; }
58 u8 getEvId() { return (fopAcM_GetParam(this) >> 24) & 0xff; }
61
62private:
63 /* 0x92C */ fpc_ProcID mItemId;
64 /* 0x930 */ int mRotAngleCoeff;
65 /* 0x934 */ u8 mStatus;
66 /* 0x935 */ u8 field_0x935;
67 /* 0x936 */ u8 field_0x936;
68 /* 0x937 */ bool field_0x937;
69 /* 0x938 */ cXyz field_0x938;
70 /* 0x944 */ csXyz field_0x944;
71 /* 0x94A */ u8 field_0x94a;
72 /* 0x94B */ u8 mAction;
73 /* 0x94C */ u8 field_0x94c;
74 /* 0x94D */ u8 mEvId;
75 /* 0x94E */ s16 mEventIdx;
76 /* 0x950 */ s16 field_0x950;
77 /* 0x952 */ s16 field_0x952;
78 /* 0x954 */ s16 field_0x954;
79};
80
81STATIC_ASSERT(sizeof(daItemShield_c) == 0x958);
82
83
84#endif /* D_A_OBJ_SHIELD_H */
Definition c_sxyz.h:10
Definition d_a_itembase.h:30
Ordon Shield.
Definition d_a_obj_shield.h:15
u8 field_0x935
Definition d_a_obj_shield.h:66
void setBaseMtx()
Definition d_a_obj_shield.cpp:47
s16 field_0x952
Definition d_a_obj_shield.h:77
void actionCamDemo()
Definition d_a_obj_shield.cpp:300
void setAction(u8 action)
Definition d_a_obj_shield.h:60
int actionWaitInit()
Definition d_a_obj_shield.cpp:172
u8 getSwBit()
Definition d_a_obj_shield.h:57
int _delete()
Definition d_a_obj_shield.cpp:338
cXyz field_0x938
Definition d_a_obj_shield.h:69
u8 mStatus
Definition d_a_obj_shield.h:65
void bg_check()
Definition d_a_obj_shield.cpp:132
int actionOrderGetDemo()
Definition d_a_obj_shield.cpp:248
fpc_ProcID mItemId
Definition d_a_obj_shield.h:63
Status
Definition d_a_obj_shield.h:17
@ STATUS_GETDEMO
Definition d_a_obj_shield.h:21
@ STATUS_INIT
Definition d_a_obj_shield.h:18
@ STATUS_WAIT
Definition d_a_obj_shield.h:19
@ STATUS_ORDERGETDEMO
Definition d_a_obj_shield.h:20
u8 getSwBit2()
Definition d_a_obj_shield.h:56
u8 getEvId()
Definition d_a_obj_shield.h:58
s16 field_0x950
Definition d_a_obj_shield.h:76
int action_proc_call()
Definition d_a_obj_shield.cpp:156
int execute()
Definition d_a_obj_shield.cpp:310
s16 field_0x954
Definition d_a_obj_shield.h:78
void actionWaitCamDemo()
Definition d_a_obj_shield.cpp:281
u8 field_0x936
Definition d_a_obj_shield.h:67
csXyz field_0x944
Definition d_a_obj_shield.h:70
Action
Definition d_a_obj_shield.h:24
@ ACTION_WAIT_CAM_DEMO
Definition d_a_obj_shield.h:25
@ ACTION_CAM_DEMO
Definition d_a_obj_shield.h:27
@ ACTION_ORDER_CAM_DEMO
Definition d_a_obj_shield.h:26
@ ACTION_CAM_DEMO_END
Definition d_a_obj_shield.h:28
u8 field_0x94a
Definition d_a_obj_shield.h:71
int(daItemShield_c::*) actionFunc()
Definition d_a_obj_shield.h:31
int actionGetDemo()
Definition d_a_obj_shield.cpp:261
s16 mEventIdx
Definition d_a_obj_shield.h:75
bool field_0x937
Definition d_a_obj_shield.h:68
virtual int __CreateHeap()
Definition d_a_obj_shield.cpp:103
void actionCamDemoEnd()
Definition d_a_obj_shield.cpp:307
int actionWait()
Definition d_a_obj_shield.cpp:181
int draw()
Definition d_a_obj_shield.cpp:329
int create()
Definition d_a_obj_shield.cpp:107
void(daItemShield_c::*) camActionFunc()
Definition d_a_obj_shield.h:32
void initBaseMtx()
Definition d_a_obj_shield.cpp:42
int mRotAngleCoeff
Definition d_a_obj_shield.h:64
int actionInit()
Definition d_a_obj_shield.cpp:166
void setStatus(u8 status)
Definition d_a_obj_shield.h:59
u8 mAction
Definition d_a_obj_shield.h:72
u8 field_0x94c
Definition d_a_obj_shield.h:73
void actionOrderCamDemo()
Definition d_a_obj_shield.cpp:290
int initActionOrderGetDemo()
Definition d_a_obj_shield.cpp:234
void event_proc_call()
Definition d_a_obj_shield.cpp:270
int Create()
Definition d_a_obj_shield.cpp:76
u8 mEvId
Definition d_a_obj_shield.h:74
static void action(b_bh_class *i_this)
Definition d_a_b_bh.cpp:1017
STATIC_ASSERT(sizeof(daItemShield_c)==0x958)
signed short int s16
Definition types.h:9
unsigned char u8
Definition types.h:8
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:192
unsigned int fpc_ProcID
Definition f_pc_base.h:10
static u32 status
Definition fstload.c:9
Definition c_xyz.h:7