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
16class daBullet_c : public fopAc_ac_c {
17public:
18 typedef int (daBullet_c::*processFn)(void*);
19
21 /* 0x570 */ J3DModel* mpModel;
22 /* 0x574 */ dBgS_ObjAcch mAcch;
23 /* 0x74C */ dCcD_Stts mCcStts;
25 /* 0x7C8 */ dCcD_Sph mCcSph;
26 /* 0x900 */ cBgS_GndChk mGndChk;
27 /* 0x93C */ u8 field_0x93C[0x940 - 0x93C];
28 /* 0x940 */ f32 mGroundY;
29 /* 0x944 */ processFn mProcess;
30 /* 0x950 */ int mLifetime;
31 /* 0x954 */ u16 mMode;
32 /* 0x956 */ u8 mType;
33 /* 0x957 */ u8 field_0x957;
34
35 virtual ~daBullet_c();
36 int create();
38 int Delete();
39 int Execute();
40 int Draw();
41 static int createHeapCallBack(fopAc_ac_c*);
42 const char* getResName();
43 const char* getBmdName();
44 int getTypeFromParam();
45 void initialize();
47 int wait(void*);
48 int move(void*);
49
50 static dCcD_SrcGObjInf const mCcDObjInfo;
51 static dCcD_SrcSph mCcDSph;
52};
53
54STATIC_ASSERT(sizeof(daBullet_c) == 0x95c);
55
57 /* 0x00 */ f32 gravity;
58 /* 0x04 */ f32 weight;
59 /* 0x08 */ f32 height;
60 /* 0x0C */ f32 knee_height;
61 /* 0x10 */ f32 width;
62 /* 0x14 */ s16 lifetime;
63};
66public:
67 virtual ~daBullet_Param_c() {}
68
69 static daBullet_HIOParam const m;
70};
71
72
73#endif /* D_A_BULLET_H */
Definition J3DModel.h:43
Definition c_bg_s_gnd_chk.h:8
Definition d_bg_s_acch.h:15
Definition d_bg_s_acch.h:247
Definition d_cc_d.h:473
Definition d_cc_d.h:269
Definition d_a_bullet.h:65
static daBullet_HIOParam const m
Definition d_a_bullet.h:64
virtual ~daBullet_Param_c()
Definition d_a_bullet.h:67
Bullet (Unused?)
Definition d_a_bullet.h:16
dBgS_AcchCir mAcchCir
Definition d_a_bullet.h:24
processFn mProcess
Definition d_a_bullet.h:29
int wait(void *)
Definition d_a_bullet.cpp:189
static dCcD_SrcGObjInf const mCcDObjInfo
Definition d_a_bullet.h:17
const char * getResName()
Definition d_a_bullet.cpp:125
int move(void *)
Definition d_a_bullet.cpp:206
const char * getBmdName()
Definition d_a_bullet.cpp:129
u8 field_0x957
Definition d_a_bullet.h:33
J3DModel * mpModel
Definition d_a_bullet.h:21
cBgS_GndChk mGndChk
Definition d_a_bullet.h:26
int setProcess(processFn)
Definition d_a_bullet.cpp:173
int getTypeFromParam()
Definition d_a_bullet.cpp:133
int(daBullet_c::*) processFn(void *)
Definition d_a_bullet.h:18
dBgS_ObjAcch mAcch
Definition d_a_bullet.h:22
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_bullet.cpp:121
int create()
Definition d_a_bullet.cpp:35
request_of_phase_process_class mPhase
Definition d_a_bullet.h:20
int Execute()
Definition d_a_bullet.cpp:73
int Delete()
Definition d_a_bullet.cpp:58
u16 mMode
Definition d_a_bullet.h:31
BOOL CreateHeap()
Definition d_a_bullet.cpp:51
int Draw()
Definition d_a_bullet.cpp:114
u8 mType
Definition d_a_bullet.h:32
u8 field_0x93C[0x940 - 0x93C]
Definition d_a_bullet.h:27
void initialize()
Definition d_a_bullet.cpp:153
static dCcD_SrcSph mCcDSph
Definition d_a_bullet.h:24
int mLifetime
Definition d_a_bullet.h:30
virtual ~daBullet_c()
Definition d_a_bullet.cpp:31
dCcD_Sph mCcSph
Definition d_a_bullet.h:25
dCcD_Stts mCcStts
Definition d_a_bullet.h:23
f32 mGroundY
Definition d_a_bullet.h:28
Definition f_op_actor.h:230
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 d_cc_d.h:87
Definition d_cc_d.h:94
Definition d_a_bullet.h:56
f32 width
Definition d_a_bullet.h:61
f32 height
Definition d_a_bullet.h:59
f32 weight
Definition d_a_bullet.h:58
f32 gravity
Definition d_a_bullet.h:57
f32 knee_height
Definition d_a_bullet.h:60
s16 lifetime
Definition d_a_bullet.h:62
Definition c_phase.h:17