Lines Matching refs:thisTex
853 TCTexture* thisTex; in TCSetTplTextureValues() local
866 thisTex = TxHead; in TCSetTplTextureValues()
867 while( thisTex ) in TCSetTplTextureValues()
872 thisImage = TCFindImageByIndex( thisTex->image ); in TCSetTplTextureValues()
873 …(thisImage != NULL), "TCSetTplTextureValues: no matching image for texture %d\n", thisTex->index ); in TCSetTplTextureValues()
877 thisTex->tplImageOffset = imageDescOffset + ( pos * ImageDescSize); in TCSetTplTextureValues()
880 thisTex->tplPaletteOffset = 0; in TCSetTplTextureValues()
881 if( thisTex->palette != TC_UNUSED ) in TCSetTplTextureValues()
883 thisPalette = TCFindPaletteByIndex( thisTex->palette ); in TCSetTplTextureValues()
885 thisTex->tplPaletteOffset = paletteDescOffset + ( pos * PaletteDescSize); in TCSetTplTextureValues()
888 thisTex = thisTex->next; in TCSetTplTextureValues()