]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
upgraded network protocol to DPPROTOCOL_VERSION4 - this means partial entity updates...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 6 Aug 2003 13:16:48 +0000 (13:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 6 Aug 2003 13:16:48 +0000 (13:16 +0000)
commita0338ffd578afdaf693aee96bc6f948afb5b1844
tree31808074f120df0ac71a743401d8df01fa1046ef
parentb809b71209987c128cc62fe62b779a5ce4a931b6
upgraded network protocol to DPPROTOCOL_VERSION4 - this means partial entity updates are now supported (limited bandwidth entity updates), although the "rate" cvar stuff has not been implemented yet...  it also means entirely dynamic resizing of arrays in the server's entity database per client, so memory usage goes *WAY* down (used to be 256mb for 64 players, no matter what map/mod, now entirely adaptive as the game goes)
svs.clients gone, replaced with svs.connectedclients (similar idea except this is an array of pointers, and they are NULL for any unconnected client slots), this means entirely dynamic memory usage depending on number of clients (at least in the server; the client still needs fixing), this also means "maxplayers" is now a cvar (sv_maxplayers internally), not a command
some fixes/cleanups/tweaks (like proper setup of default maxplayers and deathmatch cvar in multiplayer-only games incase someone starts a map from console right away without using the menus)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3367 d7cf8633-e32d-0410-b094-e92efae38249
20 files changed:
cl_input.c
cl_main.c
cl_parse.c
client.h
common.c
gl_rmain.c
host.c
host_cmd.c
menu.c
netconn.c
netconn.h
pr_cmds.c
pr_edict.c
protocol.c
protocol.h
sbar.c
server.h
sv_main.c
sv_phys.c
sv_user.c