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

#include <d_a_obj_movebox.h>

+ Collaboration diagram for daObjMovebox::Bgc_c:

Public Types

enum  State_e {
  STATE_0_e = 0x0 , STATE_1_e = 0x1 , STATE_2_e = 0x2 , STATE_4_e = 0x4 ,
  STATE_8_e = 0x8 , STATE_10_e = 0x10 , STATE_20_e = 0x20 , STATE_40_e = 0x40
}
 

Public Member Functions

 Bgc_c ()
 
void gnd_pos (daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, f32)
 
void wrt_pos (cXyz const &)
 
void wall_pos (daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16, f32)
 
void proc_vertical (daObjMovebox::Act_c *)
 
bool chk_wall_pre (daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16)
 
bool chk_wall_touch (daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, s16)
 
bool chk_wall_touch2 (daObjMovebox::Act_c const *, daObjMovebox::BgcSrc_c const *, int, s16)
 

Public Attributes

f32 field_0x0 [23]
 
int field_0x5c
 
f32 field_0x60
 
cXyz field_0x64 [23]
 
int field_0x178
 
f32 field_0x17c
 
State_e mState
 

Static Public Attributes

static const daObjMovebox::BgcSrc_c M_lin5 []
 
static const daObjMovebox::BgcSrc_c M_lin20 []
 
static dBgS_ObjGndChk M_gnd_work [23]
 
static dBgS_WtrChk M_wrt_work
 
static dBgS_ObjLinChk M_wall_work [23]
 

Member Enumeration Documentation

◆ State_e

Enumerator
STATE_0_e 
STATE_1_e 
STATE_2_e 
STATE_4_e 
STATE_8_e 
STATE_10_e 
STATE_20_e 
STATE_40_e 

Constructor & Destructor Documentation

◆ Bgc_c()

daObjMovebox::Bgc_c::Bgc_c ( )

Member Function Documentation

◆ chk_wall_pre()

bool daObjMovebox::Bgc_c::chk_wall_pre ( daObjMovebox::Act_c const i_actor,
daObjMovebox::BgcSrc_c const i_bgcSrc,
int  i_num,
s16  param_3 
)

◆ chk_wall_touch()

bool daObjMovebox::Bgc_c::chk_wall_touch ( daObjMovebox::Act_c const i_actor,
daObjMovebox::BgcSrc_c const i_bgcSrc,
s16  param_2 
)

◆ chk_wall_touch2()

bool daObjMovebox::Bgc_c::chk_wall_touch2 ( daObjMovebox::Act_c const i_actor,
daObjMovebox::BgcSrc_c const i_bgcSrc,
int  i_num,
s16  param_3 
)

◆ gnd_pos()

void daObjMovebox::Bgc_c::gnd_pos ( daObjMovebox::Act_c const ,
daObjMovebox::BgcSrc_c const ,
int  ,
f32   
)

◆ proc_vertical()

void daObjMovebox::Bgc_c::proc_vertical ( daObjMovebox::Act_c i_actor)

◆ wall_pos()

void daObjMovebox::Bgc_c::wall_pos ( daObjMovebox::Act_c const i_actor,
daObjMovebox::BgcSrc_c const i_bgcSrc,
int  i_num,
s16  param_3,
f32  param_4 
)

◆ wrt_pos()

void daObjMovebox::Bgc_c::wrt_pos ( cXyz const param_0)

Member Data Documentation

◆ field_0x0

f32 daObjMovebox::Bgc_c::field_0x0[23]

◆ field_0x178

int daObjMovebox::Bgc_c::field_0x178

◆ field_0x17c

f32 daObjMovebox::Bgc_c::field_0x17c

◆ field_0x5c

int daObjMovebox::Bgc_c::field_0x5c

◆ field_0x60

f32 daObjMovebox::Bgc_c::field_0x60

◆ field_0x64

cXyz daObjMovebox::Bgc_c::field_0x64[23]

◆ M_gnd_work

dBgS_ObjGndChk daObjMovebox::Bgc_c::M_gnd_work[23]
static

◆ M_lin20

const daObjMovebox::BgcSrc_c daObjMovebox::Bgc_c::M_lin20
static
Initial value:
= {
{0.0f, 0.0f, 0.0f, 0.0f}, {-0.25f, -0.25f, 0.0f, 0.0f}, {-0.5f, -0.5f, 1.0f, 1.0f},
{0.0f, -0.5f, -1.0f, 1.0f}, {0.0f, 0.0f, -1.0f, -1.0f}, {-0.5f, 0.0f, 1.0f, -1.0f},
{0.25f, -0.25f, 0.0f, 0.0f}, {0.0f, -0.5f, 1.0f, 1.0f}, {0.5f, -0.5f, -1.0f, 1.0f},
{0.5f, 0.0f, -1.0f, -1.0f}, {0.0f, 0.0f, 1.0f, -1.0f}, {0.25f, 0.25f, 0.0f, 0.0f},
{0.0f, 0.0f, 1.0f, 1.0f}, {0.5f, 0.0f, -1.0f, 1.0f}, {0.5f, 0.5f, -1.0f, -1.0f},
{0.0f, 0.5f, 1.0f, -1.0f}, {-0.25f, 0.25f, 0.0f, 0.0f}, {-0.5f, 0.0f, 1.0f, 1.0f},
{0.0f, 0.0f, -1.0f, 1.0f}, {0.0f, 0.5f, -1.0f, -1.0f}, {-0.5f, 0.5f, 1.0f, -1.0f},
{-0.75f, 0.25f, 0.0f, 0.0f}, {-0.75f, -0.25f, 0.0f, 0.0f},
}

◆ M_lin5

UNK_REL_DATA const daObjMovebox::BgcSrc_c daObjMovebox::Bgc_c::M_lin5
static
Initial value:
= {
{0.0f, 0.0f, 0.0f, 0.0f}, {-0.5f, -0.5f, 1.0f, 1.0f}, {0.5f, -0.5f, -1.0f, 1.0f},
{0.5f, 0.5f, -1.0f, -1.0f}, {-0.5f, 0.5f, 1.0f, -1.0f},
}

◆ M_wall_work

dBgS_ObjLinChk daObjMovebox::Bgc_c::M_wall_work
static

◆ M_wrt_work

dBgS_WtrChk daObjMovebox::Bgc_c::M_wrt_work
static

◆ mState

State_e daObjMovebox::Bgc_c::mState

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