Files

15 lines
473 B
C++
Raw Permalink Normal View History

2019-12-22 15:04:07 -05:00
#include "Runtime/CRandom16.hpp"
2015-07-28 13:53:57 -10:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2018-12-07 19:30:43 -10:00
CRandom16* CRandom16::g_randomNumber = nullptr; // &DefaultRandom;
CGlobalRandom* CGlobalRandom::g_currentGlobalRandom = nullptr; //&DefaultGlobalRandom;
2020-09-04 23:04:28 -07:00
namespace {
u32 g_numNextCalls = 0;
};
2020-09-04 23:04:28 -07:00
void CRandom16::IncrementNumNextCalls() { ++g_numNextCalls; }
u32 CRandom16::GetNumNextCalls() { return g_numNextCalls; }
void CRandom16::ResetNumNextCalls() { g_numNextCalls = 0; }
2021-04-10 01:42:06 -07:00
} // namespace metaforce