Skip to content

Commit

Permalink
TINSEL: Add an initial incomplete graphics decoder for DW1 Mac
Browse files Browse the repository at this point in the history
Part of the game graphics is now shown
  • Loading branch information
bluegr committed Dec 11, 2012
1 parent e21a547 commit 6c0a24f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions engines/tinsel/graphics.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 6c0a24f

Please sign in to comment.