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