Files
dusklight/include/SSystem/SComponent/c_counter.h
T
Luke Street eed14acdc6 Annotate all data with DUSK_GAME_DATA (#2214)
The hope of auto-importing data via lld MinGW
+ pseudo_reloc is now dead thanks to ARM64,
so I just wrote a script to go annotate every
exported data symbol in the game instead.
2026-07-14 13:49:21 -06:00

21 lines
307 B
C

#ifndef C_COUNTER_H
#define C_COUNTER_H
#include <types.h>
struct counter_class {
u32 mCounter0;
s32 mCounter1;
u32 mTimer;
};
DUSK_GAME_EXTERN counter_class g_Counter;
void cCt_Counter(int resetCounter1);
inline void cCt_execCounter() {
g_Counter.mTimer++;
}
#endif /* C_COUNTER_H */