diff options
author | Eugene Sandulenko | 2004-06-06 02:20:53 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-06-06 02:20:53 +0000 |
commit | 7b2a81a8a673493b829524c0189f4ced99cffc53 (patch) | |
tree | a56bd43a471739414d016aa83aa511c84a46f4ec /scumm/script_v6.cpp | |
parent | d39cf192db6680ebda0ed59ef4e453531006aaae (diff) | |
download | scummvm-rg350-7b2a81a8a673493b829524c0189f4ced99cffc53.tar.gz scummvm-rg350-7b2a81a8a673493b829524c0189f4ced99cffc53.tar.bz2 scummvm-rg350-7b2a81a8a673493b829524c0189f4ced99cffc53.zip |
o more _heversion usage
o hack to ensure 1x scaler is selected for 640x480 games. Begs for better
implementation
o 7.0+-specific extendions to
* resource loading
* o6_resourceRoutines
* o6_actorOps
* o7_pickupObject
* ScummEngine::setVerbObject
Now puttputt.w32 script execution advances little more.
svn-id: r13938
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 48 |
1 files changed, 41 insertions, 7 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 062e7f25fb..4199117852 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -394,6 +394,7 @@ int ScummEngine_v6::popRoomAndObj(int *room) { obj = pop(); } + return obj; } @@ -930,8 +931,9 @@ void ScummEngine_v6::o6_cursorCommand() { case 0x97: // SO_USERPUT_SOFT_OFF _userPut--; break; - case 0x99:{ // SO_CURSOR_IMAGE Set cursor image - if ((_features & GF_HUMONGOUS) && (_features & GF_WINDOWS)) { + case 0x99: // SO_CURSOR_IMAGE Set cursor image + { + if (_heversion >= 70) { // Windows titles warning("cursorCommand 0x99 PC_SetCursorToID(%d) stub", pop()); break; } @@ -1557,11 +1559,43 @@ void ScummEngine_v6::o6_resourceRoutines() { loadFlObject(obj, room); break; } - case 120:{ /* queue ? for load */ - warning("stub queueload resource %d", pop()); - // QL_QueGlobForLoad(2, pop(), 1); - break; - + case 120: /* queue ? for load */ + { + if (_heversion < 70) + error("o6_resourceRoutines: default case %d", op); + + warning("stub queueload resource 2, %d", pop()); + // QL_QueGlobForLoad(2, pop(), 1); + break; + } + case 121: + { + if (_heversion < 70) + error("o6_resourceRoutines: default case %d", op); + + warning("stub queueload resource 4, %d", pop()); + // QL_QueGlobForLoad(4, pop(), 1); + break; + } + case 122: + { + if (_heversion < 70) + error("o6_resourceRoutines: default case %d", op); + + warning("stub queueload resource 3, %d", pop()); + // QL_QueGlobForLoad(3, pop(), 1); + break; + } + case 123: + { + if (_heversion < 70) + error("o6_resourceRoutines: default case %d", op); + + resid = pop(); + warning("stub queueload resource 18, %d", resid); + // QL_QueGlobForLoad(18, resid, 1); + // QL_QueGlobForLoad(1, resid, 1); + break; } default: error("o6_resourceRoutines: default case %d", op); |