mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
More Actor imps
This commit is contained in:
@@ -386,7 +386,8 @@ void CGraphics::SetDepthRange(float znear, float zfar)
|
||||
}
|
||||
|
||||
CTimeProvider* CGraphics::g_ExternalTimeProvider = nullptr;
|
||||
float CGraphics::g_DefaultSeconds;
|
||||
float CGraphics::g_DefaultSeconds = 0.f;
|
||||
u32 CGraphics::g_RenderTimings = 0;
|
||||
|
||||
float CGraphics::GetSecondsMod900()
|
||||
{
|
||||
@@ -395,6 +396,12 @@ float CGraphics::GetSecondsMod900()
|
||||
return g_ExternalTimeProvider->x0_currentTime;
|
||||
}
|
||||
|
||||
void CGraphics::TickRenderTimings()
|
||||
{
|
||||
g_RenderTimings++;
|
||||
g_DefaultSeconds = float(g_RenderTimings) / 60.f;
|
||||
}
|
||||
|
||||
boo::IGraphicsDataFactory::Platform CGraphics::g_BooPlatform = boo::IGraphicsDataFactory::Platform::Null;
|
||||
boo::IGraphicsDataFactory* CGraphics::g_BooFactory = nullptr;
|
||||
boo::IGraphicsCommandQueue* CGraphics::g_BooMainCommandQueue = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user