Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_onsenTaru.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_ONSENTARU_H
2#define D_A_OBJ_ONSENTARU_H
3
5#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
7
16class daOnsTaru_c : public fopAc_ac_c {
17public:
25
26 /* 80CA86C0 */ void setBaseMtx();
27 /* 80CA87B4 */ int create();
28 /* 80CA8C20 */ static int createHeapCallBack(fopAc_ac_c*);
29 /* 80CA8C4C */ BOOL chkSinkAll();
30 /* 80CA8C70 */ BOOL chkWaterLineIn();
31 /* 80CA8C94 */ void bgCheck();
32 /* 80CA9184 */ void mode_proc_call();
33 /* 80CA929C */ void mode_init_wait();
34 /* 80CA92CC */ void mode_proc_wait();
35 /* 80CA92F0 */ void mode_init_carry();
36 /* 80CA9320 */ void mode_proc_carry();
37 /* 80CA93C0 */ void mode_init_drop();
38 /* 80CA9400 */ void mode_proc_drop();
39 /* 80CA9424 */ void mode_init_break();
40 /* 80CA9514 */ void mode_proc_break();
41 /* 80CA9518 */ void mode_init_sink();
42 /* 80CA9530 */ void mode_proc_sink();
43 /* 80CA9620 */ void breakEffSet();
44
45 /* 80CA8748 */ virtual int CreateHeap();
46 /* 80CA8F38 */ virtual int Execute();
47 /* 80CA98B8 */ virtual int Draw();
48 /* 80CA995C */ virtual int Delete();
49
50 int getSw() { return fopAcM_GetParamBit(this, 0, 8); }
51 int getSw2() { return fopAcM_GetParamBit(this, 8, 8); }
52
53 static dCcD_SrcGObjInf const mCcDObjInfo;
54 static dCcD_SrcCyl mCcDCyl;
55
57 /* 0x574 */ J3DModel* mpModel;
58 /* 0x578 */ u8 mMode;
59 /* 0x579 */ bool mIsCarryNow;
60 /* 0x57C */ cXyz mGrabOffset;
61 /* 0x588 */ cXyz mPrevPos;
62 /* 0x594 */ cXyz field_0x594;
63 /* 0x5A0 */ u8 mInWater;
64 /* 0x5A4 */ dBgS_ObjAcch mAcch;
66 /* 0x7BC */ dCcD_Stts mCcStts;
67 /* 0x7F8 */ dCcD_Cyl mCcCyl;
68 /* 0x934 */ s16 mTimer;
69 /* 0x936 */ bool mStartTimer;
70 /* 0x938 */ u32 mHamonEmtrID;
71 /* 0x93C */ u8 field_0x93c;
72 /* 0x93D */ u8 mTempStat;
73 /* 0x93E */ u8 field_0x93e;
74 /* 0x93F */ u8 field_0x93F[0x944 - 0x93F];
75 /* 0x944 */ f32 mCollisionRadius;
76};
77
78STATIC_ASSERT(sizeof(daOnsTaru_c) == 0x948);
79
81public:
82 /* 80CA85CC */ daOnsTaru_HIO_c();
83 /* 80CA9A78 */ virtual ~daOnsTaru_HIO_c() {}
84
85 /* 0x04 */ s16 mCoolTime;
86 /* 0x06 */ u8 mVibration;
87 /* 0x08 */ f32 mSmokeScale;
89};
90
91
92#endif /* D_A_OBJ_ONSENTARU_H */
Definition d_a_obj_onsenTaru.h:80
daOnsTaru_HIO_c()
Definition d_a_obj_onsenTaru.cpp:31
f32 mCollisionRadius
Definition d_a_obj_onsenTaru.h:88
s16 mCoolTime
Definition d_a_obj_onsenTaru.h:85
f32 mSmokeScale
Definition d_a_obj_onsenTaru.h:87
u8 mVibration
Definition d_a_obj_onsenTaru.h:86
virtual ~daOnsTaru_HIO_c()
Definition d_a_obj_onsenTaru.h:83
Hotspring Water Barrel.
Definition d_a_obj_onsenTaru.h:16
f32 mCollisionRadius
Definition d_a_obj_onsenTaru.h:75
void mode_proc_drop()
Definition d_a_obj_onsenTaru.cpp:316
u8 field_0x93c
Definition d_a_obj_onsenTaru.h:71
void mode_proc_break()
Definition d_a_obj_onsenTaru.cpp:333
cXyz mPrevPos
Definition d_a_obj_onsenTaru.h:61
BOOL chkWaterLineIn()
Definition d_a_obj_onsenTaru.cpp:139
int create()
Definition d_a_obj_onsenTaru.cpp:81
u8 mMode
Definition d_a_obj_onsenTaru.h:58
void setBaseMtx()
Definition d_a_obj_onsenTaru.cpp:60
void mode_init_break()
Definition d_a_obj_onsenTaru.cpp:321
void mode_init_wait()
Definition d_a_obj_onsenTaru.cpp:271
virtual int Draw()
Definition d_a_obj_onsenTaru.cpp:391
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_obj_onsenTaru.cpp:129
void mode_init_drop()
Definition d_a_obj_onsenTaru.cpp:307
u8 mTempStat
Definition d_a_obj_onsenTaru.h:72
static dCcD_SrcGObjInf const mCcDObjInfo
Definition d_a_obj_onsenTaru.h:42
void mode_proc_carry()
Definition d_a_obj_onsenTaru.cpp:292
u8 field_0x93F[0x944 - 0x93F]
Definition d_a_obj_onsenTaru.h:74
u8 field_0x93e
Definition d_a_obj_onsenTaru.h:73
u32 mHamonEmtrID
Definition d_a_obj_onsenTaru.h:70
virtual int Execute()
Definition d_a_obj_onsenTaru.cpp:199
void mode_init_sink()
Definition d_a_obj_onsenTaru.cpp:336
BOOL chkSinkAll()
Definition d_a_obj_onsenTaru.cpp:134
bool mIsCarryNow
Definition d_a_obj_onsenTaru.h:59
bool mStartTimer
Definition d_a_obj_onsenTaru.h:69
virtual int Delete()
Definition d_a_obj_onsenTaru.cpp:402
cXyz field_0x594
Definition d_a_obj_onsenTaru.h:62
virtual int CreateHeap()
Definition d_a_obj_onsenTaru.cpp:68
int getSw2()
Definition d_a_obj_onsenTaru.h:51
void breakEffSet()
Definition d_a_obj_onsenTaru.cpp:366
s16 mTimer
Definition d_a_obj_onsenTaru.h:68
request_of_phase_process_class mPhase
Definition d_a_obj_onsenTaru.h:56
MODE_e
Definition d_a_obj_onsenTaru.h:18
@ MODE_BREAK_e
Definition d_a_obj_onsenTaru.h:22
@ MODE_WAIT_e
Definition d_a_obj_onsenTaru.h:19
@ MODE_SINK_e
Definition d_a_obj_onsenTaru.h:23
@ MODE_DROP_e
Definition d_a_obj_onsenTaru.h:21
@ MODE_CARRY_e
Definition d_a_obj_onsenTaru.h:20
dBgS_ObjAcch mAcch
Definition d_a_obj_onsenTaru.h:64
J3DModel * mpModel
Definition d_a_obj_onsenTaru.h:57
dCcD_Cyl mCcCyl
Definition d_a_obj_onsenTaru.h:67
static dCcD_SrcCyl mCcDCyl
Definition d_a_obj_onsenTaru.h:50
void mode_init_carry()
Definition d_a_obj_onsenTaru.cpp:284
dCcD_Stts mCcStts
Definition d_a_obj_onsenTaru.h:66
void bgCheck()
Definition d_a_obj_onsenTaru.cpp:144
u8 mInWater
Definition d_a_obj_onsenTaru.h:63
cXyz mGrabOffset
Definition d_a_obj_onsenTaru.h:60
void mode_proc_call()
Definition d_a_obj_onsenTaru.cpp:254
void mode_proc_wait()
Definition d_a_obj_onsenTaru.cpp:279
int getSw()
Definition d_a_obj_onsenTaru.h:50
dBgS_AcchCir mAcchCir
Definition d_a_obj_onsenTaru.h:65
void mode_proc_sink()
Definition d_a_obj_onsenTaru.cpp:342
STATIC_ASSERT(sizeof(daOnsTaru_c)==0x948)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:74
Definition d_cc_d.h:85
Definition d_a_npc_fguard.cpp:70
Definition f_op_actor_mng.h:74
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
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