mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Unused code
--HG-- branch : develop
This commit is contained in:
parent
8087b76397
commit
1a00dec5c3
1 changed files with 0 additions and 4 deletions
|
@ -2163,13 +2163,11 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f)
|
||||||
|
|
||||||
// Determining whether file is in Original or New TGA format
|
// Determining whether file is in Original or New TGA format
|
||||||
|
|
||||||
bool newTgaFormat;
|
|
||||||
uint32 extAreaOffset;
|
uint32 extAreaOffset;
|
||||||
uint32 devDirectoryOffset;
|
uint32 devDirectoryOffset;
|
||||||
char signature[16];
|
char signature[16];
|
||||||
|
|
||||||
f.seek (0, f.end);
|
f.seek (0, f.end);
|
||||||
newTgaFormat = false;
|
|
||||||
if (f.getPos() >= 26)
|
if (f.getPos() >= 26)
|
||||||
{
|
{
|
||||||
f.seek (-26, f.end);
|
f.seek (-26, f.end);
|
||||||
|
@ -2179,8 +2177,6 @@ uint8 CBitmap::readTGA( NLMISC::IStream &f)
|
||||||
{
|
{
|
||||||
f.serial(signature[i]);
|
f.serial(signature[i]);
|
||||||
}
|
}
|
||||||
if(strncmp(signature,"TRUEVISION-XFILE",16)==0)
|
|
||||||
newTgaFormat = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue