aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-24 02:36:17 +0000
committerEugene Sandulenko2004-06-24 02:36:17 +0000
commit9fae63756b8f3ff4e269e711c664545196a3b69f (patch)
treeffdef4dc2f265e27f6b37335525cf1fb279970ab /scumm/script_v6.cpp
parent90032ce348e6f36883e7b5c0ae83ae55817e0f43 (diff)
downloadscummvm-rg350-9fae63756b8f3ff4e269e711c664545196a3b69f.tar.gz
scummvm-rg350-9fae63756b8f3ff4e269e711c664545196a3b69f.tar.bz2
scummvm-rg350-9fae63756b8f3ff4e269e711c664545196a3b69f.zip
Phase #1 of HE v7.0+ cursors. Basically it's Win32 resource extractor
incorporated from icotools, no display, just searching it in resources and display a warning. Graphics converter is on the way. Code is NOT endian-safe. It will not work on BE system, as was tested by joostp. Please, fix endianess. svn-id: r14024
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 2bb0ce463d..ce3f5a8ea2 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -33,6 +33,7 @@
#include "scumm/intern.h"
#include "scumm/object.h"
#include "scumm/resource.h"
+#include "scumm/resource_v7he.h"
#include "scumm/scumm.h"
#include "scumm/sound.h"
#include "scumm/verbs.h"
@@ -934,7 +935,7 @@ void ScummEngine_v6::o6_cursorCommand() {
case 0x99: // SO_CURSOR_IMAGE Set cursor image
{
if (_heversion >= 70) { // Windows titles
- warning("cursorCommand 0x99 PC_SetCursorToID(%d) stub", pop());
+ _Win32ResExtractor->extractCursor(pop());
break;
}
int room, obj = popRoomAndObj(&room);