git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9385
d7cf8633-e32d-0410-b094-
e92efae38249
r_refdef.scene.lightstylevalue[j] = 256;
continue;
}
+ // static lightstyle "=value"
+ if (cl.lightstyle[j].map[0] == '=')
+ {
+ r_refdef.scene.rtlightstylevalue[j] = atof(cl.lightstyle[j].map + 1);
+ if ( r_lerplightstyles.integer || ((int)f - f) < 0.01)
+ r_refdef.scene.lightstylevalue[j] = r_refdef.scene.rtlightstylevalue[j];
+ continue;
+ }
k = i % cl.lightstyle[j].length;
l = (i-1) % cl.lightstyle[j].length;
k = cl.lightstyle[j].map[k] - 'a';
"DP_TE_STANDARDEFFECTBUILTINS "
"DP_TRACE_HITCONTENTSMASK_SURFACEINFO "
"DP_VIEWZOOM "
+"DP_LIGHTSTYLE_STATICVALUE "
"EXT_BITSHIFT "
"FRIK_FILE "
"FTE_QC_CHECKPVS "