diff options
author | Torbjörn Andersson | 2004-11-02 08:37:14 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-11-02 08:37:14 +0000 |
commit | f2173960a77763a5ad673462ff417e7f8df403d8 (patch) | |
tree | be485db1863379bdfd1705a01918641adc6b11e9 /saga | |
parent | 1af83b0c96104a3f465eecac607cb6b60001d519 (diff) | |
download | scummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.tar.gz scummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.tar.bz2 scummvm-rg350-f2173960a77763a5ad673462ff417e7f8df403d8.zip |
Removed unknown part of IMAGE_HEADER struct since it wasn't used in the
original code either. (Apparently it was reserved for future use.)
I think the only remaining data structure with unknown members now is
ANIMATION_HEADER. Of course, there's probably a lot that isn't implemented
at all, too...
svn-id: r15708
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 + |