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

Treasure Box. More...

#include <d_a_tbox.h>

+ Inheritance diagram for daTbox_c:
+ Collaboration diagram for daTbox_c:

Public Types

enum  Shape { SHAPE_SMALL = 0 , SHAPE_LARGE = 1 , SHAPE_BOSSKEY = 2 }
 
enum  Mode { MODE_EXEC_WAIT = 0 , MODE_EXEC = 1 }
 

Public Member Functions

daTbox_ModelInfogetModelInfo ()
 
cPhs__Step commonShapeSet ()
 
cPhs__Step effectShapeSet ()
 
cPhs__Step envShapeSet ()
 
cPhs__Step bgCheckSet ()
 
void lightReady ()
 
void setLightPos ()
 
int checkEnv ()
 
int checkAppear ()
 
int checkOpen ()
 
void clrDzb ()
 
void setDzb ()
 
void surfaceProc ()
 
int checkNormal ()
 
int checkEnvEffectTbox ()
 
u32 calcHeapSize ()
 
int CreateHeap ()
 
void CreateInit ()
 
void initPos ()
 
void initAnm ()
 
int boxCheck ()
 
void demoProcOpen ()
 
void lightColorProc ()
 
void environmentProc ()
 
void lightUpProc ()
 
void lightDownProc ()
 
void dropProcInitCall ()
 
void dropProcInit ()
 
int calcJumpGoalAndAngle (cXyz *, s16 *)
 
bool getDropSAngle (s16 *)
 
int getDir ()
 
void setRotAxis (cXyz const *, cXyz const *)
 
void dropProcInit2 ()
 
void dropProc ()
 
void demoInitAppear ()
 
void demoProcAppear ()
 
int demoProc ()
 
void OpenInit_com ()
 
void OpenInit ()
 
int actionWait ()
 
int actionDemo ()
 
int actionDemo2 ()
 
int actionDropDemo ()
 
u8 getBombItemNo (u8, u8)
 
u8 getBombItemNo2 (u8, u8, u8)
 
u8 getBombItemNo3 (u8, u8, u8, u8)
 
u8 getBombItemNoMain (u8)
 
int setGetDemoItem ()
 
int actionOpenWait ()
 
int actionNotOpenDemo ()
 
int checkDrop ()
 
void settingDropDemoCamera ()
 
int actionSwOnWait ()
 
int actionSwOnWait2 ()
 
int actionDropWait ()
 
int actionGenocide ()
 
int actionDropWaitForWeb ()
 
int actionDropForWeb ()
 
void initBaseMtx ()
 
void setBaseMtx ()
 
void mode_proc_call ()
 
void mode_exec_wait ()
 
void mode_exec ()
 
cPhs__Step create1st ()
 
int Execute (f32(**)[3][4])
 
int Draw ()
 
int Delete ()
 
int Create ()
 
virtual BOOL checkSmallTbox ()
 
u32 getEvent ()
 
int getShapeType ()
 
int getSwNo ()
 
int getTboxNo ()
 
int getFuncType ()
 
u32 getSwType ()
 
int getItemNo ()
 
int getPathId ()
 
void flagClr ()
 
void flagOn (u16 i_flag)
 
void flagOff (u16 i_flag)
 
u16 flagCheck (u16 i_flag)
 
void setAction (daTbox_actionFn i_actionFn)
 
void action ()
 
- 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

bool field_0x718
 
request_of_phase_process_class mPhase
 
J3DModelmpModel
 
J3DModelmpSlimeModel
 
mDoExt_bckAnmmpAnm
 
J3DModelmpEffectModel
 
mDoExt_brkAnmmpEffectAnm
 
dBgWmpOpenBgW
 
dBgWmpBgCollider
 
daTbox_actionFn mpActionFn
 
int mStaffId
 
f32 field_0x750
 
u16 mFlags
 
u16 mDemoFrame
 
bool field_0x758
 
u8 field_0x759
 
u16 field_0x75a
 
u8 mTimer
 
dBgS_ObjAcch mAcch
 
dBgS_AcchCir mAcchCir
 
u8 mTboxNo
 
s16 mEventId
 
bool field_0x97c
 
bool field_0x97d
 
u8 field_0x97e
 
bool mParamsInit
 
u16 field_0x980
 
u16 field_0x982
 
s16 field_0x984
 
Mtx field_0x988
 
cXyz mRotAxis
 
s16 field_0x9c4
 
s16 field_0x9c6
 
u8 field_0x9c8
 
u8 field_0x9c9
 
s16 field_0x9ca
 
u8 field_0x9cc
 
u8 mMode
 
LIGHT_INFLUENCE mLight
 
f32 mAllcolRatio
 
int field_0x9f4
 
u32 mOpenSeId
 
u8 field_0x9fc
 
u8 field_0x9fd
 
Mtx field_0xa00
 

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.

Member Enumeration Documentation

◆ Mode

Enumerator
MODE_EXEC_WAIT 
MODE_EXEC 

◆ Shape

Enumerator
SHAPE_SMALL 
SHAPE_LARGE 
SHAPE_BOSSKEY 

Member Function Documentation

◆ action()

void daTbox_c::action ( )
inline

◆ actionDemo()

int daTbox_c::actionDemo ( )

◆ actionDemo2()

int daTbox_c::actionDemo2 ( )

◆ actionDropDemo()

int daTbox_c::actionDropDemo ( )

◆ actionDropForWeb()

int daTbox_c::actionDropForWeb ( )

◆ actionDropWait()

int daTbox_c::actionDropWait ( )

◆ actionDropWaitForWeb()

int daTbox_c::actionDropWaitForWeb ( )

◆ actionGenocide()

int daTbox_c::actionGenocide ( )

◆ actionNotOpenDemo()

int daTbox_c::actionNotOpenDemo ( )

◆ actionOpenWait()

int daTbox_c::actionOpenWait ( )

◆ actionSwOnWait()

int daTbox_c::actionSwOnWait ( )

◆ actionSwOnWait2()

int daTbox_c::actionSwOnWait2 ( )

◆ actionWait()

int daTbox_c::actionWait ( )

◆ bgCheckSet()

cPhs__Step daTbox_c::bgCheckSet ( )

◆ boxCheck()

int daTbox_c::boxCheck ( )

◆ calcHeapSize()

u32 daTbox_c::calcHeapSize ( )

◆ calcJumpGoalAndAngle()

int daTbox_c::calcJumpGoalAndAngle ( cXyz i_pos,
s16 i_angle 
)

◆ checkAppear()

int daTbox_c::checkAppear ( )

◆ checkDrop()

int daTbox_c::checkDrop ( )

◆ checkEnv()

int daTbox_c::checkEnv ( )

◆ checkEnvEffectTbox()

int daTbox_c::checkEnvEffectTbox ( )

◆ checkNormal()

int daTbox_c::checkNormal ( )

◆ checkOpen()

int daTbox_c::checkOpen ( )

◆ checkSmallTbox()

BOOL daTbox_c::checkSmallTbox ( )
virtual

Implements daTboxBase_c.

◆ clrDzb()

void daTbox_c::clrDzb ( )

◆ commonShapeSet()

cPhs__Step daTbox_c::commonShapeSet ( )

◆ Create()

int daTbox_c::Create ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ create1st()

cPhs__Step daTbox_c::create1st ( )

◆ CreateHeap()

int daTbox_c::CreateHeap ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ CreateInit()

void daTbox_c::CreateInit ( )

◆ Delete()

int daTbox_c::Delete ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ demoInitAppear()

void daTbox_c::demoInitAppear ( )

◆ demoProc()

int daTbox_c::demoProc ( )

◆ demoProcAppear()

void daTbox_c::demoProcAppear ( )

◆ demoProcOpen()

void daTbox_c::demoProcOpen ( )

◆ Draw()

int daTbox_c::Draw ( )
virtual

Reimplemented from dBgS_MoveBgActor.

◆ dropProc()

void daTbox_c::dropProc ( )

◆ dropProcInit()

void daTbox_c::dropProcInit ( )

◆ dropProcInit2()

void daTbox_c::dropProcInit2 ( )

◆ dropProcInitCall()

void daTbox_c::dropProcInitCall ( )

◆ effectShapeSet()

cPhs__Step daTbox_c::effectShapeSet ( )

◆ environmentProc()

void daTbox_c::environmentProc ( )

◆ envShapeSet()

cPhs__Step daTbox_c::envShapeSet ( )

◆ Execute()

int daTbox_c::Execute ( f32(**)  param_0[3][4])

◆ flagCheck()

u16 daTbox_c::flagCheck ( u16  i_flag)
inline

◆ flagClr()

void daTbox_c::flagClr ( )
inline

◆ flagOff()

void daTbox_c::flagOff ( u16  i_flag)
inline

◆ flagOn()

void daTbox_c::flagOn ( u16  i_flag)
inline

◆ getBombItemNo()

u8 daTbox_c::getBombItemNo ( u8  i_bombType,
u8  i_slot 
)

◆ getBombItemNo2()

u8 daTbox_c::getBombItemNo2 ( u8  i_bombType1,
u8  i_bombType2,
u8  i_slot 
)

◆ getBombItemNo3()

u8 daTbox_c::getBombItemNo3 ( u8  i_bombType1,
u8  i_bombType2,
u8  i_bombType3,
u8  i_slot 
)

◆ getBombItemNoMain()

u8 daTbox_c::getBombItemNoMain ( u8  i_slot)

◆ getDir()

int daTbox_c::getDir ( )

◆ getDropSAngle()

bool daTbox_c::getDropSAngle ( s16 i_angle)

◆ getEvent()

u32 daTbox_c::getEvent ( )
inline

◆ getFuncType()

int daTbox_c::getFuncType ( )
inline

◆ getItemNo()

int daTbox_c::getItemNo ( )
inline

◆ getModelInfo()

daTbox_ModelInfo * daTbox_c::getModelInfo ( )

◆ getPathId()

int daTbox_c::getPathId ( )
inline

◆ getShapeType()

int daTbox_c::getShapeType ( )
inline

◆ getSwNo()

int daTbox_c::getSwNo ( )
inline

◆ getSwType()

u32 daTbox_c::getSwType ( )
inline

◆ getTboxNo()

int daTbox_c::getTboxNo ( )
inline

◆ initAnm()

void daTbox_c::initAnm ( )

◆ initBaseMtx()

void daTbox_c::initBaseMtx ( )

◆ initPos()

void daTbox_c::initPos ( )

◆ lightColorProc()

void daTbox_c::lightColorProc ( )

◆ lightDownProc()

void daTbox_c::lightDownProc ( )

◆ lightReady()

void daTbox_c::lightReady ( )

◆ lightUpProc()

void daTbox_c::lightUpProc ( )

◆ mode_exec()

void daTbox_c::mode_exec ( )

◆ mode_exec_wait()

void daTbox_c::mode_exec_wait ( )

◆ mode_proc_call()

void daTbox_c::mode_proc_call ( )

◆ OpenInit()

void daTbox_c::OpenInit ( )

◆ OpenInit_com()

void daTbox_c::OpenInit_com ( )

◆ setAction()

void daTbox_c::setAction ( daTbox_actionFn  i_actionFn)
inline

◆ setBaseMtx()

void daTbox_c::setBaseMtx ( )

◆ setDzb()

void daTbox_c::setDzb ( )

◆ setGetDemoItem()

int daTbox_c::setGetDemoItem ( )

◆ setLightPos()

void daTbox_c::setLightPos ( )

◆ setRotAxis()

void daTbox_c::setRotAxis ( cXyz const i_pos,
cXyz const i_goalPos 
)

◆ settingDropDemoCamera()

void daTbox_c::settingDropDemoCamera ( )

◆ surfaceProc()

void daTbox_c::surfaceProc ( )

Member Data Documentation

◆ field_0x718

bool daTbox_c::field_0x718
private

◆ field_0x750

f32 daTbox_c::field_0x750
private

◆ field_0x758

bool daTbox_c::field_0x758
private

◆ field_0x759

u8 daTbox_c::field_0x759
private

◆ field_0x75a

u16 daTbox_c::field_0x75a
private

◆ field_0x97c

bool daTbox_c::field_0x97c
private

◆ field_0x97d

bool daTbox_c::field_0x97d
private

◆ field_0x97e

u8 daTbox_c::field_0x97e
private

◆ field_0x980

u16 daTbox_c::field_0x980
private

◆ field_0x982

u16 daTbox_c::field_0x982
private

◆ field_0x984

s16 daTbox_c::field_0x984
private

◆ field_0x988

Mtx daTbox_c::field_0x988
private

◆ field_0x9c4

s16 daTbox_c::field_0x9c4
private

◆ field_0x9c6

s16 daTbox_c::field_0x9c6
private

◆ field_0x9c8

u8 daTbox_c::field_0x9c8
private

◆ field_0x9c9

u8 daTbox_c::field_0x9c9
private

◆ field_0x9ca

s16 daTbox_c::field_0x9ca
private

◆ field_0x9cc

u8 daTbox_c::field_0x9cc
private

◆ field_0x9f4

int daTbox_c::field_0x9f4
private

◆ field_0x9fc

u8 daTbox_c::field_0x9fc
private

◆ field_0x9fd

u8 daTbox_c::field_0x9fd
private

◆ field_0xa00

Mtx daTbox_c::field_0xa00
private

◆ mAcch

dBgS_ObjAcch daTbox_c::mAcch
private

◆ mAcchCir

dBgS_AcchCir daTbox_c::mAcchCir
private

◆ mAllcolRatio

f32 daTbox_c::mAllcolRatio
private

◆ mDemoFrame

u16 daTbox_c::mDemoFrame
private

◆ mEventId

s16 daTbox_c::mEventId
private

◆ mFlags

u16 daTbox_c::mFlags
private

◆ mLight

LIGHT_INFLUENCE daTbox_c::mLight
private

◆ mMode

u8 daTbox_c::mMode
private

◆ mOpenSeId

u32 daTbox_c::mOpenSeId
private

◆ mpActionFn

daTbox_actionFn daTbox_c::mpActionFn
private

◆ mpAnm

mDoExt_bckAnm* daTbox_c::mpAnm
private

◆ mParamsInit

bool daTbox_c::mParamsInit
private

◆ mpBgCollider

dBgW* daTbox_c::mpBgCollider
private

◆ mpEffectAnm

mDoExt_brkAnm* daTbox_c::mpEffectAnm
private

◆ mpEffectModel

J3DModel* daTbox_c::mpEffectModel
private

◆ mPhase

request_of_phase_process_class daTbox_c::mPhase
private

◆ mpModel

J3DModel* daTbox_c::mpModel
private

◆ mpOpenBgW

dBgW* daTbox_c::mpOpenBgW
private

◆ mpSlimeModel

J3DModel* daTbox_c::mpSlimeModel
private

◆ mRotAxis

cXyz daTbox_c::mRotAxis
private

◆ mStaffId

int daTbox_c::mStaffId
private

◆ mTboxNo

u8 daTbox_c::mTboxNo
private

◆ mTimer

u8 daTbox_c::mTimer
private

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