Files
dusklight/src/SSystem/SComponent/c_counter.cpp
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

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++;
}