FF Diff Viewer

Comparing 2006 Base SDK to Fortress Forever 2.46

cl_dll/particlemgr.cpp

41424344454647
// //----------------------------------------------------------------------------- #define PARTICLE_SIZE 96 CParticleMgr *ParticleMgr() {
41424344454647
// //----------------------------------------------------------------------------- #define MAX_PARTICLE_SIZE 96 CParticleMgr *ParticleMgr() {
409410411412413414415416
} Particle* CParticleEffectBinding::AddParticle( int sizeInBytes, PMaterialHandle hMaterial ) { // We've currently clamped the particle size to PARTICLE_SIZE, // we may need to change this algorithm if we get particles with // widely varying size
409410411412413414415416417418419
} Particle* CParticleEffectBinding::AddParticle( int sizeInBytes, PMaterialHandle hMaterial, int iMaxParticleSizeOverride ) { // so we can make some particles alloc more than 96 bytes, like with the flamethrower's flame particles const int PARTICLE_SIZE = iMaxParticleSizeOverride > 0 ? iMaxParticleSizeOverride : MAX_PARTICLE_SIZE; // We've currently clamped the particle size to PARTICLE_SIZE, // we may need to change this algorithm if we get particles with // widely varying size