diff options
author | Eric Fry | 2018-05-02 18:46:32 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 2f551cabbacf64d336a855ec087fb6e31c484161 (patch) | |
tree | 7876ccaba47771958dbd827802c96efeda0550c4 /engines/illusions/resources | |
parent | 5dd96b6fbe574d8ea2ec3710b46fe94779c3d3ce (diff) | |
download | scummvm-rg350-2f551cabbacf64d336a855ec087fb6e31c484161.tar.gz scummvm-rg350-2f551cabbacf64d336a855ec087fb6e31c484161.tar.bz2 scummvm-rg350-2f551cabbacf64d336a855ec087fb6e31c484161.zip |
ILLUSIONS: Change video skip key from escape to space
Add debug logging on unknown background info field
Removed unused debug variables
Diffstat (limited to 'engines/illusions/resources')
-rw-r--r-- | engines/illusions/resources/backgroundresource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/illusions/resources/backgroundresource.cpp b/engines/illusions/resources/backgroundresource.cpp index 68bccf7ced..1eff8e044f 100644 --- a/engines/illusions/resources/backgroundresource.cpp +++ b/engines/illusions/resources/backgroundresource.cpp @@ -58,7 +58,7 @@ void TileMap::load(byte *dataStart, Common::SeekableReadStream &stream) { void BgInfo::load(byte *dataStart, Common::SeekableReadStream &stream) { _flags = stream.readUint32LE(); - stream.skip(2); // Unknown + uint16 unknown = stream.readUint16LE(); // TODO Unknown _priorityBase = stream.readSint16LE(); _surfInfo.load(stream); loadPoint(stream, _panPoint); @@ -67,8 +67,8 @@ void BgInfo::load(byte *dataStart, Common::SeekableReadStream &stream) { stream.seek(tileMapOffs); _tileMap.load(dataStart, stream); _tilePixels = dataStart + tilePixelsOffs; - debug(0, "BgInfo::load() _flags: %08X; _priorityBase: %d; tileMapOffs: %08X; tilePixelsOffs: %08X", - _flags, _priorityBase, tileMapOffs, tilePixelsOffs); + debug(0, "BgInfo::load() _flags: %08X; unknown: %04X; _priorityBase: %d; tileMapOffs: %08X; tilePixelsOffs: %08X", + _flags, unknown, _priorityBase, tileMapOffs, tilePixelsOffs); } // PriorityLayer |