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

Treasure Box 2. More...

#include <d_a_tbox2.h>

+ Inheritance diagram for daTbox2_c:
+ Collaboration diagram for daTbox2_c:

Public Types

enum  Type_e { TYPE_SMALL_e , TYPE_BIG_e }
 
enum  Mode_e { MODE_EXEC_WAIT_e , MODE_EXEC_e }
 
enum  Action_e { ACTION_OPEN_WAIT_e , ACTION_OPEN_DEMO_e , ACTION_NOT_OPEN_DEMO_e , ACTION_WAIT_e }
 
enum  EventAct_e { EVACT_WAIT_e , EVACT_OPEN_e , EVACT_APPEAR_e , EVACT_OPEN_SHORT_e }
 

Public Member Functions

void initBaseMtx ()
 
void setBaseMtx ()
 
int create1st ()
 
int demoProc ()
 
void openInit ()
 
void mode_proc_call ()
 
void mode_exec_wait ()
 
void mode_exec ()
 
void action ()
 
void init_actionWait ()
 
void actionWait ()
 
void init_actionNotOpenDemo ()
 
void actionNotOpenDemo ()
 
void init_actionOpenDemo ()
 
void actionOpenDemo ()
 
void init_actionOpenWait ()
 
void actionOpenWait ()
 
int setGetDemoItem ()
 
BOOL boxCheck ()
 
virtual int CreateHeap ()
 
virtual int Create ()
 
virtual int Execute (f32(**)[3][4])
 
virtual int Draw ()
 
virtual int Delete ()
 
virtual BOOL checkSmallTbox ()
 
u8 getModelType ()
 
u8 getItemNo ()
 
- 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 Execute (Mtx **)
 
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 ()
 

Private Attributes

u8 mReturnRupee
 
request_of_phase_process_class mPhase
 
J3DModelmpModel
 
mDoExt_bckAnmmpBck
 
dBgS_ObjAcch mAcch
 
dBgS_AcchCir mAcchCir
 
dCcD_Stts mCcStts2
 
dCcD_Cyl mCcCyl2
 
u8 mModelType
 
u8 mAction
 
u8 mMode
 
bool mNoDraw
 
u8 field_0xAC0 [0xAC4 - 0xAC0]
 
int mStaffIdx
 
dBgWmBoxBgW
 

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
 
u8 field_0x566
 
s8 field_0x567
 
- Public Attributes inherited from leafdraw_class
base_process_class mBase
 
leafdraw_method_classmpDrawMtd
 
s8 mbUnk0
 
u8 mbUnk1
 
draw_priority_class mDwPi
 
- 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
 
- Protected Attributes inherited from daTboxBase_c
dCcD_Stts mStts
 
dCcD_Cyl mCyl
 

Detailed Description

Treasure Box 2.

Member Enumeration Documentation

◆ Action_e

Enumerator
ACTION_OPEN_WAIT_e 
ACTION_OPEN_DEMO_e 
ACTION_NOT_OPEN_DEMO_e 
ACTION_WAIT_e 

◆ EventAct_e

Enumerator
EVACT_WAIT_e 
EVACT_OPEN_e 
EVACT_APPEAR_e 
EVACT_OPEN_SHORT_e 

◆ Mode_e

Enumerator
MODE_EXEC_WAIT_e 
MODE_EXEC_e 

◆ Type_e

Enumerator
TYPE_SMALL_e 
TYPE_BIG_e 

Member Function Documentation

◆ action()

void daTbox2_c::action ( )

◆ actionNotOpenDemo()

void daTbox2_c::actionNotOpenDemo ( )

◆ actionOpenDemo()

void daTbox2_c::actionOpenDemo ( )

◆ actionOpenWait()

void daTbox2_c::actionOpenWait ( )

◆ actionWait()

void daTbox2_c::actionWait ( )

◆ boxCheck()

BOOL daTbox2_c::boxCheck ( )

◆ checkSmallTbox()

virtual BOOL daTbox2_c::checkSmallTbox ( )
inlinevirtual

Implements daTboxBase_c.

◆ Create()

int daTbox2_c::Create ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ create1st()

int daTbox2_c::create1st ( )

◆ CreateHeap()

int daTbox2_c::CreateHeap ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Delete()

int daTbox2_c::Delete ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ demoProc()

int daTbox2_c::demoProc ( )

◆ Draw()

int daTbox2_c::Draw ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ Execute()

int daTbox2_c::Execute ( f32(**)  [3][4])
virtual

◆ getItemNo()

u8 daTbox2_c::getItemNo ( )
inline

◆ getModelType()

u8 daTbox2_c::getModelType ( )
inline

◆ init_actionNotOpenDemo()

void daTbox2_c::init_actionNotOpenDemo ( )

◆ init_actionOpenDemo()

void daTbox2_c::init_actionOpenDemo ( )

◆ init_actionOpenWait()

void daTbox2_c::init_actionOpenWait ( )

◆ init_actionWait()

void daTbox2_c::init_actionWait ( )

◆ initBaseMtx()

void daTbox2_c::initBaseMtx ( )

d_a_tbox2.cpp Treasure Chest (Opened state not saved)

◆ mode_exec()

void daTbox2_c::mode_exec ( )

◆ mode_exec_wait()

void daTbox2_c::mode_exec_wait ( )

◆ mode_proc_call()

void daTbox2_c::mode_proc_call ( )

◆ openInit()

void daTbox2_c::openInit ( )

◆ setBaseMtx()

void daTbox2_c::setBaseMtx ( )

◆ setGetDemoItem()

int daTbox2_c::setGetDemoItem ( )

Member Data Documentation

◆ field_0xAC0

u8 daTbox2_c::field_0xAC0[0xAC4 - 0xAC0]
private

◆ mAcch

dBgS_ObjAcch daTbox2_c::mAcch
private

◆ mAcchCir

dBgS_AcchCir daTbox2_c::mAcchCir
private

◆ mAction

u8 daTbox2_c::mAction
private

◆ mBoxBgW

dBgW* daTbox2_c::mBoxBgW
private

◆ mCcCyl2

dCcD_Cyl daTbox2_c::mCcCyl2
private

◆ mCcStts2

dCcD_Stts daTbox2_c::mCcStts2
private

◆ mMode

u8 daTbox2_c::mMode
private

◆ mModelType

u8 daTbox2_c::mModelType
private

◆ mNoDraw

bool daTbox2_c::mNoDraw
private

◆ mpBck

mDoExt_bckAnm* daTbox2_c::mpBck
private

◆ mPhase

request_of_phase_process_class daTbox2_c::mPhase
private

◆ mpModel

J3DModel* daTbox2_c::mpModel
private

◆ mReturnRupee

u8 daTbox2_c::mReturnRupee
private

◆ mStaffIdx

int daTbox2_c::mStaffIdx
private

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