diff options
Diffstat (limited to 'saga')
-rw-r--r-- | saga/image.cpp | 5 | ||||
-rw-r--r-- | saga/image.h | 2 | ||||
-rw-r--r-- | saga/xref.txt | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/saga/image.cpp b/saga/image.cpp index c2f19282b9..7c98facc9c 100644 --- a/saga/image.cpp +++ b/saga/image.cpp @@ -68,8 +68,9 @@ int SagaEngine::decodeBGImage(const byte *image_data, size_t image_size, hdr.width = readS.readUint16LE(); hdr.height = readS.readUint16LE(); - hdr.unknown4 = readS.readUint16LE(); - hdr.unknown6 = readS.readUint16LE(); + // The next four bytes of the image header aren't used. + readS.readUint16LE(); + readS.readUint16LE(); RLE_data_ptr = image_data + SAGA_IMAGE_DATA_OFFSET; RLE_data_len = image_size - SAGA_IMAGE_DATA_OFFSET; diff --git a/saga/image.h b/saga/image.h index 11d9861dcd..e6a23ea02e 100644 --- a/saga/image.h +++ b/saga/image.h @@ -37,8 +37,6 @@ namespace Saga { struct IMAGE_HEADER { int width; int height; - int unknown4; - int unknown6; }; } // End of namespace Saga diff --git a/saga/xref.txt b/saga/xref.txt index 4de3b1523e..6f236ab4d2 100644 --- a/saga/xref.txt +++ b/saga/xref.txt @@ -109,3 +109,9 @@ Tile.h tilePlatform.highestPixel ISO_METATILE_ENTRY.highest_pixel tilePlatform.vBits ISO_METATILE_ENTRY.v_bits tilePlatform.uBits ISO_METATILE_ENTRY.u_bits + +Resource.h +========== + PicHeader.width IMAGE_HEADER.width + PicHeader.height IMAGE_HEADER.height + |