summaryrefslogtreecommitdiffstats
path: root/src/ParticleMgr.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 20:02:58 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 20:02:58 +0200
commit197767d1c83f8d940698cd200785e91fbc2ccc98 (patch)
treec1ee0bb77ae0dbef844cf45eb9d2ffb00b08895f /src/ParticleMgr.h
parentParticle, ParticleMgr done (diff)
downloadre3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.gz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.bz2
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.lz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.xz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.zst
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.zip
Diffstat (limited to 'src/ParticleMgr.h')
-rw-r--r--src/ParticleMgr.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ParticleMgr.h b/src/ParticleMgr.h
index e650255b..a2dcbdb5 100644
--- a/src/ParticleMgr.h
+++ b/src/ParticleMgr.h
@@ -96,7 +96,7 @@ enum
ZCHECK_BUMP_FIRST = BIT(13)
};
-#pragma pack(push, 1)
+
struct tParticleSystemData
{
tParticleType m_Type;
@@ -140,9 +140,9 @@ struct tParticleSystemData
RwRaster **m_ppRaster;
CParticle *m_pParticles;
};
-#pragma pack(pop)
+VALIDATE_SIZE(tParticleSystemData, 0x88);
+
-#pragma pack(push, 1)
class cParticleSystemMgr
{
enum
@@ -200,6 +200,7 @@ public:
void LoadParticleData();
//void RangeCheck(tParticleSystemData *pData);
};
-#pragma pack(pop)
+
+VALIDATE_SIZE(cParticleSystemMgr, 0x2420);
extern cParticleSystemMgr mod_ParticleSystemManager; \ No newline at end of file