]> icculus.org git repositories - divverent/darkplaces.git/commit
moved d_lightstylevalue into r_refdef.lightstyle
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 24 Oct 2005 04:42:22 +0000 (04:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 24 Oct 2005 04:42:22 +0000 (04:42 +0000)
commite5580a4c3b96651baab0c55549a5c47f9b517ede
treea5033c8ff6068771c6ea4008be652539fc3a2611
parent6559cf704ea21cc1f3e85ff06de4b62ec1168502
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

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5765 d7cf8633-e32d-0410-b094-e92efae38249
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