Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_bullet.h
Go to the documentation of this file.
1#ifndef D_A_BULLET_H
2#define D_A_BULLET_H
3
5#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
7
9 /* 0x00 */ f32 gravity;
10 /* 0x04 */ f32 weight;
11 /* 0x08 */ f32 height;
12 /* 0x0C */ f32 knee_height;
13 /* 0x10 */ f32 width;
14 /* 0x14 */ s16 lifetime;
15};
16
18public:
19 virtual ~daBullet_Param_c() {}
20
21 static daBullet_HIOParam const m;
22};
23
24#if DEBUG
26public:
28
30
32
34};
35
36#define BULLET_HIO_CLASS daBullet_HIO_c
37#else
38#define BULLET_HIO_CLASS daBullet_Param_c
39#endif
40
49class daBullet_c : public fopAc_ac_c {
50public:
51 typedef int (daBullet_c::*processFn)(void*);
52
54 /* 0x570 */ J3DModel* mpModel;
55 /* 0x574 */ dBgS_ObjAcch mAcch;
56 /* 0x74C */ dCcD_Stts mCcStts;
58 /* 0x7C8 */ dCcD_Sph mCcSph;
59 /* 0x900 */ cBgS_GndChk mGndChk;
60 /* 0x93C */ BULLET_HIO_CLASS* mpHIO;
61 /* 0x940 */ f32 mGroundY;
62 /* 0x944 */ processFn mProcess;
63 /* 0x950 */ int mLifetime;
64 /* 0x954 */ u16 mMode;
65 /* 0x956 */ u8 mType;
66 /* 0x957 */ u8 field_0x957;
67
68 virtual ~daBullet_c();
69 int create();
71 int Delete();
72 int Execute();
73 int Draw();
74 static int createHeapCallBack(fopAc_ac_c*);
75 const char* getResName();
76 const char* getBmdName();
77 int getTypeFromParam();
78 void initialize();
80 int wait(void*);
81 int move(void*);
82
83 static dCcD_SrcGObjInf const mCcDObjInfo;
85};
86
87STATIC_ASSERT(sizeof(daBullet_c) == 0x95c);
88
89#endif /* D_A_BULLET_H */
Definition J3DModel.h:43
Definition JORMContext.h:128
Definition c_bg_s_gnd_chk.h:8
Definition d_bg_s_acch.h:15
Definition d_bg_s_acch.h:249
Definition d_cc_d.h:487
Definition d_cc_d.h:273
Definition d_a_bullet.h:25
daBullet_HIOParam m
Definition d_a_bullet.h:33
void listenPropertyEvent(const JORPropertyEvent *)
Definition d_a_bullet.cpp:36
void genMessage(JORMContext *)
Definition d_a_bullet.cpp:40
daBullet_HIO_c()
Definition d_a_bullet.cpp:32
Definition d_a_bullet.h:17
static daBullet_HIOParam const m
Definition d_a_bullet.h:84
virtual ~daBullet_Param_c()
Definition d_a_bullet.h:19
Bullet (Unused?)
Definition d_a_bullet.h:49
dBgS_AcchCir mAcchCir
Definition d_a_bullet.h:57
processFn mProcess
Definition d_a_bullet.h:62
int wait(void *)
Definition d_a_bullet.cpp:214
static dCcD_SrcGObjInf const mCcDObjInfo
Definition d_a_bullet.h:17
const char * getResName()
Definition d_a_bullet.cpp:145
int move(void *)
Definition d_a_bullet.cpp:231
const char * getBmdName()
Definition d_a_bullet.cpp:149
u8 field_0x957
Definition d_a_bullet.h:66
J3DModel * mpModel
Definition d_a_bullet.h:54
cBgS_GndChk mGndChk
Definition d_a_bullet.h:59
int setProcess(processFn)
Definition d_a_bullet.cpp:198
int getTypeFromParam()
Definition d_a_bullet.cpp:153
int(daBullet_c::*) processFn(void *)
Definition d_a_bullet.h:51
dBgS_ObjAcch mAcch
Definition d_a_bullet.h:55
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_bullet.cpp:141
int create()
Definition d_a_bullet.cpp:55
request_of_phase_process_class mPhase
Definition d_a_bullet.h:53
int Execute()
Definition d_a_bullet.cpp:93
int Delete()
Definition d_a_bullet.cpp:78
BULLET_HIO_CLASS * mpHIO
Definition d_a_bullet.h:60
u16 mMode
Definition d_a_bullet.h:64
BOOL CreateHeap()
Definition d_a_bullet.cpp:71
int Draw()
Definition d_a_bullet.cpp:134
u8 mType
Definition d_a_bullet.h:65
void initialize()
Definition d_a_bullet.cpp:173
static dCcD_SrcSph mCcDSph
Definition d_a_bullet.h:24
int mLifetime
Definition d_a_bullet.h:63
virtual ~daBullet_c()
Definition d_a_bullet.cpp:45
dCcD_Sph mCcSph
Definition d_a_bullet.h:58
dCcD_Stts mCcStts
Definition d_a_bullet.h:56
f32 mGroundY
Definition d_a_bullet.h:61
Definition f_op_actor.h:243
Definition m_Do_hostIO.h:26
STATIC_ASSERT(sizeof(daBullet_c)==0x95c)
int BOOL
Definition types.h:33
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned short int u16
Definition types.h:10
unsigned char u8
Definition types.h:8
Definition JORReflexible.h:10
Definition d_cc_d.h:87
Definition d_cc_d.h:94
Definition d_a_bullet.h:8
f32 width
Definition d_a_bullet.h:13
f32 height
Definition d_a_bullet.h:11
f32 weight
Definition d_a_bullet.h:10
f32 gravity
Definition d_a_bullet.h:9
f32 knee_height
Definition d_a_bullet.h:12
s16 lifetime
Definition d_a_bullet.h:14
Definition c_phase.h:19