d_timer / d_bright_check done (#2034)

* d_bright_check mostly fixed

* d_timer done

* remove asm
This commit is contained in:
TakaRikka
2024-01-17 13:04:43 +02:00
committed by GitHub
parent b27b6b287c
commit 772a04851c
51 changed files with 1705 additions and 6121 deletions
+20
View File
@@ -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);
}