Searched refs:colorbrightnesses (Results 1 – 2 of 2) sorted by relevance
899 UINT8 colorbrightnesses[16]; in HWR_CreateBlendedTexture() local917 …SETBRIGHTNESS(colorbrightnesses[i], tempc.s.red, tempc.s.green, tempc.s.blue); // store brightness… in HWR_CreateBlendedTexture()922 …if (brightness > colorbrightnesses[i]) // don't allow greater matches (because calculating a makes… in HWR_CreateBlendedTexture()925 compare = abs((INT16)(colorbrightnesses[i]) - (INT16)(brightness)); in HWR_CreateBlendedTexture()938 d = (INT16)colorbrightnesses[firsti]; // - 0; in HWR_CreateBlendedTexture()942 m = (INT16)brightness - (INT16)colorbrightnesses[secondi]; in HWR_CreateBlendedTexture()943 d = (INT16)colorbrightnesses[firsti] - (INT16)colorbrightnesses[secondi]; in HWR_CreateBlendedTexture()
400 UINT8 colorbrightnesses[16]; in R_RainbowColormap() local408 SETBRIGHTNESS(colorbrightnesses[i], color.s.red, color.s.green, color.s.blue); in R_RainbowColormap()424 temp = abs((INT16)brightness - (INT16)colorbrightnesses[j]); in R_RainbowColormap()