]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
replaced sbarpic_t with cachepic_t in sbar code (saves a bit of memory)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 09:24:21 +0000 (09:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 09:24:21 +0000 (09:24 +0000)
commit4119ac702df7913c1e44463b833fb2087a8e90ef
tree45bc1a11e4caa6aac6dd6717213913293c7d6a94
parentd3e2f7e92ec8883147b70a7bc0971a7b4561d3d5
replaced sbarpic_t with cachepic_t in sbar code (saves a bit of memory)
changed DrawQ_SuperPic and DrawQ_Pic to take a cachepic_t * instead of a pic name (this speeds up the sbar code by not using name lookups constantly)
removed DrawQ_Fill (use DrawQ_Pic with NULL pic instead)
changed crosshair/editlights cursors to use r_crosshairs array initialized at startup instead of constantly calling Draw_CachePic
changed Host_Init to call SCR_BeginLoadingPlaque instead of Host_StartVideo (which is called by SCR_BeginLoadingPlaque)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6058 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cl_screen.c
cl_screen.h
cl_video.c
client.h
console.c
gl_draw.c
host.c
menu.c
prvm_cmds.c
r_crosshairs.c
r_shadow.c
sbar.c