Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_demo_item.h
Go to the documentation of this file.
1#ifndef D_A_DEMO_ITEM_H
2#define D_A_DEMO_ITEM_H
3
6#include "d/d_particle.h"
7
16class daDitem_c : public daItemBase_c {
17public:
24
25 /* 804DFBD4 */ int CreateInit();
26 /* 804DFC98 */ void action();
27 /* 804DFD10 */ void actionStart();
28 /* 804E00DC */ void actionEvent();
29 /* 804E0A50 */ void actionWaitLightEnd();
30 /* 804E0B40 */ void actionEnd();
31 /* 804E0B60 */ void setInsectEffect();
32 /* 804E0C44 */ void followInsectEffect();
33 /* 804E0CB0 */ void endInsectEffect();
34 /* 804E0D44 */ void onEventReg(int, int);
35 /* 804E0DB4 */ void set_pos();
36 /* 804E105C */ void anim_control();
37 /* 804E1098 */ void initEffectLight();
38 /* 804E10D0 */ void settingEffectLight();
39 /* 804E111C */ void set_mtx();
40 /* 804E1230 */ void draw_WOOD_STICK();
41
42 /* 804E122C */ virtual void setListStart();
43 /* 804E11D4 */ virtual void setTevStr();
44 /* 804DFBCC */ virtual int __CreateHeap();
45
46 inline int Delete();
47 inline int create();
48 inline int execute();
49 inline int draw();
50
52
54
55private:
56 /* 0x92C */ cXyz field_0x92c;
57 /* 0x938 */ f32 field_0x938;
58 /* 0x93C */ u8 field_0x93c;
59 /* 0x93D */ u8 field_0x93d;
60 /* 0x93E */ u8 field_0x93e;
61 /* 0x93F */ u8 mSetLightEff;
62 /* 0x940 */ f32 mLightStrength;
63 /* 0x944 */ u8 field_0x944[0x948 - 0x944];
65 /* 0x968 */ u8 mAction;
66 /* 0x969 */ u8 field_0x969;
67 /* 0x96A */ u8 mParticleAlpha;
72 /* 0x99C */ cXyz field_0x99c;
74};
75
76STATIC_ASSERT(sizeof(daDitem_c) == 0x9c8);
77
78namespace daDitem_prm {
80 return (fopAcM_GetParam(i_this) >> 0x10) & 0xFF;
81}
82
84 return fopAcM_GetParam(i_this) & 0xFF;
85}
86};
87
88#endif /* D_A_DEMO_ITEM_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JPAEmitter.h:94
Definition Z2SoundObject.h:34
Definition d_particle.h:74
Cutscene Item.
Definition d_a_demo_item.h:16
JPABaseEmitter * field_0x998
Definition d_a_demo_item.h:71
void actionStart()
Definition d_a_demo_item.cpp:67
int Delete()
Definition d_a_demo_item.cpp:438
void anim_control()
Definition d_a_demo_item.cpp:380
u8 mParticleAlpha
Definition d_a_demo_item.h:67
u8 field_0x93d
Definition d_a_demo_item.h:59
void setAction(u8 i_action)
Definition d_a_demo_item.h:51
Z2SoundObjSimple mSound
Definition d_a_demo_item.h:73
JPABaseEmitter * field_0x994
Definition d_a_demo_item.h:70
Action_e
Definition d_a_demo_item.h:18
@ ACTION_WAIT_LIGHT_END_e
Definition d_a_demo_item.h:21
@ ACTION_START_e
Definition d_a_demo_item.h:19
@ ACTION_EVENT_e
Definition d_a_demo_item.h:20
@ ACTION_END_e
Definition d_a_demo_item.h:22
void setInsectEffect()
Definition d_a_demo_item.cpp:261
f32 field_0x938
Definition d_a_demo_item.h:57
dPa_followEcallBack field_0x96c
Definition d_a_demo_item.h:68
void actionEvent()
Definition d_a_demo_item.cpp:126
void onEventReg(int, int)
Definition d_a_demo_item.cpp:298
u32 chkArgFlag(u8 i_flag)
Definition d_a_demo_item.h:53
void set_mtx()
Definition d_a_demo_item.cpp:402
void draw_WOOD_STICK()
Definition d_a_demo_item.cpp:425
u8 mAction
Definition d_a_demo_item.h:65
cXyz field_0x99c
Definition d_a_demo_item.h:72
int create()
Definition d_a_demo_item.cpp:462
void initEffectLight()
Definition d_a_demo_item.cpp:385
virtual void setListStart()
Definition d_a_demo_item.cpp:422
u8 field_0x969
Definition d_a_demo_item.h:66
u8 field_0x93c
Definition d_a_demo_item.h:58
f32 mLightStrength
Definition d_a_demo_item.h:62
int draw()
Definition d_a_demo_item.cpp:545
dPa_followEcallBack field_0x980
Definition d_a_demo_item.h:69
cXyz field_0x92c
Definition d_a_demo_item.h:56
void actionEnd()
Definition d_a_demo_item.cpp:256
void endInsectEffect()
Definition d_a_demo_item.cpp:281
void actionWaitLightEnd()
Definition d_a_demo_item.cpp:229
u8 field_0x944[0x948 - 0x944]
Definition d_a_demo_item.h:63
void followInsectEffect()
Definition d_a_demo_item.cpp:270
int execute()
Definition d_a_demo_item.cpp:502
u8 field_0x93e
Definition d_a_demo_item.h:60
virtual int __CreateHeap()
Definition d_a_demo_item.cpp:16
void settingEffectLight()
Definition d_a_demo_item.cpp:395
u8 mSetLightEff
Definition d_a_demo_item.h:61
void set_pos()
Definition d_a_demo_item.cpp:339
void action()
Definition d_a_demo_item.cpp:47
LIGHT_INFLUENCE mLight
Definition d_a_demo_item.h:64
virtual void setTevStr()
Definition d_a_demo_item.cpp:416
int CreateInit()
Definition d_a_demo_item.cpp:24
Definition d_a_itembase.h:29
STATIC_ASSERT(sizeof(daDitem_c)==0x9c8)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
Definition d_a_demo_item.h:78
u8 getNo(daDitem_c *i_this)
Definition d_a_demo_item.h:83
u8 getFlag(daDitem_c *i_this)
Definition d_a_demo_item.h:79
Definition d_a_ep.cpp:149
Definition d_a_hozelda.cpp:20
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8