mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 23:39:12 +00:00
Implement FlatDraw/DrawFlat calls, add CRandom16 seed value display
This commit is contained in:
@@ -6,9 +6,12 @@ CRandom16* CRandom16::g_randomNumber = nullptr; // &DefaultRandom
|
||||
CGlobalRandom* CGlobalRandom::g_currentGlobalRandom = nullptr; //&DefaultGlobalRandom;
|
||||
namespace {
|
||||
u32 g_numNextCalls = 0;
|
||||
u32 g_lastSeed = 0;
|
||||
};
|
||||
|
||||
void CRandom16::IncrementNumNextCalls() { ++g_numNextCalls; }
|
||||
u32 CRandom16::GetNumNextCalls() { return g_numNextCalls; }
|
||||
void CRandom16::ResetNumNextCalls() { g_numNextCalls = 0; }
|
||||
u32 CRandom16::GetLastSeed() { return g_lastSeed; }
|
||||
void CRandom16::SetLastSeed(u32 seed) { g_lastSeed = seed; }
|
||||
} // namespace metaforce
|
||||
|
||||
Reference in New Issue
Block a user