mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
NANCY: Read MARK chunk
Added a struct corresponding to the MARK boot chunk, which contains the source rects for the autotext markings introduced in nancy8 (and used in the journal).
This commit is contained in:
parent
0b8e43f65f
commit
b51cb98d42
@ -809,4 +809,8 @@ TABL::TABL(Common::SeekableReadStream *chunkStream) : EngineData(chunkStream) {
|
||||
chunkStream->skip((20 - numEntries) * 1000);
|
||||
}
|
||||
|
||||
MARK::MARK(Common::SeekableReadStream *chunkStream) : EngineData(chunkStream) {
|
||||
readRectArray(*chunkStream, _markSrcs, 5);
|
||||
}
|
||||
|
||||
} // End of namespace Nancy
|
||||
|
@ -489,6 +489,12 @@ struct TABL : public EngineData {
|
||||
Common::Array<Common::String> strings;
|
||||
};
|
||||
|
||||
struct MARK : public EngineData {
|
||||
MARK(Common::SeekableReadStream *chunkStream);
|
||||
|
||||
Common::Array<Common::Rect> _markSrcs;
|
||||
};
|
||||
|
||||
} // End of namespace Nancy
|
||||
|
||||
#endif // NANCY_ENGINEDATA_H
|
||||
|
@ -454,6 +454,7 @@ void NancyEngine::bootGameEngine() {
|
||||
LOAD_BOOT(RCPR)
|
||||
LOAD_BOOT(RCLB)
|
||||
LOAD_BOOT(TABL)
|
||||
LOAD_BOOT(MARK)
|
||||
|
||||
if (g_nancy->getGameType() <= kGameTypeNancy7) {
|
||||
LOAD_BOOT(LOAD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user