aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/cursor.cpp3
-rw-r--r--engines/scumm/he/resource_he.cpp4
-rw-r--r--engines/scumm/he/wiz_he.cpp4
3 files changed, 5 insertions, 6 deletions
diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp
index 45ed70d8a5..66b3fc8a39 100644
--- a/engines/scumm/cursor.cpp
+++ b/engines/scumm/cursor.cpp
@@ -24,7 +24,6 @@
#include "common/system.h"
#include "common/util.h"
#include "graphics/cursorman.h"
-#include "graphics/paletteman.h"
#include "scumm/bomp.h"
#include "scumm/charset.h"
#include "scumm/intern.h"
@@ -178,7 +177,7 @@ void ScummEngine_v70he::setDefaultCursor() {
// Since white color position is not guaranteed
// we setup our own palette if supported by backend
- PaletteMan.replaceCursorPalette(palette, 0xfe, 2);
+ CursorMan.replaceCursorPalette(palette, 0xfe, 2);
updateCursor();
}
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp
index d20a03f255..3e67eb2e8f 100644
--- a/engines/scumm/he/resource_he.cpp
+++ b/engines/scumm/he/resource_he.cpp
@@ -33,7 +33,7 @@
#include "scumm/he/sound_he.h"
#include "sound/wave.h"
-#include "graphics/paletteman.h"
+#include "graphics/cursorman.h"
#include "common/stream.h"
#include "common/system.h"
@@ -112,7 +112,7 @@ void ResExtractor::setCursor(int id) {
}
if (cc->palette)
- PaletteMan.replaceCursorPalette(cc->palette, 0, cc->palSize);
+ CursorMan.replaceCursorPalette(cc->palette, 0, cc->palSize);
_vm->setCursorHotspot(cc->hotspot_x, cc->hotspot_y);
_vm->setCursorFromBuffer(cc->bitmap, cc->w, cc->h, cc->w);
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 244d8821a7..b555dfeb65 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -24,7 +24,7 @@
#include "common/stdafx.h"
#include "common/system.h"
-#include "graphics/paletteman.h"
+#include "graphics/cursorman.h"
#include "scumm/he/intern_he.h"
#include "scumm/resource.h"
#include "scumm/scumm.h"
@@ -1539,7 +1539,7 @@ void Wiz::loadWizCursor(int resId) {
_vm->setCursorFromBuffer(cursor, cw, ch, cw);
// Since we set up cursor palette for default cursor, disable it now
- PaletteMan.disableCursorPalette(true);
+ CursorMan.disableCursorPalette(true);
free(cursor);
}