Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_food.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_FOOD_H
2#define D_A_OBJ_FOOD_H
3
5#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
7#include "f_op/f_op_actor.h"
8
17class obj_food_class : public fopAc_ac_c {
18public:
19 enum Type {
20 /* 0 */ TYPE_BONE,
21 /* 1 */ TYPE_BALL,
22 };
23
25 /* 0x570 */ u8 mType;
26 /* 0x571 */ u8 mParam1;
27 /* 0x572 */ u8 mParam2;
28 /* 0x574 */ J3DModel* mpModel;
29 /* 0x578 */ u32 mShadowKey;
30 /* 0x57C */ s16 mCounter;
31 /* 0x57E */ s16 mBounces;
32 /* 0x580 */ s16 mTimer[4];
33 /* 0x588 */ csXyz mRotSpeed;
34 /* 0x58E */ s16 mGroundAngleX;
35 /* 0x590 */ s16 mGroundAngleZ;
36 /* 0x594 */ f32 mOldSpeedY;
38 /* 0x5B8 */ u32 mParticleKey[4];
40 /* 0x608 */ dBgS_ObjAcch mAcch;
41 /* 0x7E0 */ dCcD_Stts mCcStts;
42 /* 0x81C */ dCcD_Sph mCcSph;
43 /* 0x954 */ dCcD_Sph mAtSph;
44 /* 0xA8C */ bool mHIOInit;
45};
46
47STATIC_ASSERT(sizeof(obj_food_class) == 0xA90);
48
50 /* 80BF070C */ daObj_Food_HIO_c();
51 /* 80BF1CE8 */ virtual ~daObj_Food_HIO_c() {}
52
53 /* 0x4 */ s8 field_0x4;
54 /* 0x8 */ f32 mBoneScale;
55};
56
58
59#endif /* D_A_OBJ_FOOD_H */
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Dog Bone.
Definition d_a_obj_food.h:17
bool mHIOInit
Definition d_a_obj_food.h:44
u8 mParam2
Definition d_a_obj_food.h:27
s16 mGroundAngleZ
Definition d_a_obj_food.h:35
u32 mParticleKey[4]
Definition d_a_obj_food.h:38
Type
Definition d_a_obj_food.h:19
@ TYPE_BALL
Definition d_a_obj_food.h:21
@ TYPE_BONE
Definition d_a_obj_food.h:20
u8 mType
Definition d_a_obj_food.h:25
u32 mShadowKey
Definition d_a_obj_food.h:29
request_of_phase_process_class mPhase
Definition d_a_obj_food.h:24
s16 mBounces
Definition d_a_obj_food.h:31
dCcD_Stts mCcStts
Definition d_a_obj_food.h:41
s16 mGroundAngleX
Definition d_a_obj_food.h:34
Z2SoundObjSimple mSound
Definition d_a_obj_food.h:37
dCcD_Sph mAtSph
Definition d_a_obj_food.h:43
dBgS_ObjAcch mAcch
Definition d_a_obj_food.h:40
dCcD_Sph mCcSph
Definition d_a_obj_food.h:42
J3DModel * mpModel
Definition d_a_obj_food.h:28
s16 mCounter
Definition d_a_obj_food.h:30
csXyz mRotSpeed
Definition d_a_obj_food.h:33
u8 mParam1
Definition d_a_obj_food.h:26
s16 mTimer[4]
Definition d_a_obj_food.h:32
dBgS_AcchCir mAcchCir
Definition d_a_obj_food.h:39
f32 mOldSpeedY
Definition d_a_obj_food.h:36
STATIC_ASSERT(sizeof(obj_food_class)==0xA90)
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:66
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_food.h:49
daObj_Food_HIO_c()
Definition d_a_obj_food.cpp:22
s8 field_0x4
Definition d_a_obj_food.h:53
virtual ~daObj_Food_HIO_c()
Definition d_a_obj_food.h:51
f32 mBoneScale
Definition d_a_obj_food.h:54
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8