mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
21 lines
305 B
C
21 lines
305 B
C
#ifndef C_COUNTER_H
|
|
#define C_COUNTER_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
struct counter_class {
|
|
u32 mCounter0;
|
|
s32 mCounter1;
|
|
s32 mTimer;
|
|
};
|
|
|
|
extern counter_class g_Counter;
|
|
|
|
void cCt_Counter(int resetCounter1);
|
|
|
|
inline void cCt_execCounter() {
|
|
g_Counter.mTimer++;
|
|
}
|
|
|
|
#endif /* C_COUNTER_H */
|