aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_br.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_br.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_br.cpp')
-rw-r--r--engines/parallaction/parallaction_br.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp
index 232e08799e..b832b50fd9 100644
--- a/engines/parallaction/parallaction_br.cpp
+++ b/engines/parallaction/parallaction_br.cpp
@@ -92,10 +92,6 @@ int Parallaction_br::init() {
Parallaction_br::~Parallaction_br() {
freeFonts();
- _dinoCursor->free();
- _dougCursor->free();
- _donnaCursor->free();
-
delete _dinoCursor;
delete _dougCursor;
delete _donnaCursor;
@@ -308,7 +304,10 @@ void Parallaction_br::initCursors() {
void Parallaction_br::setMousePointer(int16 index) {
- _system->setMouseCursor((byte*)_mouseArrow->pixels, _mouseArrow->w, _mouseArrow->h, 0, 0, 0);
+ Common::Rect r;
+ _mouseArrow->getRect(0, r);
+
+ _system->setMouseCursor(_mouseArrow->getData(0), r.width(), r.height(), 0, 0, 0);
_system->showMouse(true);
}