What's the use of cg_particles?

I noticed that the cg_particles.c file defines many CG_Partile* functions, but what’s their usage? only CG_ParticleExplosion() has been called. How can these partile functions be used and added to the scene?

Thanks a lot!

Yeah, it’s mostly unused code. cg_particles.c was ported from RTCW in one of the later Q3 patches. So looking at the RTCW code might help show how to use it.

1 Like