comparison Texture.cpp @ 96:51a5b0dc3f30

3.11.12
author Ritor1
date Sat, 03 Nov 2012 19:58:37 +0600
parents b39bdc150e90
children
comparison
equal deleted inserted replaced
91:2d3f4e0379ce 96:51a5b0dc3f30
450 v3 = pIcons_LOD->FindContainer(pContainer, 0); 450 v3 = pIcons_LOD->FindContainer(pContainer, 0);
451 v4 = v3; 451 v4 = v3;
452 File = v3; 452 File = v3;
453 if ( !v3 ) 453 if ( !v3 )
454 { 454 {
455 sprintfex(pTmpBuf, "Unable to load %s", pContainer); 455 sprintf(pTmpBuf, "Unable to load %s", pContainer);
456 Abortf(pTmpBuf); 456 Abortf(pTmpBuf);
457 } 457 }
458 fread(&DstBuf, 1u, 0x30u, v3); 458 fread(&DstBuf, 1u, 0x30u, v3);
459 Count = DstBuf.uTextureSize; 459 Count = DstBuf.uTextureSize;
460 if ( DstBuf.uDecompressedSize ) 460 if ( DstBuf.uDecompressedSize )
540 v4 = pIcons_LOD->FindContainer(pContainer, 0); 540 v4 = pIcons_LOD->FindContainer(pContainer, 0);
541 v5 = v4; 541 v5 = v4;
542 File = v4; 542 File = v4;
543 if ( !v4 ) 543 if ( !v4 )
544 { 544 {
545 sprintfex(pTmpBuf, "Unable to load %s", pContainer); 545 sprintf(pTmpBuf, "Unable to load %s", pContainer);
546 Abortf(pTmpBuf); 546 Abortf(pTmpBuf);
547 } 547 }
548 fread(&DstBuf, 1u, 0x30u, v4); 548 fread(&DstBuf, 1u, 0x30u, v4);
549 Count = DstBuf.uTextureSize; 549 Count = DstBuf.uTextureSize;
550 if ( DstBuf.uDecompressedSize ) 550 if ( DstBuf.uDecompressedSize )