Home
last modified time | relevance | path

Searched refs:translationtablecache (Results 1 – 1 of 1) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_draw.c137 static UINT8 **translationtablecache[MAXSKINS + 7] = {NULL}; variable
588 if (!translationtablecache[skintableindex]) in R_GetTranslationColormap()
589translationtablecache[skintableindex] = Z_Calloc(MAXSKINCOLORS * sizeof(UINT8**), PU_STATIC, NULL); in R_GetTranslationColormap()
592 ret = translationtablecache[skintableindex][color]; in R_GetTranslationColormap()
597 for (i = 0; i < (INT32)(sizeof(translationtablecache) / sizeof(translationtablecache[0])); i++) in R_GetTranslationColormap()
598 if (translationtablecache[i] && translationtablecache[i][color]) in R_GetTranslationColormap()
599 R_GenerateTranslationColormap(translationtablecache[i][color], CacheIndexToSkin(i), color); in R_GetTranslationColormap()
614 translationtablecache[skintableindex][color] = ret; in R_GetTranslationColormap()
632 for (i = 0; i < (INT32)(sizeof(translationtablecache) / sizeof(translationtablecache[0])); i++) in R_FlushTranslationColormapCache()
633 if (translationtablecache[i]) in R_FlushTranslationColormapCache()
[all …]