Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sat Mar 4 04:24:31 EST 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-03-04 09:24:31 UTC

Log message:

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)

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


More information about the twilight-commits mailing list