]> icculus.org git repositories - divverent/darkplaces.git/commit
Added CSQC globals dmg_take, dmg_save and dmg_origin. These globals correspond to...
authordresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Aug 2007 18:04:50 +0000 (18:04 +0000)
committerdresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Aug 2007 18:04:50 +0000 (18:04 +0000)
commit4a43a0a0d3f92f90bfcbed68146a8a18dbb0818d
tree89f6ab3f179791cdd589d81f587c40b4d389e92c
parenta4e10bde7cdd08e59fa07f76a9c01c71804f7b3a
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.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7524 d7cf8633-e32d-0410-b094-e92efae38249
csprogs.c
progsvm.h
prvm_edict.c
view.c