Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
daWtGate_c Class Reference

Water Gate. More...

#include <d_a_obj_waterGate.h>

+ Inheritance diagram for daWtGate_c:
+ Collaboration diagram for daWtGate_c:

Public Member Functions

void setBaseMtx ()
 
int CreateHeap ()
 
cPhs__Step create ()
 
int Execute (Mtx **)
 
void move ()
 
void init_modeWait ()
 
void modeWait ()
 
void init_modeOpen ()
 
void modeOpen ()
 
void init_modeClose ()
 
void modeClose ()
 
void init_modeEnd ()
 
void modeEnd ()
 
int Draw ()
 
int Delete ()
 
- Public Member Functions inherited from dBgS_MoveBgActor
 dBgS_MoveBgActor ()
 
int MoveBGCreateHeap ()
 
int MoveBGCreate (char const *i_arcName, int i_dzb_id, MoveBGActor_SetFunc i_setFunc, u32 i_heapSize, Mtx *i_bgMtx)
 
int MoveBGDelete ()
 
int MoveBGExecute ()
 
int MoveBGDraw ()
 
int MoveBGIsDelete ()
 
virtual int Create ()
 
virtual int IsDelete ()
 
virtual int ToFore ()
 
virtual int ToBack ()
 
- Public Member Functions inherited from fopAc_ac_c
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 

Private Types

enum  SwitchState_e { CLOSED , OPENED }
 
enum  Mode_e { WAIT , OPEN , CLOSE , END }
 

Private Attributes

request_of_phase_process_class mPhase
 
J3DModelmpModel
 
u8 mMode
 
u8 field_0x5AD
 
u8 mPrevSwitchState
 
f32 mOpenYOffset
 
f32 mClosedYPos
 
f32 mMaxMoveSpeed
 

Additional Inherited Members

- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 
- Public Attributes inherited from dBgS_MoveBgActor
dBgWmpBgW
 
Mtx mBgMtx
 
- Public Attributes inherited from fopAc_ac_c
int actor_type
 
create_tag_class actor_tag
 
create_tag_class draw_tag
 
profile_method_classsub_method
 
JKRSolidHeapheap
 
dEvt_info_c eventInfo
 
dKy_tevstr_c tevStr
 
u16 setID
 
u8 group
 
u8 cullType
 
u8 demoActorID
 
s8 subtype
 
u8 carryType
 
u32 actor_status
 
u32 actor_condition
 
fpc_ProcID parentActorID
 
actor_place home
 
actor_place old
 
actor_place current
 
csXyz shape_angle
 
cXyz scale
 
cXyz speed
 
MtxP cullMtx
 
union { 
 
   cull_box   box 
 
   cull_sphere   sphere 
 
cull 
 
f32 cullSizeFar
 
J3DModelmodel
 
dJntCol_cjntCol
 
f32 speedF
 
f32 gravity
 
f32 maxFallSpeed
 
cXyz eyePos
 
actor_attention_types attention_info
 
s16 field_0x560
 
s16 health
 
u8 field_0x564
 
u8 field_0x565
 
s8 field_0x566
 
s8 field_0x567
 
- Public Attributes inherited from leafdraw_class
base_process_class base
 
leafdraw_method_classleaf_methods
 
s8 unk_0xBC
 
u8 unk_0xBD
 
draw_priority_class draw_priority
 
- Static Public Attributes inherited from dBgS_MoveBgActor
static const char * m_name
 
static int m_dzb_id
 
static MoveBGActor_SetFunc m_set_func
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Detailed Description

Water Gate.

Sluice gate that player opens in 3F and 4F of Lakebed Temple. Object does not control the flow of water streams in the temple, it is purely aesthetic.

Member Enumeration Documentation

◆ Mode_e

enum daWtGate_c::Mode_e
private
Enumerator
WAIT 
OPEN 
CLOSE 
END 

◆ SwitchState_e

Enumerator
CLOSED 
OPENED 

Member Function Documentation

◆ create()

cPhs__Step daWtGate_c::create ( )

◆ CreateHeap()

int daWtGate_c::CreateHeap ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Delete()

int daWtGate_c::Delete ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Draw()

int daWtGate_c::Draw ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Execute()

int daWtGate_c::Execute ( Mtx ** i_mtx)
virtual

Reimplemented from dBgS_MoveBgActor.

◆ init_modeClose()

void daWtGate_c::init_modeClose ( )

◆ init_modeEnd()

void daWtGate_c::init_modeEnd ( )

◆ init_modeOpen()

void daWtGate_c::init_modeOpen ( )

◆ init_modeWait()

void daWtGate_c::init_modeWait ( )

◆ modeClose()

void daWtGate_c::modeClose ( )

◆ modeEnd()

void daWtGate_c::modeEnd ( )

◆ modeOpen()

void daWtGate_c::modeOpen ( )

◆ modeWait()

void daWtGate_c::modeWait ( )

◆ move()

void daWtGate_c::move ( )

◆ setBaseMtx()

void daWtGate_c::setBaseMtx ( )

Member Data Documentation

◆ field_0x5AD

u8 daWtGate_c::field_0x5AD
private

◆ mClosedYPos

f32 daWtGate_c::mClosedYPos
private

◆ mMaxMoveSpeed

f32 daWtGate_c::mMaxMoveSpeed
private

◆ mMode

u8 daWtGate_c::mMode
private

◆ mOpenYOffset

f32 daWtGate_c::mOpenYOffset
private

◆ mPhase

request_of_phase_process_class daWtGate_c::mPhase
private

◆ mpModel

J3DModel* daWtGate_c::mpModel
private

◆ mPrevSwitchState

u8 daWtGate_c::mPrevSwitchState
private

The documentation for this class was generated from the following files: