Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
daSyRock_c Class Reference

Stalactite Rock. More...

#include <d_a_obj_syRock.h>

+ Inheritance diagram for daSyRock_c:
+ Collaboration diagram for daSyRock_c:

Public Member Functions

 daSyRock_c ()
 
 ~daSyRock_c ()
 
void setBaseMtx ()
 
int CreateHeap ()
 
cPhs__Step create ()
 
void setFallStat ()
 
int Execute (Mtx **)
 
void move ()
 
void init_modeWait ()
 
void modeWait ()
 
BOOL eventStart ()
 
void init_modeDropInit ()
 
void modeDropInit ()
 
void init_modeDrop ()
 
void modeDrop ()
 
void init_modeSink ()
 
void modeSink ()
 
void init_modeMove ()
 
void modeMove ()
 
BOOL chkWaterLineIn ()
 
void bgCheck ()
 
void init_modeDropEnd ()
 
void modeDropEnd ()
 
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 ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
- Public Member Functions inherited from dEvLib_callback_c
 dEvLib_callback_c (fopAc_ac_c *param_0)
 
BOOL eventUpdate ()
 
BOOL setEvent (int, int, int)
 
void orderEvent (int, int, int)
 
BOOL setAction (action_class< dEvLib_callback_c > *)
 
BOOL initAction ()
 
BOOL executeAction ()
 
BOOL initStart ()
 
BOOL executeStart ()
 
BOOL initRun ()
 
BOOL executeRun ()
 
virtual ~dEvLib_callback_c ()
 
virtual BOOL eventRun ()
 
virtual BOOL eventEnd ()
 

Static Public Member Functions

static voidsearchWaterPillar (void *, void *)
 
- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 

Static Public Attributes

static dCcD_SrcGObjInf const mCcDObjInfo
 
static dCcD_SrcCyl mCcDCyl = {mCcDObjInfo}
 
- Static Public Attributes inherited from dBgS_MoveBgActor
static const charm_name
 
static int m_dzb_id
 
static MoveBGActor_SetFunc m_set_func
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Private Types

enum  Mode_e {
  MODE_WAIT , MODE_DROP_INIT , MODE_DROP , MODE_SINK ,
  MODE_MOVE , MODE_DROP_END
}
 

Private Member Functions

BOOL getArg0 ()
 
u32 getSwBit1 ()
 
u32 getSwBit2 ()
 
s32 getEvetID ()
 

Private Attributes

request_of_phase_process_class mPhase
 
J3DModelmpModels [2]
 
u8 mMode
 
u8 mDropAutomaticallySwitchNo
 
dCcD_Stts mStts
 
dCcD_Cyl mUnbrokenCylinderCollider
 
u8 mWaitFrames
 
u32 mShakeOscillationAngleStep
 
csXyz mShakeXZAngleOffset
 
f32 mShakeAmplitude
 
f32 mShakeXOscillationAngle
 
f32 mShakeZOscillationAngle
 
f32 mShakeDamping
 
f32 mShakeMaxDecay
 
f32 mShakeMinDecay
 
cXyz mUnderwaterRotatedStalactiteOffset
 
bool mInWaterPreviousFrame
 
u8 field_0x779
 
dBgS_AcchCir mAcchCir
 
dBgS_ObjAcch mAcch
 
daWtPillar_cmpWaterPillar
 
dBgWmpBrokenCollision
 
u8 mIsUnbroken
 

Additional Inherited Members

- 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
 
u8 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
 
- Public Attributes inherited from fakeSyRockPadding
u8 a [8]
 
- Public Attributes inherited from dEvLib_callback_c
fopAc_ac_cmActor
 
action_class< dEvLib_callback_c > * mAction
 
u16 _C
 

Detailed Description

Stalactite Rock.

Breakable stalactites seen in Lakebed Temple

Member Enumeration Documentation

◆ Mode_e

Enumerator
MODE_WAIT 
MODE_DROP_INIT 
MODE_DROP 
MODE_SINK 
MODE_MOVE 
MODE_DROP_END 

Constructor & Destructor Documentation

◆ daSyRock_c()

daSyRock_c::daSyRock_c ( )
inline

◆ ~daSyRock_c()

daSyRock_c::~daSyRock_c ( )
inline

Member Function Documentation

◆ bgCheck()

void daSyRock_c::bgCheck ( )

◆ chkWaterLineIn()

BOOL daSyRock_c::chkWaterLineIn ( )

◆ create()

cPhs__Step daSyRock_c::create ( )

◆ CreateHeap()

int daSyRock_c::CreateHeap ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Delete()

int daSyRock_c::Delete ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Draw()

int daSyRock_c::Draw ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ eventStart()

BOOL daSyRock_c::eventStart ( )
virtual

Reimplemented from dEvLib_callback_c.

◆ Execute()

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

Reimplemented from dBgS_MoveBgActor.

◆ getArg0()

BOOL daSyRock_c::getArg0 ( )
inlineprivate

◆ getEvetID()

s32 daSyRock_c::getEvetID ( )
inlineprivate

◆ getSwBit1()

u32 daSyRock_c::getSwBit1 ( )
inlineprivate

◆ getSwBit2()

u32 daSyRock_c::getSwBit2 ( )
inlineprivate

◆ init_modeDrop()

void daSyRock_c::init_modeDrop ( )

◆ init_modeDropEnd()

void daSyRock_c::init_modeDropEnd ( )

◆ init_modeDropInit()

void daSyRock_c::init_modeDropInit ( )

◆ init_modeMove()

void daSyRock_c::init_modeMove ( )

◆ init_modeSink()

void daSyRock_c::init_modeSink ( )

◆ init_modeWait()

void daSyRock_c::init_modeWait ( )

◆ modeDrop()

void daSyRock_c::modeDrop ( )

◆ modeDropEnd()

void daSyRock_c::modeDropEnd ( )

◆ modeDropInit()

void daSyRock_c::modeDropInit ( )

◆ modeMove()

void daSyRock_c::modeMove ( )

◆ modeSink()

void daSyRock_c::modeSink ( )

◆ modeWait()

void daSyRock_c::modeWait ( )

◆ move()

void daSyRock_c::move ( )

◆ searchWaterPillar()

void * daSyRock_c::searchWaterPillar ( void i_proc,
void i_this 
)
static

◆ setBaseMtx()

void daSyRock_c::setBaseMtx ( )

◆ setFallStat()

void daSyRock_c::setFallStat ( )

Member Data Documentation

◆ field_0x779

u8 daSyRock_c::field_0x779
private

◆ mAcch

dBgS_ObjAcch daSyRock_c::mAcch
private

◆ mAcchCir

dBgS_AcchCir daSyRock_c::mAcchCir
private

◆ mCcDCyl

dCcD_SrcCyl daSyRock_c::mCcDCyl = {mCcDObjInfo}
static

◆ mCcDObjInfo

dCcD_SrcGObjInf const daSyRock_c::mCcDObjInfo
static
Initial value:
= {
{0x0, {{AT_TYPE_BOMB, 0x1, 0x1F}, {AT_TYPE_IRON_BALL | AT_TYPE_BOMB, 0x11}, 0x79}},
{dCcD_SE_SWORD, 0x0, 0x1, dCcD_MTRL_NONE, 0x0},
{dCcD_SE_STONE, 0x0, 0x0, dCcD_MTRL_NONE, 0x2},
{},
}
@ AT_TYPE_IRON_BALL
Definition c_cc_d.h:54
@ AT_TYPE_BOMB
Definition c_cc_d.h:37
@ dCcD_MTRL_NONE
Definition d_cc_d.h:40
@ dCcD_SE_STONE
Definition d_cc_d.h:23
@ dCcD_SE_SWORD
Definition d_cc_d.h:14

◆ mDropAutomaticallySwitchNo

u8 daSyRock_c::mDropAutomaticallySwitchNo
private

◆ mInWaterPreviousFrame

bool daSyRock_c::mInWaterPreviousFrame
private

◆ mIsUnbroken

u8 daSyRock_c::mIsUnbroken
private

◆ mMode

u8 daSyRock_c::mMode
private

◆ mpBrokenCollision

dBgW* daSyRock_c::mpBrokenCollision
private

◆ mPhase

request_of_phase_process_class daSyRock_c::mPhase
private

◆ mpModels

J3DModel* daSyRock_c::mpModels[2]
private

◆ mpWaterPillar

daWtPillar_c* daSyRock_c::mpWaterPillar
private

◆ mShakeAmplitude

f32 daSyRock_c::mShakeAmplitude
private

◆ mShakeDamping

f32 daSyRock_c::mShakeDamping
private

◆ mShakeMaxDecay

f32 daSyRock_c::mShakeMaxDecay
private

◆ mShakeMinDecay

f32 daSyRock_c::mShakeMinDecay
private

◆ mShakeOscillationAngleStep

u32 daSyRock_c::mShakeOscillationAngleStep
private

◆ mShakeXOscillationAngle

f32 daSyRock_c::mShakeXOscillationAngle
private

◆ mShakeXZAngleOffset

csXyz daSyRock_c::mShakeXZAngleOffset
private

◆ mShakeZOscillationAngle

f32 daSyRock_c::mShakeZOscillationAngle
private

◆ mStts

dCcD_Stts daSyRock_c::mStts
private

◆ mUnbrokenCylinderCollider

dCcD_Cyl daSyRock_c::mUnbrokenCylinderCollider
private

◆ mUnderwaterRotatedStalactiteOffset

cXyz daSyRock_c::mUnderwaterRotatedStalactiteOffset
private

◆ mWaitFrames

u8 daSyRock_c::mWaitFrames
private

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