dTimer_createStockTimer

This commit is contained in:
Pheenoh
2022-12-22 10:36:47 -07:00
parent f6318d671c
commit a2c1e7afaf
4 changed files with 44 additions and 20 deletions
+8
View File
@@ -703,10 +703,18 @@ inline int dComIfG_getTimerMode() {
return g_dComIfG_gameInfo.play.getTimerMode();
}
inline void dComIfG_setTimerMode(int mode) {
return g_dComIfG_gameInfo.play.setTimerMode(mode);
}
inline dTimer_c* dComIfG_getTimerPtr() {
return g_dComIfG_gameInfo.play.getTimerPtr();
}
inline u8 dComIfG_getTimerType() {
return g_dComIfG_gameInfo.play.getTimerType();
}
inline int dComIfG_setObjectRes(const char* name, u8 param_1, JKRHeap* heap) {
return g_dComIfG_gameInfo.mResControl.setObjectRes(name, param_1, heap);
}
+1 -1
View File
@@ -8,7 +8,7 @@
#include "d/msg/d_msg_class.h"
#include "JSystem/JKernel/JKRExpHeap.h"
void dTimer_createStockTimer();
s32 dTimer_createStockTimer();
class dTimer_c : public msg_class {
private:
+6
View File
@@ -40,5 +40,11 @@ int fopMsgM_messageSet(u32 param_0, u32 param_1);
int fopMsgM_messageSetDemo(u32 param_0);
msg_class* fopMsgM_SearchByID(unsigned int param_0);
char* fopMsgM_messageGet(char* msg, u32 string_id);
s32 fop_Timer_create(s16 param_0, u8 param_1, u32 param_2, u8 param_3, u8 param_4, f32 param_5,
f32 param_6, f32 param_7, f32 param_8, fopMsgCreateFunc createFunc);
inline s32 fopMsgM_Timer_create(s16 param_0, u8 param_1, u32 param_2, u8 param_3, u8 param_4, f32 param_5,
f32 param_6, f32 param_7, f32 param_8, fopMsgCreateFunc createFunc) {
return fop_Timer_create(param_0, param_1, param_2, param_3, param_4, param_5, param_6, param_7, param_8, createFunc);
}
#endif