r8063 - trunk/darkplaces

black at icculus.org black at icculus.org
Fri Feb 1 11:21:42 EST 2008


Author: black
Date: 2008-02-01 11:21:37 -0500 (Fri, 01 Feb 2008)
New Revision: 8063

Modified:
   trunk/darkplaces/clvm_cmds.c
   trunk/darkplaces/csprogs.c
   trunk/darkplaces/progsvm.h
   trunk/darkplaces/prvm_edict.c
Log is attached.
Rewrite CSQC's setmodel a bit.
Add support for CSQC_Ent_Spawn to csqc. A function that is called when a entity packet from the server arrives that requires a new entity.
entity( float entnum ) CSQC_Ent_Spawn;
CSQC_Ent_Spawn needs to spawn a new entity and set its .entnum field accordingly or simply return another existing entity or world if it wants to ignore that server entity. Subsequent CSQC_Ent_Update calls are routed to that entity (or CSQC_Ent_Spawn is called again when .Version increases).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080201.162142.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20080201/df68e528/attachment.diff>


More information about the twilight-commits mailing list