| 211 | } |
| 212 | |
| 213 | void CParticleManager::SetMaxParticles(int effect_id, u32 max_particles) |
| 214 | { |
| 215 | ParticleEffect* pe = GetEffectPtr(effect_id); |
| 216 | pe->Resize(max_particles); |
| 217 | } |
| 218 | |
| 219 | void CParticleManager::SetCallback(int effect_id, OnBirthParticleCB b, OnDeadParticleCB d, void* owner, u32 param) |
| 220 | { |