very major cleanup of precache code, this patch reduced memory usage
authorlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 4 May 2007 01:22:21 +0000 (01:22 +0000)
committerlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Fri, 4 May 2007 01:22:21 +0000 (01:22 +0000)
commit729799846b5bb03a316d64348c9357a9b49732af
treeeebe5206bdeb6201f65c1da4830174c0a7b783ff
parent3797c6b0d3ba8dd417c95411ff59ba9a0f58a85f
very major cleanup of precache code, this patch reduced memory usage
(mostly textures) by 190MB in testing, however the old behavior can be
reenabled by use of the new sv_precache* cvars if any problems arise
added ekg cvar ('engine killing gibs mode' for the ROTT fans)
moved player starting equipment code to level startup

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2478 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
22 files changed:
data/default.cfg
data/qcsrc/server/cl_client.qc
data/qcsrc/server/cl_impulse.qc
data/qcsrc/server/cl_player.qc
data/qcsrc/server/cl_weapons.qc
data/qcsrc/server/cl_weaponsystem.qc
data/qcsrc/server/defs.qh
data/qcsrc/server/g_casings.qc
data/qcsrc/server/g_world.qc
data/qcsrc/server/miscfunctions.qc
data/qcsrc/server/t_items.qc
data/qcsrc/server/t_jumppads.qc
data/qcsrc/server/w_crylink.qc
data/qcsrc/server/w_electro.qc
data/qcsrc/server/w_grenadelauncher.qc
data/qcsrc/server/w_hagar.qc
data/qcsrc/server/w_laser.qc
data/qcsrc/server/w_nex.qc
data/qcsrc/server/w_rocketlauncher.qc
data/qcsrc/server/w_shotgun.qc
data/qcsrc/server/w_uzi.qc
pro/default.cfg