]> git.xonotic.org Git - xonotic/darkplaces.git/commit
this patch may break things and needs testing
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 19 Feb 2007 01:33:38 +0000 (01:33 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 19 Feb 2007 01:33:38 +0000 (01:33 +0000)
commit16742571f9a7d696a654668febdc10b4f4affd57
tree83056b8162724ae555206b0e43959c9b75dccaba
parentded16fd66f1a999d35ee57f989f881f205a428c7
this patch may break things and needs testing
major cleanup of csqc and ssqc builtin tables
minimized differences between csqc and ssqc builtin tables (everything that can be implemented in both is implemented in both)
added VM_SAFEPARMCOUNTRANGE to allow a function to have, for example, 2-4 parameters (where as VM_SAFEPARMCOUNT requires it to be an exact match)
added VM_SAFEPARMCOUNT or VM_SAFEPARMCOUNTRANGE to ALL builtins, this may break buggy qc (and it's possible that one or more of these checks are wrong)
replaced CL_TraceBox with CL_Move, this is a proper csqc-entity aware version akin to SV_Move, it has a ton of parameters due to support for network entity collisions as well (ideally this needs cleanup somehow but I have no idea how, as non-csqc network entities do not share the prvm_edict_t system and do not have entity numbers in the csqc world)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6862 d7cf8633-e32d-0410-b094-e92efae38249
22 files changed:
cl_collision.c
cl_collision.h
cl_input.c
cl_main.c
cl_particles.c
clvm_cmds.c
csprogs.c
gl_rmain.c
mvm_cmds.c
prvm_cmds.c
prvm_cmds.h
r_explosion.c
r_light.c
r_shadow.c
server.h
sv_main.c
sv_move.c
sv_phys.c
sv_user.c
svvm_cmds.c
todo
view.c