- renamed FileRdr back to FileReader.
This commit is contained in:
parent
0be1ed252b
commit
b939836846
91 changed files with 479 additions and 477 deletions
|
|
@ -83,13 +83,13 @@ protected:
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
FTexture *IMGZTexture_TryCreate(FileRdr & file, int lumpnum)
|
||||
FTexture *IMGZTexture_TryCreate(FileReader & file, int lumpnum)
|
||||
{
|
||||
uint32_t magic = 0;
|
||||
uint16_t w, h;
|
||||
int16_t l, t;
|
||||
|
||||
file.Seek(0, FileRdr::SeekSet);
|
||||
file.Seek(0, FileReader::SeekSet);
|
||||
if (file.Read(&magic, 4) != 4) return NULL;
|
||||
if (magic != MAKE_ID('I','M','G','Z')) return NULL;
|
||||
w = file.ReadUInt16();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue