Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_bg_s.cpp File Reference

Classes

struct  cBgD_t_
 
struct  cBgD_Grp_t_
 

Functions

void dBgS_AabDraw (cM3dGAab &aab, GXColor &color)
 
static int white_draw (dBgS_CaptPoly *capt, cBgD_Vtx_t *vtxList, int v0, int v1, int v2, cM3dGPla *plane)
 
static int poly_draw (dBgS_CaptPoly *capt, cBgD_Vtx_t *vtxList, int v0, int v1, int v2, cM3dGPla *plane)
 
void dBgS_MoveBGProc_Typical (dBgW *pbgw, void *i_actor_ptr, const cBgS_PolyInfo &i_poly, bool param_3, cXyz *i_pos, csXyz *i_angle, csXyz *i_shapeAngle)
 
static void dBgS_MoveBGProc_RotY (dBgW *pbgw, void *i_actor_ptr, const cBgS_PolyInfo &i_poly, bool param_3, cXyz *i_pos, csXyz *i_angle, csXyz *i_shapeAngle)
 
void dBgS_MoveBGProc_TypicalRotY (dBgW *pbgw, void *i_actor_ptr, const cBgS_PolyInfo &i_poly, bool param_3, cXyz *i_pos, csXyz *i_angle, csXyz *i_shapeAngle)
 
void dBgS_MoveBGProc_Trans (dBgW *pbgw, void *i_actor_ptr, const cBgS_PolyInfo &i_poly, bool param_3, cXyz *i_pos, csXyz *i_angle, csXyz *i_shapeAngle)
 
bool dBgS_CheckBWallPoly (const cBgS_PolyInfo &polyinfo)
 
bool dBgS_CheckBGroundPoly (const cBgS_PolyInfo &polyinfo)
 
bool dBgS_CheckBRoofPoly (const cBgS_PolyInfo &polyinfo)
 
f32 dBgS_GetNY (const cBgS_PolyInfo &polyinfo)
 
static void dummy (dBgS &i_bgs)
 

Variables

int g_ground_counter
 
int g_line_counter
 
int g_acch_wall_counter
 
int g_roof_counter
 
int g_spl_counter
 
int g_shdw_counter
 
int g_sph_counter
 
int g_capt_poly_counter
 
static int l_SetCounter
 
u8 lbl_8074C7F0
 
static u8 lbl_8074C7F8
 
static OSStopwatch s_ground_sw
 
static OSStopwatch s_line_sw
 
static OSStopwatch s_wall_correct_sw
 
static OSStopwatch s_roof_sw
 
static OSStopwatch s_spl_sw
 
static OSStopwatch s_shdw_sw
 
static OSStopwatch s_sph_chk_sw
 
static OSStopwatch s_capt_poly_sw
 
static dBgS_InsideHIO s_InsideHio
 

Function Documentation

◆ dBgS_AabDraw()

void dBgS_AabDraw ( cM3dGAab & aab,
GXColor & color )

◆ dBgS_CheckBGroundPoly()

bool dBgS_CheckBGroundPoly ( const cBgS_PolyInfo & polyinfo)

◆ dBgS_CheckBRoofPoly()

bool dBgS_CheckBRoofPoly ( const cBgS_PolyInfo & polyinfo)

◆ dBgS_CheckBWallPoly()

bool dBgS_CheckBWallPoly ( const cBgS_PolyInfo & polyinfo)

◆ dBgS_GetNY()

f32 dBgS_GetNY ( const cBgS_PolyInfo & polyinfo)

◆ dBgS_MoveBGProc_RotY()

static void dBgS_MoveBGProc_RotY ( dBgW * pbgw,
void * i_actor_ptr,
const cBgS_PolyInfo & i_poly,
bool param_3,
cXyz * i_pos,
csXyz * i_angle,
csXyz * i_shapeAngle )
static

◆ dBgS_MoveBGProc_Trans()

void dBgS_MoveBGProc_Trans ( dBgW * pbgw,
void * i_actor_ptr,
const cBgS_PolyInfo & i_poly,
bool param_3,
cXyz * i_pos,
csXyz * i_angle,
csXyz * i_shapeAngle )

◆ dBgS_MoveBGProc_Typical()

void dBgS_MoveBGProc_Typical ( dBgW * pbgw,
void * i_actor_ptr,
const cBgS_PolyInfo & i_poly,
bool param_3,
cXyz * i_pos,
csXyz * i_angle,
csXyz * i_shapeAngle )

◆ dBgS_MoveBGProc_TypicalRotY()

void dBgS_MoveBGProc_TypicalRotY ( dBgW * pbgw,
void * i_actor_ptr,
const cBgS_PolyInfo & i_poly,
bool param_3,
cXyz * i_pos,
csXyz * i_angle,
csXyz * i_shapeAngle )

◆ dummy()

static void dummy ( dBgS & i_bgs)
static

◆ poly_draw()

static int poly_draw ( dBgS_CaptPoly * capt,
cBgD_Vtx_t * vtxList,
int v0,
int v1,
int v2,
cM3dGPla * plane )
static

◆ white_draw()

static int white_draw ( dBgS_CaptPoly * capt,
cBgD_Vtx_t * vtxList,
int v0,
int v1,
int v2,
cM3dGPla * plane )
static

Variable Documentation

◆ g_acch_wall_counter

int g_acch_wall_counter

◆ g_capt_poly_counter

int g_capt_poly_counter

◆ g_ground_counter

int g_ground_counter

d_bg_s.cpp Background (Map) Collision main handler

◆ g_line_counter

int g_line_counter

◆ g_roof_counter

int g_roof_counter

◆ g_shdw_counter

int g_shdw_counter

◆ g_sph_counter

int g_sph_counter

◆ g_spl_counter

int g_spl_counter

◆ l_SetCounter

int l_SetCounter
static

◆ lbl_8074C7F0

u8 lbl_8074C7F0

◆ lbl_8074C7F8

u8 lbl_8074C7F8
static

◆ s_capt_poly_sw

OSStopwatch s_capt_poly_sw
static

◆ s_ground_sw

OSStopwatch s_ground_sw
static

◆ s_InsideHio

dBgS_InsideHIO s_InsideHio
static

◆ s_line_sw

OSStopwatch s_line_sw
static

◆ s_roof_sw

OSStopwatch s_roof_sw
static

◆ s_shdw_sw

OSStopwatch s_shdw_sw
static

◆ s_sph_chk_sw

OSStopwatch s_sph_chk_sw
static

◆ s_spl_sw

OSStopwatch s_spl_sw
static

◆ s_wall_correct_sw

OSStopwatch s_wall_correct_sw
static