Searched refs:gl_distfog (Results 1 – 1 of 1) sorted by relevance
59 int gl_distfog = 70; variable291 distfogtable[0][i] = (float)((gl_distfog >> 1) + (gl_distfog) * (164 - i) / 164); in M_ChangeAllowFog()295 distfogtable[0][i] = (float)((gl_distfog >> 1) - (gl_distfog >> 1) * (i - 164) / (230 - 164)); in M_ChangeAllowFog()304 distfogtable[1][i] = 6.0f + (gl_distfog >> 1) + (gl_distfog) * (128 - i) / 48; in M_ChangeAllowFog()308 distfogtable[1][i] = (216.0f - i) / ((216.0f - 128.0f)) * gl_distfog / 10; in M_ChangeAllowFog()327 distfogtable[2][i] = (216.0f - i) / ((216.0f - 128.0f)) * gl_distfog / 10; in M_ChangeAllowFog()