Mercurial > mm7
comparison LOD.cpp @ 2151:92511cd8fcdb
Cleaned some variables.
author | Nomad |
---|---|
date | Wed, 08 Jan 2014 22:29:11 +0200 |
parents | 49de109bbab5 |
children | d44b7775fc06 |
comparison
equal
deleted
inserted
replaced
2150:701dc2f4956b | 2151:92511cd8fcdb |
---|---|
2648 v19 = malloc(v18); | 2648 v19 = malloc(v18); |
2649 fread(v19, 1u, (size_t)pOutTex, pFile); | 2649 fread(v19, 1u, (size_t)pOutTex, pFile); |
2650 zlib::MemUnzip((void *)pContainer, &v8->uDecompressedSize, v19, v8->uTextureSize); | 2650 zlib::MemUnzip((void *)pContainer, &v8->uDecompressedSize, v19, v8->uTextureSize); |
2651 v8->uTextureSize = *v16; | 2651 v8->uTextureSize = *v16; |
2652 free(v19); | 2652 free(v19); |
2653 if ( bUseLoResSprites && v8->pBits & 2 ) | 2653 if ( /*bUseLoResSprites*/false && v8->pBits & 2 ) |
2654 { | 2654 { |
2655 pOutTex = (Texture *)(((signed int)v8->uSizeOfMaxLevelOfDetail >> 2) | 2655 pOutTex = (Texture *)(((signed int)v8->uSizeOfMaxLevelOfDetail >> 2) |
2656 + ((signed int)v8->uSizeOfMaxLevelOfDetail >> 4) | 2656 + ((signed int)v8->uSizeOfMaxLevelOfDetail >> 4) |
2657 + ((signed int)v8->uSizeOfMaxLevelOfDetail >> 6)); | 2657 + ((signed int)v8->uSizeOfMaxLevelOfDetail >> 6)); |
2658 v21 = malloc((unsigned int)pOutTex); | 2658 v21 = malloc((unsigned int)pOutTex); |