aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-11-22 21:51:33 +0000
committerNicola Mettifogo2007-11-22 21:51:33 +0000
commit919c0a2833273d3ae92d0eb3635a479c34e1ced9 (patch)
tree66cdf8a6d46da4e6a57e7e64351ba43c6671b9cc /engines/parallaction/parallaction_ns.cpp
parentf4946e64008ebebcbba340c7b0d51ad466219e85 (diff)
downloadscummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.tar.gz
scummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.tar.bz2
scummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.zip
* added adapter from Graphics::Surface to Frames
* changed all Disk routines to return Frames* instead of Graphics::Surface* * changed displayItemComment to use new gfx routines * merged code for Examine zones into displayComment svn-id: r29615
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r--engines/parallaction/parallaction_ns.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index b810ff7da7..6541498988 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -146,10 +146,8 @@ int Parallaction_ns::init() {
Parallaction_ns::~Parallaction_ns() {
freeFonts();
- _mouseComposedArrow->free();
delete _mouseComposedArrow;
-
delete _commandsNames;
delete _instructionNames;
delete _locationStmt;
@@ -223,7 +221,7 @@ void Parallaction_ns::setInventoryCursor(int pos) {
_activeItem._id = item->_id;
- byte *v8 = (byte*)_mouseComposedArrow->pixels;
+ byte *v8 = _mouseComposedArrow->getData(0);
// FIXME: destination offseting is not clear
byte* s = _char._objs->getData(item->_index);