aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/screen.cpp')
-rw-r--r--engines/mads/screen.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index f4441ca969..5f09737620 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -85,8 +85,7 @@ void DirtyArea::setSpriteSlot(const SpriteSlot *spriteSlot) {
_bounds.top = 0;
width = MADS_SCREEN_WIDTH;
height = MADS_SCENE_HEIGHT;
- }
- else {
+ } else {
// Standard sprite slots
_bounds.left = spriteSlot->_position.x - scene._posAdjust.x;
_bounds.top = spriteSlot->_position.y - scene._posAdjust.y;
@@ -548,7 +547,6 @@ void ScreenObjects::setActive(ScrCategory category, int descId, bool active) {
/*------------------------------------------------------------------------*/
ScreenSurface::ScreenSurface() {
- _dataP = nullptr;
}
void ScreenSurface::init() {
@@ -610,10 +608,6 @@ void ScreenSurface::transition(ScreenTransition transitionType, bool surfaceFlag
}
}
-void ScreenSurface::setPointer(MSurface *s) {
- _dataP = s->getData();
-}
-
void ScreenSurface::fadeOut() {
warning("TODO: Proper fade out");
}