Files
tww/include/SSystem/SComponent/c_counter.h
T
2024-01-03 15:55:56 -05:00

21 lines
338 B
C

#ifndef C_COUNTER_H
#define C_COUNTER_H
#include "dolphin/types.h"
struct counter_class {
/* 0x00 */ u32 mCounter0;
/* 0x04 */ s32 mCounter1;
/* 0x08 */ u32 mTimer;
};
extern counter_class g_Counter;
void cCt_Counter(int resetCounter1);
inline void cCt_execCounter() {
g_Counter.mTimer++;
}
#endif /* C_COUNTER_H */