Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sun Feb 18 20:33:49 EST 2007


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2007-02-19 01:33:48 UTC

Log message:

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)

Modified files:
     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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20070219.013348.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070218/b24c586c/attachment.diff>


More information about the twilight-commits mailing list