diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-11 04:55:57 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-11 20:00:55 +0200 |
commit | 8a4fa58cd42b7cca4a86fe2d9913b839b554bf10 (patch) | |
tree | 294e44de2168e1b581ba847775d827924c07bf2e /src/render/ParticleMgr.h | |
parent | Merge pull request #509 from Fire-Head/master (diff) | |
download | re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar.gz re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar.bz2 re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar.lz re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar.xz re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.tar.zst re3-8a4fa58cd42b7cca4a86fe2d9913b839b554bf10.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/ParticleMgr.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/render/ParticleMgr.h b/src/render/ParticleMgr.h index 42e3f132..0100bb65 100644 --- a/src/render/ParticleMgr.h +++ b/src/render/ParticleMgr.h @@ -4,7 +4,7 @@ class CParticle; -enum +enum { ZCHECK_FIRST = BIT(0), ZCHECK_STEP = BIT(1), @@ -60,14 +60,12 @@ struct tParticleSystemData uint8 m_InitialColorVariation; RwRGBA m_FadeDestinationColor; uint32 m_ColorFadeTime; - + RwRaster **m_ppRaster; CParticle *m_pParticles; }; -#ifdef CHECK_STRUCT_SIZES VALIDATE_SIZE(tParticleSystemData, 0x88); -#endif class cParticleSystemMgr { @@ -121,14 +119,12 @@ public: tParticleSystemData m_aParticles[MAX_PARTICLES]; cParticleSystemMgr(); - + void Initialise(); void LoadParticleData(); void RangeCheck(tParticleSystemData *pData) { } }; -#ifdef CHECK_STRUCT_SIZES VALIDATE_SIZE(cParticleSystemMgr, 0x2420); -#endif -extern cParticleSystemMgr mod_ParticleSystemManager;
\ No newline at end of file +extern cParticleSystemMgr mod_ParticleSystemManager; |