From 6c0a24fd7c2f97393b10b7ddeffefbd912823f53 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 11 Dec 2012 03:06:50 +0200 Subject: TINSEL: Add an initial incomplete graphics decoder for DW1 Mac Part of the game graphics is now shown --- engines/tinsel/graphics.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'engines') 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) { -- cgit v1.2.3