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

Water Wheel/Gear. More...

#include <d_a_obj_kwheel00.h>

+ Inheritance diagram for daObjKWheel00_c:
+ Collaboration diagram for daObjKWheel00_c:

Public Types

enum  Type_e { TYPE_LARGE_GOLD , TYPE_SMALL_PLATINUM }
 

Public Member Functions

 daObjKWheel00_c ()
 
 ~daObjKWheel00_c ()
 
int create1st ()
 
void setMtx ()
 
int CreateHeap ()
 
int Create ()
 
int Execute (Mtx **)
 
int Draw ()
 
int Delete ()
 
bool eventStart ()
 
int getSwNo ()
 
u32 getType ()
 
- 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 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 ()
 
- 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 ()
 

Private Types

enum  QuadrantalAngle_e {
  DEG_INVALID = -1 , DEG_0 , DEG_90 , DEG_180 ,
  DEG_270 , DEG_MAX
}
 

Private Member Functions

u32 getArg0 ()
 
s32 getEvent ()
 

Private Attributes

Mtx mNewBgMtx
 
Mtx mTransformMtx
 
J3DModelmpModel
 
s16 mZAngularVelocity
 
Type_e m_type
 
dCcD_Stts mStts
 
dCcD_Sph mLargeGearTeethSphereColliders [4]
 
QuadrantalAngle_e mPrevQuadrantalZAngle
 

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
 
- Public Attributes inherited from request_of_phase_process_class
cPhs__HandlermpHandlerTable
 
int id
 
- Public Attributes inherited from dEvLib_callback_c
fopAc_ac_cmActor
 
action_class< dEvLib_callback_c > * mAction
 
u16 _C
 
- 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 Wheel/Gear.

Lakebed temple water wheels/gears without clawshot targets. There are two types: 1.) Larger gold-colored ones that are completely solid and lie near the end of the long axle 2.) Smaller dark-colored ones where the largest gear teeth are grated and lie centered on a short axle (seen on bridges to/from central room)

Member Enumeration Documentation

◆ QuadrantalAngle_e

Enumerator
DEG_INVALID 
DEG_0 
DEG_90 
DEG_180 
DEG_270 
DEG_MAX 

◆ Type_e

Enumerator
TYPE_LARGE_GOLD 
TYPE_SMALL_PLATINUM 

Constructor & Destructor Documentation

◆ daObjKWheel00_c()

daObjKWheel00_c::daObjKWheel00_c ( )
inline

◆ ~daObjKWheel00_c()

daObjKWheel00_c::~daObjKWheel00_c ( )
inline

Member Function Documentation

◆ Create()

int daObjKWheel00_c::Create ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ create1st()

int daObjKWheel00_c::create1st ( )

◆ CreateHeap()

int daObjKWheel00_c::CreateHeap ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Delete()

int daObjKWheel00_c::Delete ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Draw()

int daObjKWheel00_c::Draw ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ eventStart()

bool daObjKWheel00_c::eventStart ( )
virtual

Reimplemented from dEvLib_callback_c.

◆ Execute()

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

Reimplemented from dBgS_MoveBgActor.

◆ getArg0()

u32 daObjKWheel00_c::getArg0 ( )
inlineprivate

◆ getEvent()

s32 daObjKWheel00_c::getEvent ( )
inlineprivate

◆ getSwNo()

int daObjKWheel00_c::getSwNo ( )
inline

◆ getType()

u32 daObjKWheel00_c::getType ( )
inline

◆ setMtx()

void daObjKWheel00_c::setMtx ( )

Member Data Documentation

◆ m_type

Type_e daObjKWheel00_c::m_type
private

◆ mLargeGearTeethSphereColliders

dCcD_Sph daObjKWheel00_c::mLargeGearTeethSphereColliders[4]
private

◆ mNewBgMtx

Mtx daObjKWheel00_c::mNewBgMtx
private

◆ mpModel

J3DModel* daObjKWheel00_c::mpModel
private

◆ mPrevQuadrantalZAngle

QuadrantalAngle_e daObjKWheel00_c::mPrevQuadrantalZAngle
private

◆ mStts

dCcD_Stts daObjKWheel00_c::mStts
private

◆ mTransformMtx

Mtx daObjKWheel00_c::mTransformMtx
private

◆ mZAngularVelocity

s16 daObjKWheel00_c::mZAngularVelocity
private

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