Searched refs:thisTex (Results 1 – 2 of 2) sorted by relevance
60 static void TCSwapTexture ( TCTexture* thisTex, TCTexture* thatTex );106 TCTexture* thisTex, *nextTex; in TCSortTextureByIndex() local115 thisTex = TxHead; in TCSortTextureByIndex()116 while( thisTex->next) in TCSortTextureByIndex()118 nextTex = thisTex->next; in TCSortTextureByIndex()120 if( nextTex->index < thisTex->index ) in TCSortTextureByIndex()123 TCSwapTexture( thisTex, nextTex ); in TCSortTextureByIndex()125 thisTex = TxHead; in TCSortTextureByIndex()129 thisTex = thisTex->next; in TCSortTextureByIndex()136 static void TCSwapTexture( TCTexture* thisTex, TCTexture* thatTex ) in TCSwapTexture() argument[all …]
858 TCTexture* thisTex; in TCSetTplTextureValues() local871 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()[all …]