diff options
author | Kari Salminen | 2008-07-28 10:54:53 +0000 |
---|---|---|
committer | Kari Salminen | 2008-07-28 10:54:53 +0000 |
commit | b08288c1cd816105636aa628526dba758e886236 (patch) | |
tree | e8ce7cbeb90b396d4a7db216ef0e88908e0aa1f2 | |
parent | c23f805a7fb3870fcf2695d889a09954a010d959 (diff) | |
download | scummvm-rg350-b08288c1cd816105636aa628526dba758e886236.tar.gz scummvm-rg350-b08288c1cd816105636aa628526dba758e886236.tar.bz2 scummvm-rg350-b08288c1cd816105636aa628526dba758e886236.zip |
Added remaining load functions needed for the Operation Stealth savegame format loading (loadSeqList and loadZoneQuery). Not used yet.
svn-id: r33367
-rw-r--r-- | engines/cine/various.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index 6dbff06a58..02e09be88a 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -674,6 +674,36 @@ bool loadOverlayList(Common::SeekableReadStream &in) { return !in.ioFailed(); } +bool loadSeqList(Common::SeekableReadStream &in) { + uint size = in.readUint16BE(); + SeqListElement tmp; + for (uint i = 0; i < size; i++) { + tmp.var4 = in.readSint16BE(); + tmp.objIdx = in.readUint16BE(); + tmp.var8 = in.readSint16BE(); + tmp.frame = in.readSint16BE(); + tmp.varC = in.readSint16BE(); + tmp.varE = in.readSint16BE(); + tmp.var10 = in.readSint16BE(); + tmp.var12 = in.readSint16BE(); + tmp.var14 = in.readSint16BE(); + tmp.var16 = in.readSint16BE(); + tmp.var18 = in.readSint16BE(); + tmp.var1A = in.readSint16BE(); + tmp.var1C = in.readSint16BE(); + tmp.var1E = in.readSint16BE(); + seqList.push_back(tmp); + } + return !in.ioFailed(); +} + +bool loadZoneQuery(Common::SeekableReadStream &in) { + for (int i = 0; i < 16; i++) { + zoneQuery[i] = in.readUint16BE(); + } + return !in.ioFailed(); +} + // TODO: Implement this function bool CineEngine::loadTempSaveOS(Common::SeekableReadStream &in) { warning("loadTempSaveOS: This is a stub. Temporary Operation Stealth savegame loading not yet implemented"); |