diff options
author | Travis Howell | 2005-04-10 06:17:49 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-10 06:17:49 +0000 |
commit | 5b802a03e5c248ae14eab01233a86132ac278db4 (patch) | |
tree | 38ef25fc3874cb8f1678ea7e07a986806ea3955b /scumm/script_v7he.cpp | |
parent | 02a724a619b027c4f1fbaaf148064c33c0c4fce1 (diff) | |
download | scummvm-rg350-5b802a03e5c248ae14eab01233a86132ac278db4.tar.gz scummvm-rg350-5b802a03e5c248ae14eab01233a86132ac278db4.tar.bz2 scummvm-rg350-5b802a03e5c248ae14eab01233a86132ac278db4.zip |
Enable object lock/unlock in HE 100 too.
Add comments
svn-id: r17503
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index ec5561edcc..8b635f0d45 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -603,12 +603,25 @@ void ScummEngine_v70he::o70_resourceRoutines() { loadFlObject(obj, room); break; } - case 120: /* queue for load */ + case 120: + // Queue load script + resid = pop(); + break; case 121: + // Queue load sound + resid = pop(); + break; case 122: + // Queue load costume + resid = pop(); + break; case 123: + // Queue load room image + resid = pop(); + break; case 203: - debug(5,"stub queueload (%d) resource %d", subOp, pop()); + // Queue load image + resid = pop(); break; case 159: resid = pop(); @@ -632,7 +645,6 @@ void ScummEngine_v70he::o70_resourceRoutines() { if (objidx == -1) break; res.lock(rtFlObject, _objs[objidx].fl_object_index); - debug(0,"stub o70_resourceRoutines lock object %d", resid); break; case 235: resid = pop(); @@ -640,7 +652,6 @@ void ScummEngine_v70he::o70_resourceRoutines() { if (objidx == -1) break; res.unlock(rtFlObject, _objs[objidx].fl_object_index); - debug(0,"stub o70_resourceRoutines unlock object %d", resid); break; case 239: // Used in airport |