]> git.xonotic.org Git - xonotic/darkplaces.git/commit
rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 16 Jan 2002 06:16:58 +0000 (06:16 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 16 Jan 2002 06:16:58 +0000 (06:16 +0000)
commitd57be67cb00229acb8564b92c8b7c58eeed8a0cb
tree0b309fb0fbf104fa8d6938909f27adfa995150b4
parent018a70ec5e58fead3ddcbd1a4cf63ad2abc3d8f1
rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced them all)
models can be reloaded at any time (Mod_CheckLoaded, etc)
entire renderer can be restarted using r_restart command
batch triangle mesh rendering system (gl_backend.c)
most rendering code does not touch GL anymore
gl_textures now supports procedural textures, and fragment textures (small textures combined into larger images)
lightmaps can now be mipmapped (r_miplightmaps)
broke up r_part.c and r_decals.c into cl_particles.c, r_particles.c, cl_decals.c, and r_decals.c to improve renderer/client separation, but explosions are still renderer
moved CL_NextDemo from cl_main.c to cl_demo.c
cleaned up demo stop/disconnect code
removed render modules stuff from all cl_ files
renderer uses separate light array, and recalculates radius for lights based on color, and calculates subtract value to give it a soft edge at the radius perimeter
small surfaces do not use lightmaps (unfortunately they still look slightly different in dynamic lighting)
items can now bob according to cl_itembob* cvars
moved CL_SignonReply from cl_main.c to cl_parse.c
monster movement interpolation is now done clientside instead of serverside, Nehahra movie should look better now
cvars now have a .integer field containing the integer value of their string (nearly all .value accesses have been changed to .integer for speed reasons)
pmodel is now only available in Nehahra mode (pmodel was a bad hack)
r_farclip cvar removed, farclip now dynamically adjusts to level as you explore it
parsing of wad names out of HL maps is now in renderer code
changed isworldmodel stuff in model loading
cleaned up CL_ParseUpdate a bit (related to clientside monster interpolation)
renamed r_glowinglightning to cl_glowinglightning
moved FindNonSolidLocation to bmodel code
lightning beam models are now only looked up once
entity_t now contains an entity_persistent_t which holds data persistent from frame to frame (interpolation mainly), entity_render_t is wiped every frame
marked a lot more things as static
increased command buffer (script execution buffer) from 8k to 32k
COM_LoadMallocFile has been renamed to COM_LoadFile, and all other variants are gone
rounding on MSG_Read/Write stuff has been changed to fix negative rounding (C rounds toward zero, old code assumed it always rounded down)
improved cachepic (menu images) system to load from wad
statusbar now uses cachepic system
cachepics are cleared when renderer is restarted
fixed fog on transparent objects, should always look correct now
moved R_TimeRefresh_f from gl_rmisc.c to gl_rmain.c
moved R_NewMap from gl_rmisc.c to gl_rmain.c
deleted gl_rmisc.c
removed support for glfog
masked sky rendering is now done by first rendering the sky scene, clearing the depthbuffer, rendering invisible depth polys over it, then rendering the scene, this is for more flexibility
C-code based shader system (not scripted)
deleted hcompress.c
due to more thorough memory corruption detection, a (harmless with old zone system) buffer overflow bug in the client name command was fixed
untested (and quite possibly broken) quaternion math stuff added to mathlib.h
removed support for colormod entity effect (massive mess to support it everywhere)
improved QC PR_RunError reports
moved QC opcode execution loop into pr_execprogram.h, included multiple times
fairly major sbar cleanup
rearranged GL extension detection again
added EXT_texture_env_combine support

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1343 d7cf8633-e32d-0410-b094-e92efae38249
103 files changed:
buildnumber.c
chase.c
cl_decals.c [new file with mode: 0644]
cl_demo.c
cl_light.c
cl_light.h
cl_main.c
cl_parse.c
cl_particles.c [new file with mode: 0644]
cl_tent.c
client.h
cmd.c
cmd.h
common.c
common.h
console.c
cvar.c
cvar.h
draw.h
fractalnoise.c
gl_backend.c [new file with mode: 0644]
gl_backend.h [new file with mode: 0644]
gl_draw.c
gl_models.c
gl_rmain.c
gl_rmisc.c [deleted file]
gl_rsurf.c
gl_screen.c
gl_textures.c
glquake.h
hcompress.c [deleted file]
host.c
host_cmd.c
image.c
image.h
in_svgalib.c
in_win.c
makefile
mathlib.c
mathlib.h
menu.c
model_alias.c
model_alias.h
model_brush.c
model_brush.h
model_shared.c
model_shared.h
model_sprite.c
model_sprite.h
modelgen.h
net_main.c
palette.c
palette.h
portals.c
pr_cmds.c
pr_edict.c
pr_exec.c
pr_execprogram.h [new file with mode: 0644]
progs.h
protocol.c
protocol.h
quakedef.h
quakeio.c
r_clip.c
r_crosshairs.c
r_decals.c
r_explosion.c
r_lerpanim.c
r_light.c
r_light.h
r_modules.c
r_part.c [deleted file]
r_particles.c [new file with mode: 0644]
r_sky.c [new file with mode: 0644]
r_sprites.c
r_textures.h
render.h
sbar.c
snd_dma.c
snd_mem.c
sound.h
spritegn.h
sv_light.c
sv_main.c
sv_phys.c
sv_user.c
sys_linux.c
sys_shared.c
sys_win.c
transform.c
transform.h
ui.c
vid_3dfxsvga.c
vid_glx.c
vid_shared.c
vid_wgl.c
view.c
wad.c
wad.h
world.c
world.h
zone.c
zone.h