mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-23 13:42:25 -04:00
eed14acdc6
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.
21 lines
307 B
C
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 */
|