Lines Matching refs:thisTex
858 TCTexture* thisTex; in TCSetTplTextureValues() local
871 thisTex = TxHead; in TCSetTplTextureValues()
872 while( thisTex ) in TCSetTplTextureValues()
877 thisImage = TCFindImageByIndex( thisTex->image ); in TCSetTplTextureValues()
878 …(thisImage != NULL), "TCSetTplTextureValues: no matching image for texture %d\n", thisTex->index ); in TCSetTplTextureValues()
882 thisTex->tplImageOffset = imageDescOffset + ( pos * ImageDescSize); in TCSetTplTextureValues()
885 thisTex->tplPaletteOffset = 0; in TCSetTplTextureValues()
886 if( thisTex->palette != TC_UNUSED ) in TCSetTplTextureValues()
888 thisPalette = TCFindPaletteByIndex( thisTex->palette ); in TCSetTplTextureValues()
890 thisTex->tplPaletteOffset = paletteDescOffset + ( pos * PaletteDescSize); in TCSetTplTextureValues()
893 thisTex = thisTex->next; in TCSetTplTextureValues()