aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-11-21 20:04:14 +0000
committerNicola Mettifogo2007-11-21 20:04:14 +0000
commit6af9577e84341630c00a29faa23d65a0d671aa81 (patch)
tree76d620fbdb2ae361f8fd3e23c1f6efdd0e589fd4 /engines/parallaction/parallaction_ns.cpp
parent634595e0738cfb55d922ab91cdea7460156306a9 (diff)
downloadscummvm-rg350-6af9577e84341630c00a29faa23d65a0d671aa81.tar.gz
scummvm-rg350-6af9577e84341630c00a29faa23d65a0d671aa81.tar.bz2
scummvm-rg350-6af9577e84341630c00a29faa23d65a0d671aa81.zip
* moved label drawing into Gfx, to be drawn directly in the framebuffer
* changed low level blitting function to accept Graphics::Surface to ease development * temporarily disabled labels/subtitles in BRA svn-id: r29593
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r--engines/parallaction/parallaction_ns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index 5ec2f3812c..b810ff7da7 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -204,7 +204,7 @@ void Parallaction_ns::setArrowCursor() {
debugC(1, kDebugInput, "setting mouse cursor to arrow");
// this stuff is needed to avoid artifacts with labels and selected items when switching cursors
- hideLabel(kPriority15);
+ _gfx->setLabel(0);
_activeItem._id = 0;
_system->setMouseCursor(_mouseArrow, MOUSEARROW_WIDTH, MOUSEARROW_HEIGHT, 0, 0, 0);
@@ -317,7 +317,7 @@ void Parallaction_ns::changeLocation(char *location) {
// WORKAROUND: this hideLabel has been added to avoid crashes caused by
// execution of label jobs after a location switch. The other workaround in
// Parallaction::runGame should have been rendered useless by this one.
- hideLabel(kPriority99);
+ _gfx->setLabel(0);
_hoverZone = NULL;
if (_engineFlags & kEngineBlockInput) {