aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/gfx.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index 524610eece..b882c9760e 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -1109,6 +1109,16 @@ void OSRenderer::renderOverlay(const Common::List<overlay>::iterator &it) {
maskBgOverlay(_bgTable[it->x].bg, sprite->data(), sprite->_realWidth, sprite->_height, _backBuffer, obj->x, obj->y);
break;
+ // TODO: Figure out what this overlay type is and name it
+ // TODO: Check it this implementation really works correctly (Some things might be wrong, needs testing)
+ case 22: {
+ assert(it->objIdx < NUM_MAX_OBJECT);
+ obj = objectTable + it->objIdx;
+ byte transCol = obj->part & 0x0F;
+ drawPlainBox(obj->x, obj->y, obj->frame, obj->costume, transCol);
+ break;
+ }
+
// something else
default:
FWRenderer::renderOverlay(it);