diff options
author | erorcun <erayorcunus@gmail.com> | 2020-05-11 23:33:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 23:33:13 +0200 |
commit | 5f40f06bf024e3806e0fe5a92ca14ee6b22a9933 (patch) | |
tree | 3008c5a5977736453221f00daa1f34f9d292906b /src/render/ParticleMgr.h | |
parent | RenderPedCB from VC (diff) | |
parent | Fix appveyor (hopefully) (diff) | |
download | re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar.gz re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar.bz2 re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar.lz re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar.xz re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.tar.zst re3-5f40f06bf024e3806e0fe5a92ca14ee6b22a9933.zip |
Diffstat (limited to 'src/render/ParticleMgr.h')
-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; |