aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
authorStrangerke2011-07-12 07:24:20 +0200
committerStrangerke2011-07-12 07:24:20 +0200
commitdab96401ad352512a8ffa8c1d7baeb431ade7b8c (patch)
tree8f5a019d1702c9ad626de5c1ffde2cb481c38380 /engines/cge/snail.cpp
parent9ba5e2b304e6ba7ca9d0b782ad8e5dfd98317b02 (diff)
downloadscummvm-rg350-dab96401ad352512a8ffa8c1d7baeb431ade7b8c.tar.gz
scummvm-rg350-dab96401ad352512a8ffa8c1d7baeb431ade7b8c.tar.bz2
scummvm-rg350-dab96401ad352512a8ffa8c1d7baeb431ade7b8c.zip
CGE: Implement snGhost by splitting _m field in two. Some cleanup.
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index 242fb067e7..bc9d212468 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -309,11 +309,10 @@ void CGEEngine::hide1(Sprite *spr) {
}
void CGEEngine::snGhost(Bitmap *bmp) {
- // TODO : Get x and y from M but not using segment / offset
- //bmp->Hide(FP_OFF(bmp->_m), FP_SEG(bmp->_m));
+ bmp->hide(bmp->_map & 0xFFFF, bmp->_map >> 16);
bmp->_m = NULL;
+ bmp->_map = 0;
delete bmp;
- warning("STUB: SNGhost");
}
void CGEEngine::feedSnail(Sprite *spr, SNLIST snq) {