diff options
author | Travis Howell | 2006-10-09 10:26:27 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-09 10:26:27 +0000 |
commit | b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0 (patch) | |
tree | 0ade0fbdf83816e130f41a7fa789ee95cf7e7713 /engines/agos/vga.cpp | |
parent | 05dfe432affda2a9f35712b20257d1b07f83abde (diff) | |
download | scummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.tar.gz scummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.tar.bz2 scummvm-rg350-b2d4d36e8bf954aaa82cb6cadeb07fbc17d569f0.zip |
Add Amiga ECS verison of Simon the Sorcerer 1
svn-id: r24250
Diffstat (limited to 'engines/agos/vga.cpp')
-rw-r--r-- | engines/agos/vga.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index 7125a97908..c833eb12c8 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -959,6 +959,10 @@ void AGOSEngine::vc10_draw() { state.palette = 0; } + if (getFeatures() & GF_32COLOR) { + state.palette = 0; + } + state.x = (int16)vcReadNextWord(); state.x -= _scrollX; @@ -2147,9 +2151,10 @@ void AGOSEngine::vc44_skipIfBitSet() { void AGOSEngine::vc45_setSpriteX() { if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) { - //FIXME - vcReadNextWord(); - vcReadNextWord(); + uint num = vcReadNextWord(); + uint color = vcReadNextWord(); + + debug(0, "vc45: window %d color %d\n", num, color); } else { VgaSprite *vsp = findCurSprite(); vsp->x = vcReadVar(vcReadNextWord()); |