diff options
Diffstat (limited to 'mp/src/game/client/particlemgr.h')
| -rw-r--r-- | mp/src/game/client/particlemgr.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mp/src/game/client/particlemgr.h b/mp/src/game/client/particlemgr.h index 3214a55f..d4537f35 100644 --- a/mp/src/game/client/particlemgr.h +++ b/mp/src/game/client/particlemgr.h @@ -236,6 +236,13 @@ public: IMaterial *m_pMaterial; }; +// Particle simulation list, used to determine what particles to simulate and how. +struct ParticleSimListEntry_t +{ + CNewParticleEffect* m_pNewParticleEffect; + bool m_bBoundingBoxOnly; +}; + //----------------------------------------------------------------------------- // interface IParticleEffect: @@ -715,8 +722,9 @@ private: const CViewSetup& view, const VMatrix &worldToPixels, float flFocalDist ); bool RetireParticleCollections( CParticleSystemDefinition* pDef, int nCount, RetireInfo_t *pInfo, float flScreenArea, float flMaxTotalArea ); - void BuildParticleSimList( CUtlVector< CNewParticleEffect* > &list ); - bool EarlyRetireParticleSystems( int nCount, CNewParticleEffect **ppEffects ); + + void BuildParticleSimList( CUtlVector< ParticleSimListEntry_t > &list ); + bool EarlyRetireParticleSystems( int nCount, ParticleSimListEntry_t *ppEffects ); static int RetireSort( const void *p1, const void *p2 ); private: |