2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

More CThardus imps, add CRandom16 stats

This commit is contained in:
2020-09-04 23:04:28 -07:00
parent 7ba02f28c0
commit 1ba68175e9
9 changed files with 161 additions and 12 deletions

View File

@@ -4,5 +4,11 @@ namespace urde {
CRandom16* CRandom16::g_randomNumber = nullptr; // &DefaultRandom;
CGlobalRandom* CGlobalRandom::g_currentGlobalRandom = nullptr; //&DefaultGlobalRandom;
namespace {
u32 g_numNextCalls = 0;
};
void CRandom16::IncrementNumNextCalls() { ++g_numNextCalls; }
u32 CRandom16::GetNumNextCalls() { return g_numNextCalls; }
void CRandom16::ResetNumNextCalls() { g_numNextCalls = 0; }
} // namespace urde