Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Mon Oct 24 00:42:33 EDT 2005


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2005-10-24 04:42:32 UTC

Log message:

moved d_lightstylevalue into r_refdef.lightstyle
moved r_dlights into r_redef.lights and made it an array of pointers into cl_dlights to save memory and time
merged R_UpdateLights into CL_DecayLights and renamed it CL_UpdateLights
renamed R_RTLight_UpdateFromDLight to R_RTLight_Update and made it take only the dlight pointer
implemented cl_activedlights variable to prevent scanning whole MAX_DLIGHTS range every frame

Modified files:
     cl_main.c client.h gl_rmain.c gl_rsurf.c model_shared.h r_light.c
     r_light.h r_shadow.c r_shadow.h render.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20051024.044232.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20051024/73baf56c/attachment.diff>


More information about the twilight-commits mailing list