mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-26 06:16:24 -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.
19 lines
294 B
C++
19 lines
294 B
C++
/**
|
|
* c_counter.cpp
|
|
*
|
|
*/
|
|
|
|
#include "SSystem/SComponent/c_counter.h"
|
|
|
|
DUSK_GAME_DATA counter_class g_Counter;
|
|
|
|
void cCt_Counter(int resetCounter1) {
|
|
if (resetCounter1 == 1) {
|
|
g_Counter.mCounter1 = 0;
|
|
} else {
|
|
g_Counter.mCounter1++;
|
|
}
|
|
|
|
g_Counter.mCounter0++;
|
|
}
|