Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Aug 6 09:16:58 EDT 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2003-08-06 13:16:58 UTC

Log message:

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)

Modified files:
     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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20030806.131658.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030806/b39f045e/attachment.diff>


More information about the twilight-commits mailing list