mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 07:25:22 -04:00
work on d_a_npc, d_a_npc_ash, d_a_tag_evtarea (#345)
All credit goes to randomsalience
This commit is contained in:
@@ -924,7 +924,7 @@ void dComIfGs_offZoneSwitch(int i_swBit, int i_roomNo);
|
||||
void dComIfGs_offOneZoneSwitch(int i_swBit, int i_roomNo);
|
||||
s8 dComIfGp_getReverb(int i_roomNo);
|
||||
void dComIfGs_gameStart();
|
||||
bool dComIfGs_wolfeye_effect_check();
|
||||
BOOL dComIfGs_wolfeye_effect_check();
|
||||
BOOL dComIfGs_Wolf_Change_Check();
|
||||
void dComIfGs_onVisitedRoom(int param_0);
|
||||
void dComIfGs_offVisitedRoom(int param_0);
|
||||
@@ -2883,22 +2883,22 @@ inline int dComIfGp_evmng_startDemo(int param_0) {
|
||||
return dComIfGp_getPEvtManager()->setStartDemo(param_0);
|
||||
}
|
||||
|
||||
inline void* dComIfGp_event_getTalkPartner() {
|
||||
inline fopAc_ac_c* dComIfGp_event_getTalkPartner() {
|
||||
u32 t = g_dComIfG_gameInfo.play.getEvent().mPtT;
|
||||
return g_dComIfG_gameInfo.play.getEvent().convPId(t);
|
||||
}
|
||||
|
||||
inline void* dComIfGp_event_getItemPartner() {
|
||||
inline fopAc_ac_c* dComIfGp_event_getItemPartner() {
|
||||
u32 i = g_dComIfG_gameInfo.play.getEvent().mPtI;
|
||||
return g_dComIfG_gameInfo.play.getEvent().convPId(i);
|
||||
}
|
||||
|
||||
inline void* dComIfGp_event_getPt1() {
|
||||
inline fopAc_ac_c* dComIfGp_event_getPt1() {
|
||||
u32 pt1 = g_dComIfG_gameInfo.play.getEvent().mPt1;
|
||||
return g_dComIfG_gameInfo.play.getEvent().convPId(pt1);
|
||||
}
|
||||
|
||||
inline void* dComIfGp_event_getPt2() {
|
||||
inline fopAc_ac_c* dComIfGp_event_getPt2() {
|
||||
u32 pt2 = g_dComIfG_gameInfo.play.getEvent().mPt2;
|
||||
return g_dComIfG_gameInfo.play.getEvent().convPId(pt2);
|
||||
}
|
||||
@@ -2922,6 +2922,10 @@ inline u16 i_dComIfGp_event_chkEventFlag(u16 flag) {
|
||||
return g_dComIfG_gameInfo.play.getEvent().chkEventFlag(flag);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGp_event_chkTalkXY() {
|
||||
return g_dComIfG_gameInfo.play.getEvent().chkTalkXY();
|
||||
}
|
||||
|
||||
inline void dComIfGp_event_setCullRate(f32 f) {
|
||||
g_dComIfG_gameInfo.play.getEvent().setCullRate(f);
|
||||
}
|
||||
@@ -2954,6 +2958,10 @@ inline int dComIfGp_evmng_getMySubstanceNum(int index, char* name) {
|
||||
return dComIfGp_getPEvtManager()->getMySubstanceNum(index, name);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGp_evmng_ChkPresentEnd() {
|
||||
return dComIfGp_getPEvtManager()->ChkPresentEnd();
|
||||
}
|
||||
|
||||
inline int dComIfGp_evmng_checkStartDemo() {
|
||||
return dComIfGp_getPEvtManager()->checkStartDemo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user