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

Classes

struct  field_data_header
 
struct  field_data
 

Functions

BOOL dComIfGp_checkItemGet (u8 i_itemNo, int param_1)
 
void dComIfG_get_timelayer (int *o_layer)
 
int dComIfG_changeOpeningScene (scene_class *i_scene, s16 i_procName)
 
BOOL dComIfG_resetToOpening (scene_class *i_scene)
 
static int phase_1 (char *i_arcName)
 
static int phase_2 (char *i_arcName)
 
static int phase_3 (char *)
 
int dComIfG_resLoad (request_of_phase_process_class *i_phase, char const *i_arcName)
 
static int phase_01 (phaseParam_c *i_phasePrm)
 
static int phase_02 (phaseParam_c *i_phasePrm)
 
static int phase_03 (phaseParam_c *)
 
int dComIfG_resLoad (request_of_phase_process_class *i_phase, char const *i_resName, JKRHeap *i_heap)
 
int dComIfG_resDelete (request_of_phase_process_class *i_phase, char const *i_resName)
 
s8 dComIfGp_getReverb (int i_roomNo)
 
int dComIfGd_setSimpleShadow (cXyz *i_pos, f32 param_1, f32 param_2, cBgS_PolyInfo &param_3, s16 i_angle, f32 param_5, GXTexObj *i_tex)
 
bool dComIfGp_getMapTrans (int i_roomNo, f32 *o_transX, f32 *o_transY, s16 *o_angle)
 
stage_camera_classdComIfGp_getRoomCamera (int i_roomNo)
 
stage_arrow_classdComIfGp_getRoomArrow (int i_roomNo)
 
void dComIfGp_setNextStage (char const *i_stage, s16 i_point, s8 i_roomNo, s8 i_layer, f32 i_lastSpeed, u32 i_lastMode, int i_setPoint, s8 i_wipe, s16 i_lastAngle, int param_9, int i_wipeSpeedT)
 
void dComIfGp_setNextStage (char const *i_stage, s16 i_point, s8 i_roomNo, s8 i_layer)
 
BOOL dComIfGs_isStageTbox (int i_stageNo, int i_no)
 
void dComIfGs_onStageSwitch (int i_stageNo, int i_no)
 
void dComIfGs_offStageSwitch (int i_stageNo, int i_no)
 
BOOL dComIfGs_isStageSwitch (int i_stageNo, int i_no)
 
void dComIfGs_onStageBossEnemy (int i_stageNo)
 
s32 dComIfGs_isDungeonItemWarp (int i_stageNo)
 
void dComIfGs_BossLife_public_Set (s8 param_0)
 
s8 dComIfGs_BossLife_public_Get ()
 
void dComIfGs_sense_type_change_Set (s8 param_0)
 
s8 dComIfGs_sense_type_change_Get ()
 
void dComIfGs_onZoneSwitch (int i_swBit, int i_roomNo)
 
void dComIfGs_offZoneSwitch (int i_swBit, int i_roomNo)
 
BOOL dComIfGs_isZoneSwitch (int i_swBit, int i_roomNo)
 
void dComIfGs_onOneZoneSwitch (int i_swBit, int i_roomNo)
 
void dComIfGs_offOneZoneSwitch (int i_swBit, int i_roomNo)
 
BOOL dComIfGs_isOneZoneSwitch (int i_swBit, int i_roomNo)
 
BOOL dComIfGs_isZoneItem (int i_swBit, int i_roomNo)
 
BOOL dComIfGs_isOneZoneItem (int i_swBit, int i_roomNo)
 
u16 dComIfGs_getMaxLifeGauge ()
 
void dComIfGs_setSelectItemIndex (int i_no, u8 i_slotNo)
 
void dComIfGs_setMixItemIndex (int i_no, u8 i_slotNo)
 
u8 dComIfGs_getSelectMixItemNoArrowIndex (int i_selmixItemIdx)
 
u8 dComIfGs_getMixItemIndex (int i_no)
 
void dComIfGp_setSelectItem (int i_selItemIdx)
 
u8 dComIfGp_getSelectItem (int i_selItemIdx)
 
void dComIfGp_mapShow ()
 
void dComIfGp_mapHide ()
 
bool dComIfGp_checkMapShow ()
 
s32 dComIfGp_setHeapLockFlag (u8 flag)
 
s32 dComIfGp_offHeapLockFlag (int flag)
 
void dComIfGp_createSubExpHeap2D ()
 
void dComIfGp_destroySubExpHeap2D ()
 
int dComIfGp_checkEmptySubHeap2D ()
 
int dComIfGp_searchUseSubHeap2D (int flag)
 
JKRExpHeapdComIfGp_getSubHeap2D (int flag)
 
u8 dComIfGs_checkGetInsectNum ()
 
u8 dComIfGs_checkGetItem (u8 i_itemNo)
 
u8 dComIfGs_getBottleMax ()
 
s16 dComIfGp_getSelectItemNum (int i_selItemIdx)
 
int dComIfGp_getSelectItemMaxNum (int i_selItemIdx)
 
void dComIfGp_setSelectItemNum (int i_selItemIdx, s16 i_num)
 
void dComIfGp_addSelectItemNum (int i_selItemIdx, s16 i_num)
 
int dComIfGd_setShadow (u32 param_0, s8 param_1, J3DModel *param_2, cXyz *param_3, f32 param_4, f32 param_5, f32 param_6, f32 param_7, cBgS_PolyInfo &param_8, dKy_tevstr_c *param_9, s16 param_10, f32 param_11, _GXTexObj *param_12)
 
void dComIfGs_gameStart ()
 
u32 dComIfG_getTrigA (u32 i_padNo)
 
void dComIfGp_calcNowRegion ()
 
u8 dComIfG_getNowCalcRegion ()
 
bool dComIfGp_isLightDropMapVisible ()
 
u8 dComIfGp_getNowLevel ()
 
void dComIfGs_setSelectEquipClothes (u8 i_itemNo)
 
void dComIfGs_setSelectEquipSword (u8 i_itemNo)
 
void dComIfGs_setSelectEquipShield (u8 i_itemNo)
 
void dComIfGs_setKeyNum (int i_stageNo, u8 i_keyNum)
 
static void dComIfGs_setWarpItemData (int, char const *i_stage, cXyz i_pos, s16 i_angle, s8 i_roomNo, u8 param_5, u8 param_6)
 
void dComIfGs_setWarpItemData (char const *i_stage, cXyz i_pos, s16 i_angle, s8 i_roomNo, u8 param_4, u8 param_5)
 
void dComIfGs_setLastWarpMarkItemData (const char *i_stage, cXyz i_pos, s16 i_angle, s8 i_roomNo, u8 param_4, u8 param_5)
 
const chardComIfGs_getWarpStageName ()
 
cXyzdComIfGs_getWarpPlayerPos ()
 
s16 dComIfGs_getWarpPlayerAngleY ()
 
s8 dComIfGs_getWarpRoomNo ()
 
bool dComIfGs_getWarpMarkFlag ()
 
void dComIfGs_setWarpMarkFlag (u8)
 
voiddComIfG_getStageRes (char const *i_resName)
 
voiddComIfG_getOldStageRes (char const *i_resName)
 
chardComIfG_getRoomArcName (int i_roomNo)
 
void dComIfGp_ret_wp_set (s8)
 
void dComIfGp_world_dark_set (u8 param_0)
 
u8 dComIfGp_world_dark_get ()
 
int dComIfG_TimerStart (int i_mode, s16 i_time)
 
int dComIfG_TimerStop (int i_mode)
 
int dComIfG_TimerReStart (int i_mode)
 
int dComIfG_TimerEnd (int i_mode, int param_1)
 
int dComIfG_TimerDeleteCheck (int i_mode)
 
int dComIfG_TimerDeleteRequest (int i_mode)
 
BOOL dComIfGs_Wolf_Change_Check ()
 
void dComIfGs_PolyDamageOff_Set (s8 i_setting)
 
s8 dComIfGs_PolyDamageOff_Check ()
 
void dComIfGs_shake_kandelaar ()
 
bool dComIfGs_shake_kandelaar_check ()
 
BOOL dComIfGs_wolfeye_effect_check ()
 
void dComIfGs_Grass_hide_Set (s8 param_0)
 
void dComIfGp_TargetWarpPt_set (u8 param_0)
 
void dComIfGp_SelectWarpPt_set (u8 param_0)
 
u8 dComIfGp_TargetWarpPt_get ()
 
u8 dComIfGp_SelectWarpPt_get ()
 
BOOL dComIfGp_TransportWarp_check ()
 
int dComLbG_PhaseHandler (request_of_phase_process_class *i_phaseReq, cPhs__Handler *i_handler, void *i_data)
 
void dComIfGs_onVisitedRoom (int i_roomNo)
 
void dComIfGs_offVisitedRoom (int i_roomNo)
 
BOOL dComIfGs_isVisitedRoom (int param_0)
 
void dComIfGs_staffroll_next_go ()
 
u8 dComIfGs_staffroll_next_go_check ()
 

Variables

static __d_timer_info_c dComIfG_mTimerInfo
 
dComIfG_inf_c g_dComIfG_gameInfo
 
GXColor g_clearColor = {0, 0, 0, 0}
 
GXColor g_blackColor = {0, 0, 0, 255}
 
GXColor g_whiteColor = {255, 255, 255, 255}
 
GXColor g_saftyWhiteColor = {160, 160, 160, 255}
 

Function Documentation

◆ dComIfG_changeOpeningScene()

int dComIfG_changeOpeningScene ( scene_class i_scene,
s16  i_procName 
)

◆ dComIfG_get_timelayer()

void dComIfG_get_timelayer ( int o_layer)

◆ dComIfG_getNowCalcRegion()

u8 dComIfG_getNowCalcRegion ( )

◆ dComIfG_getOldStageRes()

void * dComIfG_getOldStageRes ( char const i_resName)

◆ dComIfG_getRoomArcName()

char * dComIfG_getRoomArcName ( int  i_roomNo)

◆ dComIfG_getStageRes()

void * dComIfG_getStageRes ( char const i_resName)

◆ dComIfG_getTrigA()

u32 dComIfG_getTrigA ( u32  i_padNo)

◆ dComIfG_resDelete()

int dComIfG_resDelete ( request_of_phase_process_class i_phase,
char const i_resName 
)

◆ dComIfG_resetToOpening()

BOOL dComIfG_resetToOpening ( scene_class i_scene)

◆ dComIfG_resLoad() [1/2]

int dComIfG_resLoad ( request_of_phase_process_class i_phase,
char const i_arcName 
)

◆ dComIfG_resLoad() [2/2]

int dComIfG_resLoad ( request_of_phase_process_class i_phase,
char const i_resName,
JKRHeap i_heap 
)

◆ dComIfG_TimerDeleteCheck()

int dComIfG_TimerDeleteCheck ( int  i_mode)

◆ dComIfG_TimerDeleteRequest()

int dComIfG_TimerDeleteRequest ( int  i_mode)

◆ dComIfG_TimerEnd()

int dComIfG_TimerEnd ( int  i_mode,
int  param_1 
)

◆ dComIfG_TimerReStart()

int dComIfG_TimerReStart ( int  i_mode)

◆ dComIfG_TimerStart()

int dComIfG_TimerStart ( int  i_mode,
s16  i_time 
)

◆ dComIfG_TimerStop()

int dComIfG_TimerStop ( int  i_mode)

◆ dComIfGd_setShadow()

int dComIfGd_setShadow ( u32  param_0,
s8  param_1,
J3DModel param_2,
cXyz param_3,
f32  param_4,
f32  param_5,
f32  param_6,
f32  param_7,
cBgS_PolyInfo param_8,
dKy_tevstr_c param_9,
s16  param_10,
f32  param_11,
_GXTexObj param_12 
)

◆ dComIfGd_setSimpleShadow()

int dComIfGd_setSimpleShadow ( cXyz i_pos,
f32  param_1,
f32  param_2,
cBgS_PolyInfo param_3,
s16  i_angle,
f32  param_5,
GXTexObj i_tex 
)

◆ dComIfGp_addSelectItemNum()

void dComIfGp_addSelectItemNum ( int  i_selItemIdx,
s16  i_num 
)

◆ dComIfGp_calcNowRegion()

void dComIfGp_calcNowRegion ( )

◆ dComIfGp_checkEmptySubHeap2D()

int dComIfGp_checkEmptySubHeap2D ( )

◆ dComIfGp_checkItemGet()

BOOL dComIfGp_checkItemGet ( u8  i_itemNo,
int  param_1 
)

◆ dComIfGp_checkMapShow()

bool dComIfGp_checkMapShow ( )

◆ dComIfGp_createSubExpHeap2D()

void dComIfGp_createSubExpHeap2D ( )

◆ dComIfGp_destroySubExpHeap2D()

void dComIfGp_destroySubExpHeap2D ( )

◆ dComIfGp_getMapTrans()

bool dComIfGp_getMapTrans ( int  i_roomNo,
f32 o_transX,
f32 o_transY,
s16 o_angle 
)

◆ dComIfGp_getNowLevel()

u8 dComIfGp_getNowLevel ( )

◆ dComIfGp_getReverb()

s8 dComIfGp_getReverb ( int  i_roomNo)

◆ dComIfGp_getRoomArrow()

stage_arrow_class * dComIfGp_getRoomArrow ( int  i_roomNo)

◆ dComIfGp_getRoomCamera()

stage_camera_class * dComIfGp_getRoomCamera ( int  i_roomNo)

◆ dComIfGp_getSelectItem()

u8 dComIfGp_getSelectItem ( int  i_selItemIdx)

◆ dComIfGp_getSelectItemMaxNum()

int dComIfGp_getSelectItemMaxNum ( int  i_selItemIdx)

◆ dComIfGp_getSelectItemNum()

s16 dComIfGp_getSelectItemNum ( int  i_selItemIdx)

◆ dComIfGp_getSubHeap2D()

JKRExpHeap * dComIfGp_getSubHeap2D ( int  flag)

◆ dComIfGp_isLightDropMapVisible()

bool dComIfGp_isLightDropMapVisible ( )

◆ dComIfGp_mapHide()

void dComIfGp_mapHide ( )

◆ dComIfGp_mapShow()

void dComIfGp_mapShow ( )

◆ dComIfGp_offHeapLockFlag()

s32 dComIfGp_offHeapLockFlag ( int  flag)

◆ dComIfGp_ret_wp_set()

void dComIfGp_ret_wp_set ( s8  )

◆ dComIfGp_searchUseSubHeap2D()

int dComIfGp_searchUseSubHeap2D ( int  flag)

◆ dComIfGp_SelectWarpPt_get()

u8 dComIfGp_SelectWarpPt_get ( )

◆ dComIfGp_SelectWarpPt_set()

void dComIfGp_SelectWarpPt_set ( u8  param_0)

◆ dComIfGp_setHeapLockFlag()

s32 dComIfGp_setHeapLockFlag ( u8  flag)

◆ dComIfGp_setNextStage() [1/2]

void dComIfGp_setNextStage ( char const i_stage,
s16  i_point,
s8  i_roomNo,
s8  i_layer 
)

◆ dComIfGp_setNextStage() [2/2]

void dComIfGp_setNextStage ( char const i_stage,
s16  i_point,
s8  i_roomNo,
s8  i_layer,
f32  i_lastSpeed,
u32  i_lastMode,
int  i_setPoint,
s8  i_wipe,
s16  i_lastAngle,
int  param_9,
int  i_wipeSpeedT 
)

◆ dComIfGp_setSelectItem()

void dComIfGp_setSelectItem ( int  i_selItemIdx)

◆ dComIfGp_setSelectItemNum()

void dComIfGp_setSelectItemNum ( int  i_selItemIdx,
s16  i_num 
)

◆ dComIfGp_TargetWarpPt_get()

u8 dComIfGp_TargetWarpPt_get ( )

◆ dComIfGp_TargetWarpPt_set()

void dComIfGp_TargetWarpPt_set ( u8  param_0)

◆ dComIfGp_TransportWarp_check()

BOOL dComIfGp_TransportWarp_check ( )

◆ dComIfGp_world_dark_get()

u8 dComIfGp_world_dark_get ( )

◆ dComIfGp_world_dark_set()

void dComIfGp_world_dark_set ( u8  param_0)

◆ dComIfGs_BossLife_public_Get()

s8 dComIfGs_BossLife_public_Get ( )

◆ dComIfGs_BossLife_public_Set()

void dComIfGs_BossLife_public_Set ( s8  param_0)

◆ dComIfGs_checkGetInsectNum()

u8 dComIfGs_checkGetInsectNum ( )

◆ dComIfGs_checkGetItem()

u8 dComIfGs_checkGetItem ( u8  i_itemNo)

◆ dComIfGs_gameStart()

void dComIfGs_gameStart ( )

◆ dComIfGs_getBottleMax()

u8 dComIfGs_getBottleMax ( )

◆ dComIfGs_getMaxLifeGauge()

u16 dComIfGs_getMaxLifeGauge ( )

◆ dComIfGs_getMixItemIndex()

u8 dComIfGs_getMixItemIndex ( int  i_no)

◆ dComIfGs_getSelectMixItemNoArrowIndex()

u8 dComIfGs_getSelectMixItemNoArrowIndex ( int  i_selmixItemIdx)

◆ dComIfGs_getWarpMarkFlag()

bool dComIfGs_getWarpMarkFlag ( )

◆ dComIfGs_getWarpPlayerAngleY()

s16 dComIfGs_getWarpPlayerAngleY ( )

◆ dComIfGs_getWarpPlayerPos()

cXyz & dComIfGs_getWarpPlayerPos ( )

◆ dComIfGs_getWarpRoomNo()

s8 dComIfGs_getWarpRoomNo ( )

◆ dComIfGs_getWarpStageName()

const char * dComIfGs_getWarpStageName ( )

◆ dComIfGs_Grass_hide_Set()

void dComIfGs_Grass_hide_Set ( s8  param_0)

◆ dComIfGs_isDungeonItemWarp()

s32 dComIfGs_isDungeonItemWarp ( int  i_stageNo)

◆ dComIfGs_isOneZoneItem()

BOOL dComIfGs_isOneZoneItem ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_isOneZoneSwitch()

BOOL dComIfGs_isOneZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_isStageSwitch()

BOOL dComIfGs_isStageSwitch ( int  i_stageNo,
int  i_no 
)

◆ dComIfGs_isStageTbox()

BOOL dComIfGs_isStageTbox ( int  i_stageNo,
int  i_no 
)

◆ dComIfGs_isVisitedRoom()

BOOL dComIfGs_isVisitedRoom ( int  param_0)

◆ dComIfGs_isZoneItem()

BOOL dComIfGs_isZoneItem ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_isZoneSwitch()

BOOL dComIfGs_isZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_offOneZoneSwitch()

void dComIfGs_offOneZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_offStageSwitch()

void dComIfGs_offStageSwitch ( int  i_stageNo,
int  i_no 
)

◆ dComIfGs_offVisitedRoom()

void dComIfGs_offVisitedRoom ( int  i_roomNo)

◆ dComIfGs_offZoneSwitch()

void dComIfGs_offZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_onOneZoneSwitch()

void dComIfGs_onOneZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_onStageBossEnemy()

void dComIfGs_onStageBossEnemy ( int  i_stageNo)

◆ dComIfGs_onStageSwitch()

void dComIfGs_onStageSwitch ( int  i_stageNo,
int  i_no 
)

◆ dComIfGs_onVisitedRoom()

void dComIfGs_onVisitedRoom ( int  i_roomNo)

◆ dComIfGs_onZoneSwitch()

void dComIfGs_onZoneSwitch ( int  i_swBit,
int  i_roomNo 
)

◆ dComIfGs_PolyDamageOff_Check()

s8 dComIfGs_PolyDamageOff_Check ( )

◆ dComIfGs_PolyDamageOff_Set()

void dComIfGs_PolyDamageOff_Set ( s8  i_setting)

◆ dComIfGs_sense_type_change_Get()

s8 dComIfGs_sense_type_change_Get ( )

◆ dComIfGs_sense_type_change_Set()

void dComIfGs_sense_type_change_Set ( s8  param_0)

◆ dComIfGs_setKeyNum()

void dComIfGs_setKeyNum ( int  i_stageNo,
u8  i_keyNum 
)

◆ dComIfGs_setLastWarpMarkItemData()

void dComIfGs_setLastWarpMarkItemData ( const char i_stage,
cXyz  i_pos,
s16  i_angle,
s8  i_roomNo,
u8  param_4,
u8  param_5 
)

◆ dComIfGs_setMixItemIndex()

void dComIfGs_setMixItemIndex ( int  i_no,
u8  i_slotNo 
)

◆ dComIfGs_setSelectEquipClothes()

void dComIfGs_setSelectEquipClothes ( u8  i_itemNo)

◆ dComIfGs_setSelectEquipShield()

void dComIfGs_setSelectEquipShield ( u8  i_itemNo)

◆ dComIfGs_setSelectEquipSword()

void dComIfGs_setSelectEquipSword ( u8  i_itemNo)

◆ dComIfGs_setSelectItemIndex()

void dComIfGs_setSelectItemIndex ( int  i_no,
u8  i_slotNo 
)

◆ dComIfGs_setWarpItemData() [1/2]

void dComIfGs_setWarpItemData ( char const i_stage,
cXyz  i_pos,
s16  i_angle,
s8  i_roomNo,
u8  param_4,
u8  param_5 
)

◆ dComIfGs_setWarpItemData() [2/2]

static void dComIfGs_setWarpItemData ( int  ,
char const i_stage,
cXyz  i_pos,
s16  i_angle,
s8  i_roomNo,
u8  param_5,
u8  param_6 
)
static

◆ dComIfGs_setWarpMarkFlag()

void dComIfGs_setWarpMarkFlag ( u8  )

◆ dComIfGs_shake_kandelaar()

void dComIfGs_shake_kandelaar ( )

◆ dComIfGs_shake_kandelaar_check()

bool dComIfGs_shake_kandelaar_check ( )

◆ dComIfGs_staffroll_next_go()

void dComIfGs_staffroll_next_go ( )

◆ dComIfGs_staffroll_next_go_check()

u8 dComIfGs_staffroll_next_go_check ( )

◆ dComIfGs_Wolf_Change_Check()

BOOL dComIfGs_Wolf_Change_Check ( )

◆ dComIfGs_wolfeye_effect_check()

BOOL dComIfGs_wolfeye_effect_check ( )

◆ dComLbG_PhaseHandler()

int dComLbG_PhaseHandler ( request_of_phase_process_class i_phaseReq,
cPhs__Handler i_handler,
void i_data 
)

◆ phase_01()

static int phase_01 ( phaseParam_c i_phasePrm)
static

◆ phase_02()

static int phase_02 ( phaseParam_c i_phasePrm)
static

◆ phase_03()

static int phase_03 ( phaseParam_c )
static

◆ phase_1()

static int phase_1 ( char i_arcName)
static

◆ phase_2()

static int phase_2 ( char i_arcName)
static

◆ phase_3()

static int phase_3 ( char )
static

Variable Documentation

◆ dComIfG_mTimerInfo

__d_timer_info_c dComIfG_mTimerInfo
static

◆ g_blackColor

GXColor g_blackColor = {0, 0, 0, 255}

◆ g_clearColor

GXColor g_clearColor = {0, 0, 0, 0}

◆ g_dComIfG_gameInfo

dComIfG_inf_c g_dComIfG_gameInfo

◆ g_saftyWhiteColor

GXColor g_saftyWhiteColor = {160, 160, 160, 255}

◆ g_whiteColor

GXColor g_whiteColor = {255, 255, 255, 255}