Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_rock.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_ROCK_H
2#define D_A_OBJ_ROCK_H
3
5#include "d/d_cc_d.h"
6#include "f_op/f_op_actor.h"
7
8struct rock_ss {
9 /* 80CBE5A4 */ ~rock_ss();
10 /* 80CBE678 */ rock_ss();
11
12 /* 0x00 */ J3DModel* mpModel;
13 /* 0x04 */ cXyz mPos;
14 /* 0x10 */ cXyz mScale;
15 /* 0x1C */ f32 mOffsetY;
16 /* 0x20 */ s16 mRot;
17 /* 0x24 */ dCcD_Sph mCollider;
18 /* 0x15C */ s8 mActive;
19}; // Size: 0x160
20
21STATIC_ASSERT(sizeof(rock_ss) == 0x160);
22
31class obj_rock_class : public fopAc_ac_c {
32public:
34 /* 0x570 */ u8 mPatchRockNum;
35 /* 0x571 */ u8 mRockSpacing;
36 /* 0x572 */ u8 field_0x572; // Unused?
38 /* 0x578 */ rock_ss mRocks[0x10];
39 /* 0x1B78 */ s32 mRockNum;
40 /* 0x1B7C */ dCcD_Stts mStts;
41 /* 0x1BB8 */ u8 field_0x1bb8; // Unused?
42 /* 0x1BB9 */ bool mInitialized;
43};
44
45STATIC_ASSERT(sizeof(obj_rock_class) == 0x1BBC);
46
47#endif /* D_A_OBJ_ROCK_H */
Definition d_cc_d.h:432
Rock.
Definition d_a_obj_rock.h:31
bool mInitialized
Definition d_a_obj_rock.h:42
u8 mPatchRockNum
Definition d_a_obj_rock.h:34
u8 mRockSpacing
Definition d_a_obj_rock.h:35
s32 mRockNum
Definition d_a_obj_rock.h:39
u8 field_0x1bb8
Definition d_a_obj_rock.h:41
u8 field_0x572
Definition d_a_obj_rock.h:36
s16 mPatchInitialized
Definition d_a_obj_rock.h:37
rock_ss mRocks[0x10]
Definition d_a_obj_rock.h:38
dCcD_Stts mStts
Definition d_a_obj_rock.h:40
request_of_phase_process_class mPhaseReq
Definition d_a_obj_rock.h:33
STATIC_ASSERT(sizeof(rock_ss)==0x160)
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
Definition d_a_obj_rock.h:8
rock_ss()
Definition d_a_obj_rock.cpp:211
dCcD_Sph mCollider
Definition d_a_obj_rock.h:17
~rock_ss()
Definition d_a_obj_rock.cpp:208
J3DModel * mpModel
Definition d_a_obj_rock.h:12
cXyz mScale
Definition d_a_obj_rock.h:14
f32 mOffsetY
Definition d_a_obj_rock.h:15
cXyz mPos
Definition d_a_obj_rock.h:13
s16 mRot
Definition d_a_obj_rock.h:16
s8 mActive
Definition d_a_obj_rock.h:18
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8