]> icculus.org git repositories - divverent/darkplaces.git/commit
sv.edicts (and related things) are now dynamically reallocated as more edicts are...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Apr 2003 14:43:10 +0000 (14:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Apr 2003 14:43:10 +0000 (14:43 +0000)
commit3b559840aaf1e5a218052d893881c1dd8c1b0780
tree960dadefd173bc6fbb20d1147fd39478816aee75
parent4aa16fad5d006b07c20e091a1fd13e3f88d9cda4
sv.edicts (and related things) are now dynamically reallocated as more edicts are used
no edict_t *'s exist in any persistent structures anymore, using edict numbers in all such cases (as it turns out the only such structs were client_t in server.h and link_t in progs.h)
edicts are unlinked before reallocation and relinked after reallocation to keep the link_t pointers valid

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2985 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cl_main.c
host.c
host_cmd.c
model_brush.c
net_dgrm.c
pr_cmds.c
pr_edict.c
progs.h
server.h
sv_main.c
sv_user.c
world.c