]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Merge PR 'Make particles solid squares when cl_particles_quake is set to 2'
authorJames O'Neill <hemebond@gmail.com>
Fri, 12 Apr 2024 12:53:38 +0000 (21:53 +0900)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2024 12:53:38 +0000 (22:53 +1000)
commit58dc7879146968c2c07e1ffd2c521487a5e768d9
treeaaccd6f5f1d2d2ca29dafd97da99b49431908cd2
parent4c8d3751bf3d04ffd0507c61c7288213456ab0a4
Merge PR 'Make particles solid squares when cl_particles_quake is set to 2'

This creates a new function, CL_NewQuakeParticle, that is used instead of CL_NewParticle when cl_particles_quake is enabled. The function calls CL_NewParticle with a some hardcoded defaults to make the particle texture a disc, or solid square, based on the value of cl_particles_quake.

Improves particle function documentation.

See https://github.com/DarkPlacesEngine/darkplaces/pull/137

Closes https://gitlab.com/xonotic/darkplaces/-/issues/308

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_particles.c
cl_particles.h