Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_ladder.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LADDER_H
2#define D_A_OBJ_LADDER_H
3
5#include "d/d_a_obj.h"
6
15namespace daObjLadder {
16 class Act_c : public dBgS_MoveBgActor {
17 public:
18 enum Prm_e {
19 PRM_0 = 0,
20 PRM_3 = 3,
21 PRM_8 = 8,
22 PRM_16 = 16,
23 };
24
33
41
42 typedef void (Act_c::*modeProc)();
43
44 /* 8058D158 */ int CreateHeap();
45 /* 8058D1D8 */ int Create();
46 /* 8058D378 */ int Mthd_Create();
47 /* 8058D4F0 */ int Delete();
48 /* 8058D4F8 */ int Mthd_Delete();
49 /* 8058D544 */ void demo_end_reset();
50 /* 8058D5AC */ void mode_wait_init();
51 /* 8058D5B8 */ void mode_wait();
52 /* 8058D614 */ void mode_demoreq_init();
53 /* 8058D628 */ void mode_demoreq();
54 /* 8058D6E8 */ void mode_vib_init();
55 /* 8058D710 */ void mode_vib();
56 /* 8058D7A8 */ void mode_drop_init();
57 /* 8058D7EC */ void mode_drop();
58 /* 8058D9C0 */ void mode_fell_init();
59 /* 8058D9CC */ void mode_fell();
60 /* 8058D9D0 */ void set_mtx();
61 /* 8058DA64 */ void init_mtx();
62 /* 8058DAA0 */ int Execute(f32 (**)[3][4]);
63 /* 8058DBB8 */ int Draw();
64
66 return daObj::PrmAbstract(this, PRM_8, PRM_16);
67 }
68
70 return daObj::PrmAbstract(this,PRM_8, PRM_8);
71 }
72
76
77 static char const M_arcname[5];
78 static Mtx M_tmp_mtx;
79private:
81 /* 0x5A8 */ J3DModel* mModel;
82 /* 0x5AC */ Type_e mType;
83 /* 0x5B0 */ Mode mMode;
84 /* 0x5B4 */ s16 mVibrationTimer;
85 /* 0x5B6 */ s16 field_0x5b6;
86 /* 0x5B8 */ f32 mHeight;
88 /* 0x610 */ s16 field_0x610;
89 /* 0x612 */ s16 field_0x612;
90 /* 0x614 */ f32 field_0x614;
91 /* 0x618 */ f32 field_0x618;
92 /* 0x61C */ s16 mEventIdx;
93 /* 0x61E */ bool mInDemo;
94 };
95};
96
98
99#endif /* D_A_OBJ_LADDER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_s_movebg_actor.h:10
Definition d_a_obj_ladder.h:16
void mode_drop_init()
Definition d_a_obj_ladder.cpp:317
void mode_vib_init()
Definition d_a_obj_ladder.cpp:297
static Mtx M_tmp_mtx
Definition d_a_obj_ladder.h:78
dBgS_ObjGndChk mGndChk
Definition d_a_obj_ladder.h:87
s16 mEventIdx
Definition d_a_obj_ladder.h:92
void init_mtx()
Definition d_a_obj_ladder.cpp:383
void mode_fell()
Definition d_a_obj_ladder.cpp:365
Type_e mType
Definition d_a_obj_ladder.h:82
void set_mtx()
Definition d_a_obj_ladder.cpp:373
Type_e
Definition d_a_obj_ladder.h:25
@ TYPE_3
Definition d_a_obj_ladder.h:29
@ TYPE_2
Definition d_a_obj_ladder.h:28
@ TYPE_0
Definition d_a_obj_ladder.h:26
@ TYPE_4
Definition d_a_obj_ladder.h:30
@ TYPE_1
Definition d_a_obj_ladder.h:27
@ TYPE_5
Definition d_a_obj_ladder.h:31
void mode_fell_init()
Definition d_a_obj_ladder.cpp:359
s16 field_0x5b6
Definition d_a_obj_ladder.h:85
int CreateHeap()
Definition d_a_obj_ladder.cpp:183
Mode mMode
Definition d_a_obj_ladder.h:83
s16 field_0x612
Definition d_a_obj_ladder.h:89
s16 mVibrationTimer
Definition d_a_obj_ladder.h:84
void mode_demoreq()
Definition d_a_obj_ladder.cpp:278
int Execute(f32(**)[3][4])
Definition d_a_obj_ladder.cpp:389
int Mthd_Create()
Definition d_a_obj_ladder.cpp:221
void(Act_c::* modeProc)()
Definition d_a_obj_ladder.h:42
int Create()
Definition d_a_obj_ladder.cpp:191
J3DModel * mModel
Definition d_a_obj_ladder.h:81
int Draw()
Definition d_a_obj_ladder.cpp:405
void mode_drop()
Definition d_a_obj_ladder.cpp:326
bool mInDemo
Definition d_a_obj_ladder.h:93
u8 prm_get_evId()
Definition d_a_obj_ladder.h:65
void mode_wait_init()
Definition d_a_obj_ladder.cpp:254
void demo_end_reset()
Definition d_a_obj_ladder.cpp:246
Prm_e
Definition d_a_obj_ladder.h:18
@ PRM_0
Definition d_a_obj_ladder.h:19
@ PRM_16
Definition d_a_obj_ladder.h:22
@ PRM_3
Definition d_a_obj_ladder.h:20
@ PRM_8
Definition d_a_obj_ladder.h:21
Mode
Definition d_a_obj_ladder.h:34
@ MODE_DEMOREQ
Definition d_a_obj_ladder.h:36
@ MODE_WAIT
Definition d_a_obj_ladder.h:35
@ MODE_FELL
Definition d_a_obj_ladder.h:39
@ MODE_DROP
Definition d_a_obj_ladder.h:38
@ MODE_VIB
Definition d_a_obj_ladder.h:37
void mode_demoreq_init()
Definition d_a_obj_ladder.cpp:268
f32 field_0x618
Definition d_a_obj_ladder.h:91
int Delete()
Definition d_a_obj_ladder.cpp:234
static char const M_arcname[5]
Definition d_a_obj_ladder.h:77
int Mthd_Delete()
Definition d_a_obj_ladder.cpp:239
f32 mHeight
Definition d_a_obj_ladder.h:86
Type_e prm_get_type()
Definition d_a_obj_ladder.h:73
f32 field_0x614
Definition d_a_obj_ladder.h:90
int prm_get_swSave()
Definition d_a_obj_ladder.h:69
void mode_vib()
Definition d_a_obj_ladder.cpp:306
s16 field_0x610
Definition d_a_obj_ladder.h:88
void mode_wait()
Definition d_a_obj_ladder.cpp:260
request_of_phase_process_class mPhase
Definition d_a_obj_ladder.h:80
STATIC_ASSERT(sizeof(daObjLadder::Act_c)==0x620)
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_obj_ladder.h:15
int PrmAbstract(const fopAc_ac_c *i_actor, T i_prmA, T i_prmB)
Definition d_a_obj.h:20
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:110
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8