mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Initial CBodyState stubs
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include "CDecalManager.hpp"
|
||||
#include "CDecalDescription.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
bool CDecalManager::m_PoolInitialized = false;
|
||||
s32 CDecalManager::m_FreeIndex = 63;
|
||||
float CDecalManager::m_DeltaTimeSinceLastDecalCreation = 0.f;
|
||||
s32 CDecalManager::m_LastDecalCreatedIndex = -1;
|
||||
TResId CDecalManager::m_LastDecalCreatedAssetId = -1;
|
||||
|
||||
void CDecalManager::Initialize()
|
||||
{
|
||||
if (m_PoolInitialized)
|
||||
return;
|
||||
|
||||
m_DecalPool.clear();
|
||||
m_DecalPool.resize(64);
|
||||
|
||||
m_FreeIndex = 63;
|
||||
m_PoolInitialized = true;
|
||||
m_DeltaTimeSinceLastDecalCreation = 0.f;
|
||||
m_LastDecalCreatedIndex = -1;
|
||||
m_LastDecalCreatedAssetId = -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user