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

Enumerations

enum  SpecialType {
  CAM_TYPE_FIELD_S , CAM_TYPE_EVENT , CAM_TYPE_WATER , CAM_TYPE_SCOPE ,
  CAM_TYPE_CANOE , CAM_TYPE_HORSE_T , CAM_TYPE_BOARD , CAM_TYPE_07 ,
  CAM_TYPE_KEEP , CAM_TYPE_RODEO , CAM_TYPE_MAGNE_BOOTS , CAM_TYPE_MAGNE_WALL ,
  CAM_TYPE_MAGNE_ROOF , CAM_TYPE_WATER_SURF , CAM_TYPE_ROTARY , CAM_TYPE_STREET ,
  CAM_TYPE_STREET_N , CAM_TYPE_STREET_P , CAM_TYPE_RAMPART_2 , CAM_TYPE_ALLAY ,
  CAM_TYPE_ALLAY_R , CAM_TYPE_ALLAY_R2 , CAM_TYPE_ALLAY_S , CAM_TYPE_ALLAY_N ,
  CAM_TYPE_ALLAY_R3 , CAM_TYPE_HOOK_WALL , CAM_TYPE_HOOK_ROOF , CAM_TYPE_HOOK_ACTOR ,
  CAM_TYPE_SPINNER , CAM_TYPE_GORON_JUMP , CAM_TYPE_GOAT_BATTLE , CAM_TYPE_BOAR ,
  CAM_TYPE_COCCO_JUMP , CAM_TYPE_ROOF_HUNG , CAM_TYPE_COPY_ROD_HALL , CAM_TYPE_MIDNA_TAG ,
  CAM_TYPE_WARP_OBJ , CAM_TYPE_LV9_GZELDA_TRI , CAM_TYPE_TEPPEI_HOOK , CAM_TYPE_LV4_BOSS_SPJP ,
  CAM_TYPE_LV7_BOSS , CAM_TYPE_PEEP
}
 

Functions

static void sph_chk_callback (dBgS_SphChk *i_sphChk, cBgD_Vtx_t *i_vtxTbl, int i_vtxIdx0, int i_vtxIdx1, int i_vtxIdx2, cM3dGPla *i_plane, void *i_data)
 
s16 dCam_getAngleY (camera_class *i_cam)
 
s16 dCam_getAngleX (camera_class *i_cam)
 
s16 dCam_getControledAngleY (camera_class *i_cam)
 
camera_classdCam_getCamera ()
 
dCamera_cdCam_getBody ()
 
static void preparation (camera_process_class *i_this)
 
static void view_setup (camera_process_class *i_this)
 
static void store (camera_process_class *i_camera)
 
static int camera_execute (camera_process_class *i_this)
 
static int camera_draw (camera_process_class *i_this)
 
static int init_phase1 (camera_class *i_this)
 
static int init_phase2 (camera_class *i_this)
 
static int camera_create (camera_class *i_this)
 
static int camera_delete (camera_process_class *i_this)
 
static int is_camera_delete (void *i_this)
 

Variables

static const int PatternLengthMax [] = {0x00000004}
 
static leafdraw_method_class method
 
camera_process_profile_definition g_profile_CAMERA
 
camera_process_profile_definition g_profile_CAMERA2
 

Enumeration Type Documentation

◆ SpecialType

Enumerator
CAM_TYPE_FIELD_S 
CAM_TYPE_EVENT 
CAM_TYPE_WATER 
CAM_TYPE_SCOPE 
CAM_TYPE_CANOE 
CAM_TYPE_HORSE_T 
CAM_TYPE_BOARD 
CAM_TYPE_07 
CAM_TYPE_KEEP 
CAM_TYPE_RODEO 
CAM_TYPE_MAGNE_BOOTS 
CAM_TYPE_MAGNE_WALL 
CAM_TYPE_MAGNE_ROOF 
CAM_TYPE_WATER_SURF 
CAM_TYPE_ROTARY 
CAM_TYPE_STREET 
CAM_TYPE_STREET_N 
CAM_TYPE_STREET_P 
CAM_TYPE_RAMPART_2 
CAM_TYPE_ALLAY 
CAM_TYPE_ALLAY_R 
CAM_TYPE_ALLAY_R2 
CAM_TYPE_ALLAY_S 
CAM_TYPE_ALLAY_N 
CAM_TYPE_ALLAY_R3 
CAM_TYPE_HOOK_WALL 
CAM_TYPE_HOOK_ROOF 
CAM_TYPE_HOOK_ACTOR 
CAM_TYPE_SPINNER 
CAM_TYPE_GORON_JUMP 
CAM_TYPE_GOAT_BATTLE 
CAM_TYPE_BOAR 
CAM_TYPE_COCCO_JUMP 
CAM_TYPE_ROOF_HUNG 
CAM_TYPE_COPY_ROD_HALL 
CAM_TYPE_MIDNA_TAG 
CAM_TYPE_WARP_OBJ 
CAM_TYPE_LV9_GZELDA_TRI 
CAM_TYPE_TEPPEI_HOOK 
CAM_TYPE_LV4_BOSS_SPJP 
CAM_TYPE_LV7_BOSS 
CAM_TYPE_PEEP 

Function Documentation

◆ camera_create()

static int camera_create ( camera_class * i_this)
static

◆ camera_delete()

static int camera_delete ( camera_process_class * i_this)
static

◆ camera_draw()

static int camera_draw ( camera_process_class * i_this)
static

◆ camera_execute()

static int camera_execute ( camera_process_class * i_this)
static

◆ dCam_getAngleX()

s16 dCam_getAngleX ( camera_class * i_cam)

◆ dCam_getAngleY()

s16 dCam_getAngleY ( camera_class * i_cam)

◆ dCam_getBody()

dCamera_c * dCam_getBody ( )

◆ dCam_getCamera()

camera_class * dCam_getCamera ( )

◆ dCam_getControledAngleY()

s16 dCam_getControledAngleY ( camera_class * i_cam)

◆ init_phase1()

static int init_phase1 ( camera_class * i_this)
static

◆ init_phase2()

static int init_phase2 ( camera_class * i_this)
static

◆ is_camera_delete()

static int is_camera_delete ( void * i_this)
static

◆ preparation()

static void preparation ( camera_process_class * i_this)
static

◆ sph_chk_callback()

static void sph_chk_callback ( dBgS_SphChk * i_sphChk,
cBgD_Vtx_t * i_vtxTbl,
int i_vtxIdx0,
int i_vtxIdx1,
int i_vtxIdx2,
cM3dGPla * i_plane,
void * i_data )
static

◆ store()

static void store ( camera_process_class * i_camera)
static

◆ view_setup()

static void view_setup ( camera_process_class * i_this)
static

Variable Documentation

◆ g_profile_CAMERA

camera_process_profile_definition g_profile_CAMERA
extern
Initial value:
= {
11,
sizeof(dCamera_c),
0,
0,
0,
0,
0,
0,
0,
0,
0,
}
Definition d_camera.h:145
static leafdraw_method_class method
Definition d_camera.cpp:10066
@ PROC_CAMERA
Definition d_procname.h:790
leafdraw_method_class g_fopCam_Method
Definition f_op_camera.cpp:73
leafdraw_method_class g_fopVw_Method
Definition f_op_view.cpp:36
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
leafdraw_method_class g_fpcLf_Method
Definition f_pc_leaf.cpp:63
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8
process_method_class base
Definition f_pc_leaf.h:12

◆ g_profile_CAMERA2

camera_process_profile_definition g_profile_CAMERA2
extern
Initial value:
= {
11,
sizeof(dCamera_c),
0,
0,
1,
0,
0,
0,
0,
0,
0,
}
@ PROC_CAMERA2
Definition d_procname.h:791

◆ method

leafdraw_method_class method
static
Initial value:
= {
}
static int camera_delete(camera_process_class *i_this)
Definition d_camera.cpp:10011
static int camera_execute(camera_process_class *i_this)
Definition d_camera.cpp:9845
static int is_camera_delete(void *i_this)
Definition d_camera.cpp:10024
static int camera_create(camera_class *i_this)
Definition d_camera.cpp:10001
static int camera_draw(camera_process_class *i_this)
Definition d_camera.cpp:9868
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ PatternLengthMax

const int PatternLengthMax[] = {0x00000004}
static