Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_lv8OptiLift.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LV8OPTILIFT_H
2#define D_A_OBJ_LV8OPTILIFT_H
3
6
16public:
28
29 /* 80C8A3B0 */ void setBaseMtx();
30 /* 80C8A500 */ int create();
31 /* 80C8A780 */ void lightSet();
32 /* 80C8A7D0 */ static void rideCallBack(dBgW*, fopAc_ac_c*, fopAc_ac_c*);
33 /* 80C8A848 */ void moveLift();
34 /* 80C8AAC4 */ void init_modeAcc();
35 /* 80C8AAD0 */ void modeAcc();
36 /* 80C8ABB0 */ void init_modeMove();
37 /* 80C8ABBC */ void modeMove();
38 /* 80C8AED4 */ void init_modeBrk();
39 /* 80C8AEE0 */ void modeBrk();
40 /* 80C8B100 */ void init_modeMoveInit();
41 /* 80C8B1B0 */ void modeMoveInit();
42 /* 80C8B1F0 */ void init_modeMoveWait();
43 /* 80C8B230 */ void modeMoveWait();
44 /* 80C8B288 */ void init_modeWait();
45 /* 80C8B294 */ void modeWait();
46 /* 80C8B298 */ void init_modeStop();
47 /* 80C8B318 */ void modeStop();
48 /* 80C8B428 */ void init_modeInitSet();
49 /* 80C8B464 */ void modeInitSet();
50 /* 80C8B484 */ void init_modeInitSet2();
51 /* 80C8B4B8 */ void modeInitSet2();
52 /* 80C8B4D8 */ void liftReset();
53 /* 80C8B53C */ void setNextPoint();
54
55 /* 80C8A438 */ virtual int CreateHeap();
56 /* 80C8A7E8 */ virtual int Execute(f32 (**)[3][4]);
57 /* 80C8B66C */ virtual int Draw();
58 /* 80C8B824 */ virtual int Delete();
59
60 u8 getPthID() { return fopAcM_GetParamBit(this, 8, 8); }
61 int getMoveSpped() { return fopAcM_GetParamBit(this, 0x10, 4); }
62 int getSw() { return fopAcM_GetParamBit(this, 0, 8); }
63 int getArg1() { return fopAcM_GetParamBit(this, 0x14, 4); }
64
65 static f32 const mSpeed[];
66
68 /* 0x5A8 */ J3DModel* mpModel;
69 /* 0x5AC */ mDoExt_btkAnm mBtk;
70 /* 0x5C4 */ u8 mSwBit;
71 /* 0x5C5 */ u8 field_0x5C5[0x5C8 - 0x5C5];
72 /* 0x5C8 */ u8 mPathID;
73 /* 0x5C9 */ s8 mPathDirection;
74 /* 0x5CA */ s16 mCurrentPoint;
75 /* 0x5CC */ cXyz mTargetPos;
76 /* 0x5D8 */ cXyz mPrevTargetPos;
77 /* 0x5E4 */ f32 mMoveSpeed;
78 /* 0x5E8 */ u8 mMode;
79 /* 0x5E9 */ u8 mIsSwitch;
81 /* 0x5EB */ u8 mPlayerRide;
82 /* 0x5EC */ u8 mPrevPlayerRide;
83 /* 0x5ED */ u8 field_0x5ED[0x5F4 - 0x5ED];
85 /* 0x614 */ u8 mLightSet;
86 /* 0x615 */ u8 mNoRideOffSwTimer;
87 /* 0x616 */ u8 field_0x616;
88};
89
90STATIC_ASSERT(sizeof(daOptiLift_c) == 0x618);
91
93public:
94 /* 80C8A30C */ daOptiLift_HIO_c();
95 /* 80C8B900 */ virtual ~daOptiLift_HIO_c() {}
96
98 /* 0x05 */ u8 mStartMoveTime;
99 /* 0x06 */ u8 mColorAnmFrame;
100 /* 0x07 */ u8 mColorR;
101 /* 0x08 */ u8 mColorG;
102 /* 0x09 */ u8 mColorB;
103 /* 0x0C */ f32 mLightRadius;
104 /* 0x10 */ u8 mLightColorR;
105 /* 0x11 */ u8 mLightColorG;
106 /* 0x12 */ u8 mLightColorB;
107};
108
109
110#endif /* D_A_OBJ_LV8OPTILIFT_H */
Definition d_bg_s_movebg_actor.h:10
Definition d_bg_w.h:252
Definition d_a_obj_lv8OptiLift.h:92
u8 mColorB
Definition d_a_obj_lv8OptiLift.h:102
u8 mColorG
Definition d_a_obj_lv8OptiLift.h:101
u8 mLightColorR
Definition d_a_obj_lv8OptiLift.h:104
u8 mStartMoveTime
Definition d_a_obj_lv8OptiLift.h:98
u8 mStopDisappearTime
Definition d_a_obj_lv8OptiLift.h:97
u8 mColorR
Definition d_a_obj_lv8OptiLift.h:100
u8 mLightColorG
Definition d_a_obj_lv8OptiLift.h:105
daOptiLift_HIO_c()
Definition d_a_obj_lv8OptiLift.cpp:31
f32 mLightRadius
Definition d_a_obj_lv8OptiLift.h:103
u8 mColorAnmFrame
Definition d_a_obj_lv8OptiLift.h:99
virtual ~daOptiLift_HIO_c()
Definition d_a_obj_lv8OptiLift.h:95
u8 mLightColorB
Definition d_a_obj_lv8OptiLift.h:106
Palace of Twilight Optilift.
Definition d_a_obj_lv8OptiLift.h:15
void modeMoveInit()
Definition d_a_obj_lv8OptiLift.cpp:320
s8 mPathDirection
Definition d_a_obj_lv8OptiLift.h:73
void modeStop()
Definition d_a_obj_lv8OptiLift.cpp:372
void liftReset()
Definition d_a_obj_lv8OptiLift.cpp:417
void init_modeMoveInit()
Definition d_a_obj_lv8OptiLift.cpp:306
void modeMoveWait()
Definition d_a_obj_lv8OptiLift.cpp:335
void lightSet()
Definition d_a_obj_lv8OptiLift.cpp:140
request_of_phase_process_class mPhase
Definition d_a_obj_lv8OptiLift.h:67
void modeWait()
Definition d_a_obj_lv8OptiLift.cpp:353
void modeInitSet2()
Definition d_a_obj_lv8OptiLift.cpp:412
u8 field_0x616
Definition d_a_obj_lv8OptiLift.h:87
u8 getPthID()
Definition d_a_obj_lv8OptiLift.h:60
virtual int CreateHeap()
Definition d_a_obj_lv8OptiLift.cpp:62
J3DModel * mpModel
Definition d_a_obj_lv8OptiLift.h:68
int getArg1()
Definition d_a_obj_lv8OptiLift.h:63
static f32 const mSpeed[]
Definition d_a_obj_lv8OptiLift.h:56
u8 mSwBit
Definition d_a_obj_lv8OptiLift.h:70
virtual int Execute(f32(**)[3][4])
Definition d_a_obj_lv8OptiLift.cpp:159
int create()
Definition d_a_obj_lv8OptiLift.cpp:81
u8 field_0x5ED[0x5F4 - 0x5ED]
Definition d_a_obj_lv8OptiLift.h:83
void setBaseMtx()
Definition d_a_obj_lv8OptiLift.cpp:48
void init_modeAcc()
Definition d_a_obj_lv8OptiLift.cpp:228
void setNextPoint()
Definition d_a_obj_lv8OptiLift.cpp:430
void modeBrk()
Definition d_a_obj_lv8OptiLift.cpp:282
void init_modeBrk()
Definition d_a_obj_lv8OptiLift.cpp:277
static void rideCallBack(dBgW *, fopAc_ac_c *, fopAc_ac_c *)
Definition d_a_obj_lv8OptiLift.cpp:151
void modeAcc()
Definition d_a_obj_lv8OptiLift.cpp:233
u8 mPrevPlayerRide
Definition d_a_obj_lv8OptiLift.h:82
void init_modeStop()
Definition d_a_obj_lv8OptiLift.cpp:356
u8 mNoRideOffSwTimer
Definition d_a_obj_lv8OptiLift.h:86
virtual int Draw()
Definition d_a_obj_lv8OptiLift.cpp:468
cXyz mPrevTargetPos
Definition d_a_obj_lv8OptiLift.h:76
u8 field_0x5C5[0x5C8 - 0x5C5]
Definition d_a_obj_lv8OptiLift.h:71
u8 mStopDisappearTimer
Definition d_a_obj_lv8OptiLift.h:80
int getSw()
Definition d_a_obj_lv8OptiLift.h:62
u8 mPlayerRide
Definition d_a_obj_lv8OptiLift.h:81
mDoExt_btkAnm mBtk
Definition d_a_obj_lv8OptiLift.h:69
u8 mIsSwitch
Definition d_a_obj_lv8OptiLift.h:79
virtual int Delete()
Definition d_a_obj_lv8OptiLift.cpp:502
void moveLift()
Definition d_a_obj_lv8OptiLift.cpp:171
int getMoveSpped()
Definition d_a_obj_lv8OptiLift.h:61
cXyz mTargetPos
Definition d_a_obj_lv8OptiLift.h:75
void init_modeWait()
Definition d_a_obj_lv8OptiLift.cpp:348
void init_modeInitSet2()
Definition d_a_obj_lv8OptiLift.cpp:406
void modeInitSet()
Definition d_a_obj_lv8OptiLift.cpp:400
s16 mCurrentPoint
Definition d_a_obj_lv8OptiLift.h:74
u8 mLightSet
Definition d_a_obj_lv8OptiLift.h:85
f32 mMoveSpeed
Definition d_a_obj_lv8OptiLift.h:77
void init_modeInitSet()
Definition d_a_obj_lv8OptiLift.cpp:393
void modeMove()
Definition d_a_obj_lv8OptiLift.cpp:250
LIGHT_INFLUENCE mLight
Definition d_a_obj_lv8OptiLift.h:84
void init_modeMoveWait()
Definition d_a_obj_lv8OptiLift.cpp:328
u8 mPathID
Definition d_a_obj_lv8OptiLift.h:72
void init_modeMove()
Definition d_a_obj_lv8OptiLift.cpp:245
MODE_e
Definition d_a_obj_lv8OptiLift.h:17
@ MODE_MOVE_WAIT_e
Definition d_a_obj_lv8OptiLift.h:23
@ MODE_WAIT_e
Definition d_a_obj_lv8OptiLift.h:21
@ MODE_INIT_SET2_e
Definition d_a_obj_lv8OptiLift.h:26
@ MODE_STOP_e
Definition d_a_obj_lv8OptiLift.h:24
@ MODE_MOVE_INIT_e
Definition d_a_obj_lv8OptiLift.h:22
@ MODE_MOVE_e
Definition d_a_obj_lv8OptiLift.h:19
@ MODE_BRK_e
Definition d_a_obj_lv8OptiLift.h:20
@ MODE_ACC_e
Definition d_a_obj_lv8OptiLift.h:18
@ MODE_INIT_SET_e
Definition d_a_obj_lv8OptiLift.h:25
u8 mMode
Definition d_a_obj_lv8OptiLift.h:78
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daOptiLift_c)==0x618)
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_ep.cpp:149
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8