]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
added cl_screen.c/h (eventually most 2D stuff should be moved here)
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Jan 2002 00:45:55 +0000 (00:45 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Jan 2002 00:45:55 +0000 (00:45 +0000)
commitb91033966317d4d6a2a6bdf2952291fc88e3f7c4
treecd99756485062bf26694ceda1e8ff8c05523f11d
parent19df154ac9c03eaf969e10f19db13bc1efa9fafe
added cl_screen.c/h (eventually most 2D stuff should be moved here)
removed view.h (merged into client.h)
cleaned up the animation interpolation code (CL_LerpUpdate) a bit more
increased interpolation 'teleport' tolerance from 400 units to 1000 units per frame
changed calls to Mod_ForName to not use checkdisk (except for viewthing model changes and map changes)
added viewent to r_refdef
moved v_blend to r_refdef
all 2D art now goes through Draw_CachePic
cachepic replaced qpic (in all non-wad code)
moved all engine generated pics (mousepointer, crosshairs) to gl_draw.c (they are called by Draw_CachePic)
cachepic now uses a hash lookup instead of just a string search
added drawqueue to r_refdef
all 2D art now goes through DrawQ_ functions (drawqueue)
DrawQ_String now stretchs the character texture a tiny bit, and always uses default filtering
cleaned out some old cruft in console drawing code
fixed some silly bugs in showfps
made showfps display use only 4 characters, and made the text larger, and moved it down a little
moved showfps from gl_screen.c to sbar.c
moved Draw_ConsoleBackground to console.c
removed drawinput parameter from Con_DrawConsole (it was always true)
c_alias_polys now counts all meshs rendered (a model may be rendered multiple times), not just the total number of triangles in the model, much more accurate
r_speeds2 renamed to r_speeds
disabled all Mem_CheckSentinelsGlobal calls during gameplay (they were wasting time)
r_speeds now displays time spent throughout SCR_UpdateScreen code, not just R_RenderView
frame is now rendered in 'finish begin render' order instead of 'begin render finish' order in SCR_Updatescreen - not sure if this is a speedup or not
BLOCK_SIZE in gl_textures.c renamed to block_size and now adjustable (r_max_scrapsize cvar), r_restart for changes to take effect, 1024 (default) or less recommended
menu, r_speeds, and showfps now have a darkened (50% black) background beneath them to improve readability
menu is now centered on the screen
menu text is now white
translatepic code now updates texture rather than constantly cache mismatching
cleaned up cshift code
cleaned up viewent setup code
W_GetLumpinfo failing to find a lump is no longer fatal
added R_Mesh_DrawDecal for the highly specialized task of adding decals/particles/sprites to the mesh system (trying to get a minor speed gain)
decals, particles, and sprites now use R_Mesh_DrawDecal

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1391 d7cf8633-e32d-0410-b094-e92efae38249
42 files changed:
buildnumber.c
cl_main.c
cl_parse.c
cl_screen.c [new file with mode: 0644]
cl_screen.h [new file with mode: 0644]
cl_tent.c
client.h
console.c
console.h
draw.h
gl_backend.c
gl_backend.h
gl_draw.c
gl_models.c
gl_rmain.c
gl_screen.c
gl_textures.c
glquake.h
host.c
host_cmd.c
keys.c
makefile
menu.c
model_brush.c
model_shared.c
net_dgrm.c
pr_cmds.c
quakedef.h
r_crosshairs.c
r_decals.c
r_particles.c
r_sky.c
r_sprites.c
render.h
sbar.c
sv_main.c
ui.c
ui.h
vid_wgl.c
view.c
view.h [deleted file]
wad.c