diff options
author | Travis Howell | 2006-10-13 11:38:41 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-13 11:38:41 +0000 |
commit | f46fb07f277cef1828c3807a38230db604df58d6 (patch) | |
tree | 5b72eea95a7b30092850f428b6dda23b98233143 /engines/agos/icons.cpp | |
parent | 0385a4d2bbcde1fac41452f5f75f091c3e84e533 (diff) | |
download | scummvm-rg350-f46fb07f277cef1828c3807a38230db604df58d6.tar.gz scummvm-rg350-f46fb07f277cef1828c3807a38230db604df58d6.tar.bz2 scummvm-rg350-f46fb07f277cef1828c3807a38230db604df58d6.zip |
Add differences in opcode table for Elvira 2 and cleanup
svn-id: r24294
Diffstat (limited to 'engines/agos/icons.cpp')
-rw-r--r-- | engines/agos/icons.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp index eeee459af3..14d312b8c5 100644 --- a/engines/agos/icons.cpp +++ b/engines/agos/icons.cpp @@ -199,6 +199,9 @@ void AGOSEngine::draw_icon_c(WindowBlock *window, uint icon, uint x, uint y) { src += READ_LE_UINT16(&((uint16 *)src)[icon]); decompressIcon(dst, src, 24, 12, 224, _dxSurfacePitch); } + } else if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) { + // TODO + } else if (getGameType() == GType_ELVIRA1) { dst += (x + window->x) * 8; dst += (y * 8 + window->y) * _dxSurfacePitch; @@ -206,8 +209,6 @@ void AGOSEngine::draw_icon_c(WindowBlock *window, uint icon, uint x, uint y) { src = _iconFilePtr; src += icon * 288; decompressIconAmiga(dst, src, 16, _dxSurfacePitch, false); - } else { - // TODO } _lockWord &= ~0x8000; |