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

Remove arbitrary particle limit of 256, unfortunately this breaks various particle systems including Essence Shockwave and flamethrower particles

This commit is contained in:
2021-01-14 15:52:26 -08:00
parent 44f5fe4684
commit 3548252931
4 changed files with 22 additions and 42 deletions

View File

@@ -65,7 +65,6 @@ private:
bool x88_particleEmission = true;
float x8c_generatorRemainder = 0.f;
int x90_MAXP = 0;
int m_maxMAXP = 256;
u16 x94_randomSeed = g_GlobalSeed;
float x98_generatorRate = 1.f;
std::array<float, 16> x9c_externalVars{};
@@ -101,7 +100,6 @@ private:
bool x26d_27_enableOPTS : 1;
bool x26d_28_enableADV : 1 = false;
int x270_MBSP = 0;
int m_maxMBSP = 0;
ERglLightBits x274_backupLightActive = ERglLightBits::None;
std::array<bool, 4> x278_hasVMD{};
CRandom16 x27c_randState;
@@ -225,7 +223,6 @@ public:
static void SetMoveRedToAlphaBuffer(bool move);
s32 GetMaxParticles() const { return x90_MAXP; }
s32 GetMaxMaxParticles() const { return m_maxMAXP; }
std::vector<CParticle> const& GetParticles() const { return x30_particles; }
std::vector<CParticle> &GetParticles() { return x30_particles; }