]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Add skipsupercontentsmask parameter to all the collision implementations, this allows...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:29:12 +0000 (21:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:29:12 +0000 (21:29 +0000)
commita3482c67248044c9c3dfe6ef96781d2e814fdeeb
treeb56ea5917d7dc41d5a19e872e0acc6fc6d04913d
parent7fea37c6939ee2f26c9acf8582c8ee27e991d700
Add skipsupercontentsmask parameter to all the collision implementations, this allows you to ignore brushes/surfaces matching the specified contents flags, the primary use is ignoring q1bsp sky surfaces which are SUPERCONTENTS_SKY and SUPERCONTENTS_SOLID, since SUPERCONTENTS_SOLID is in the hitsupercontentsmask it will normally block on sky surfaces, but this way it will not if they also have SUPERCONTENTS_SKY set.

Use the new skipsupercontentsmask feature for bouncegrid traces and certain other light traces.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12294 d7cf8633-e32d-0410-b094-e92efae38249
21 files changed:
cl_collision.c
cl_collision.h
cl_input.c
cl_main.c
cl_particles.c
clvm_cmds.c
collision.c
collision.h
model_alias.c
model_brush.c
model_shared.c
model_shared.h
r_explosion.c
r_shadow.c
sbar.c
server.h
sv_move.c
sv_phys.c
sv_user.c
svvm_cmds.c
view.c