mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
d_timer / d_bright_check done (#2034)
* d_bright_check mostly fixed * d_timer done * remove asm
This commit is contained in:
@@ -838,10 +838,26 @@ inline dTimer_c* dComIfG_getTimerPtr() {
|
||||
return g_dComIfG_gameInfo.play.getTimerPtr();
|
||||
}
|
||||
|
||||
inline void dComIfG_setTimerPtr(dTimer_c* i_ptr) {
|
||||
g_dComIfG_gameInfo.play.setTimerPtr(i_ptr);
|
||||
}
|
||||
|
||||
inline void dComIfG_setTimerType(u8 i_type) {
|
||||
g_dComIfG_gameInfo.play.setTimerType(i_type);
|
||||
}
|
||||
|
||||
inline u8 dComIfG_getTimerType() {
|
||||
return g_dComIfG_gameInfo.play.getTimerType();
|
||||
}
|
||||
|
||||
inline int dComIfG_getTimerLimitTimeMs() {
|
||||
return g_dComIfG_gameInfo.play.getTimerLimitTimeMs();
|
||||
}
|
||||
|
||||
inline void dComIfG_setTimerLimitTimeMs(int i_time) {
|
||||
g_dComIfG_gameInfo.play.setTimerLimitTimeMs(i_time);
|
||||
}
|
||||
|
||||
inline int dComIfG_setObjectRes(const char* name, u8 param_1, JKRHeap* heap) {
|
||||
return g_dComIfG_gameInfo.mResControl.setObjectRes(name, param_1, heap);
|
||||
}
|
||||
@@ -3216,6 +3232,10 @@ inline void dComIfGp_event_setCullRate(f32 f) {
|
||||
g_dComIfG_gameInfo.play.getEvent().setCullRate(f);
|
||||
}
|
||||
|
||||
inline u8 dComIfGp_event_getMode() {
|
||||
return g_dComIfG_gameInfo.play.getEvent().getMode();
|
||||
}
|
||||
|
||||
inline int i_dComIfGp_evmng_getMyStaffId(const char* pName, fopAc_ac_c* pActor, int param_2) {
|
||||
return dComIfGp_getPEvtManager()->getMyStaffId(pName, pActor, param_2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user