2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

Implement CStateManager::Update

This commit is contained in:
Jack Andersen
2017-03-23 19:30:16 -10:00
parent 5a6e40c5aa
commit db12dd2ea2
68 changed files with 1165 additions and 117 deletions

View File

@@ -50,4 +50,9 @@ void CDecalManager::AddToRenderer(const zeus::CFrustum& frustum, const CStateMan
}
}
void CDecalManager::Update(float dt, CStateManager& mgr)
{
}
}

View File

@@ -33,6 +33,7 @@ public:
static void Initialize();
static void Shutdown();
static void AddToRenderer(const zeus::CFrustum& frustum, const CStateManager& mgr);
static void Update(float dt, CStateManager& mgr);
};
}

View File

@@ -17,6 +17,8 @@ static logvisor::Module Log("urde::CElementGen");
static bool s_inCreateNewParticles = false;
CRandom16 CElementGen::g_GlobalSeed = 99;
int CElementGen::g_ParticleAliveCount;
int CElementGen::g_ParticleSystemAliveCount;
s32 CElementGen::g_FreeIndex;

View File

@@ -25,7 +25,9 @@ class CParticleElectric;
class CElementGen : public CParticleGen
{
static CRandom16 g_GlobalSeed;
public:
static void SetGlobalSeed(u16 seed) { g_GlobalSeed.SetSeed(seed); }
enum class EModelOrientationType
{
Normal,

View File

@@ -10,6 +10,8 @@
namespace urde
{
CRandom16 CParticleElectric::g_GlobalSeed = 99;
void CParticleElectric::RenderSwooshes()
{
}

View File

@@ -13,7 +13,9 @@ class CElementGen;
class CParticleElectric : public CParticleGen
{
static CRandom16 g_GlobalSeed;
public:
static void SetGlobalSeed(u16 seed) { g_GlobalSeed.SetSeed(seed); }
struct CLineManager
{
std::unique_ptr<CParticleSwoosh> SSWH;