diff options
author | Travis Howell | 2005-05-28 08:46:20 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-28 08:46:20 +0000 |
commit | aad0ae663eb52467c3242ccc7b3a6764755942da (patch) | |
tree | e3fbc689fe2115c6c5dd0ebf90950ece02c31ec2 | |
parent | 151f09ed539ea5ba70712041345d75597d33a7ec (diff) | |
download | scummvm-rg350-aad0ae663eb52467c3242ccc7b3a6764755942da.tar.gz scummvm-rg350-aad0ae663eb52467c3242ccc7b3a6764755942da.tar.bz2 scummvm-rg350-aad0ae663eb52467c3242ccc7b3a6764755942da.zip |
Add last changes to HE100 too.
svn-id: r18279
-rw-r--r-- | scumm/script_v100he.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index 5f78d0d9e9..a02eb6d300 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -2053,23 +2053,36 @@ void ScummEngine_v100he::o100_startScript() { } void ScummEngine_v100he::o100_systemOps() { + byte string[1024]; + byte subOp = fetchScriptByte(); subOp -= 61; switch (subOp) { - case 0: // SO_RESTART + case 0: restart(); break; case 67: clearDrawObjectQueue(); break; case 71: + // Confirm shutdown + shutDown(); + break; case 72: shutDown(); break; + case 73: + copyScriptString(string, sizeof(string)); + debug(0, "Start game (%s)", string); + break; + case 74: + copyScriptString(string, sizeof(string)); + debug(0, "Start executable (%s)", string); + break; case 75: - // Clear screen - // Update palette + gdi.copyVirtScreenBuffers(Common::Rect(_screenWidth, _screenHeight)); + updatePalette(); break; default: error("o100_systemOps invalid case %d", subOp); |