r7524 - trunk/darkplaces

dresk at icculus.org dresk at icculus.org
Mon Aug 13 14:04:50 EDT 2007


Author: dresk
Date: 2007-08-13 14:04:50 -0400 (Mon, 13 Aug 2007)
New Revision: 7524

Modified:
   trunk/darkplaces/csprogs.c
   trunk/darkplaces/progsvm.h
   trunk/darkplaces/prvm_edict.c
   trunk/darkplaces/view.c
Log is attached.
Added CSQC globals dmg_take, dmg_save and dmg_origin.  These globals correspond to the SSQC-sent messages that provide the data from the QC layer.  dmg_origin is the origin of the damage taken, derived from the dmg_inflictor entity in the QC.  All values are reset after every rendered frame (to mimic the server behavior).

These globals are optional, and do not interfere with the CRC of the CSQC definitions.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070813.180450.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070813/2214ca78/attachment.diff>


More information about the twilight-commits mailing list