mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Initial CBodyState stubs
This commit is contained in:
@@ -1,15 +1,41 @@
|
||||
#ifndef __PSHAG_CDECALMANAGER_HPP__
|
||||
#define __PSHAG_CDECALMANAGER_HPP__
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
#include "rstl.hpp"
|
||||
#include "optional.hpp"
|
||||
#include "CToken.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CDecalManager
|
||||
class CDecal
|
||||
{
|
||||
public:
|
||||
static void Initialize()
|
||||
class CQuadDecal
|
||||
{
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
class CDecalManager
|
||||
{
|
||||
struct SDecal
|
||||
{
|
||||
TAreaId m_areaId;
|
||||
std::experimental::optional<CDecal> x60_decal;
|
||||
SDecal() = default;
|
||||
SDecal(std::experimental::optional<CDecal>&&, TAreaId);
|
||||
};
|
||||
|
||||
static bool m_PoolInitialized;
|
||||
static s32 m_FreeIndex;
|
||||
static float m_DeltaTimeSinceLastDecalCreation;
|
||||
static s32 m_LastDecalCreatedIndex;
|
||||
static TResId m_LastDecalCreatedAssetId;
|
||||
static rstl::reserved_vector<SDecal, 64> m_DecalPool;
|
||||
static rstl::reserved_vector<s32, 64> m_ActiveIndexList;
|
||||
public:
|
||||
static void Initialize();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user