aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-11 03:06:50 +0200
committerFilippos Karapetis2012-12-11 03:06:50 +0200
commit6c0a24fd7c2f97393b10b7ddeffefbd912823f53 (patch)
tree044a7136cf62f4e3291db4ee1d204f98063fd79f /engines
parente21a547667b6b84d353fc5d3d446826b169f72b1 (diff)
downloadscummvm-rg350-6c0a24fd7c2f97393b10b7ddeffefbd912823f53.tar.gz
scummvm-rg350-6c0a24fd7c2f97393b10b7ddeffefbd912823f53.tar.bz2
scummvm-rg350-6c0a24fd7c2f97393b10b7ddeffefbd912823f53.zip
TINSEL: Add an initial incomplete graphics decoder for DW1 Mac
Part of the game graphics is now shown
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/graphics.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp
index 4487a94df8..8533be4631 100644
--- a/engines/tinsel/graphics.cpp
+++ b/engines/tinsel/graphics.cpp
@@ -896,6 +896,21 @@ void DrawObject(DRAWOBJECT *pObj) {
default:
error("Unknown drawing type %d", typeId);
}
+ } else if (TinselV1Mac) {
+ // Tinsel v1 Mac decoders
+ // TODO: Finish this
+ switch (typeId) {
+ case 0x01:
+ case 0x41:
+ // TODO
+ break;
+ case 0x08:
+ case 0x48:
+ WrtAll(pObj, srcPtr, destPtr, typeId >= 0x40);
+ break;
+ default:
+ error("Unknown drawing type %d", typeId);
+ }
} else if (TinselV1) {
// Tinsel v1 decoders
switch (typeId) {