diff options
author | Travis Howell | 2005-03-03 03:06:30 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-03 03:06:30 +0000 |
commit | 78e3fc94155fa760819f74b038346251a35d3905 (patch) | |
tree | 3dd7d4cf1e988e96649c9ba1c7a332810e3dbaee /scumm | |
parent | e85baf02d14d09eae9631697fabcfaea742b2934 (diff) | |
download | scummvm-rg350-78e3fc94155fa760819f74b038346251a35d3905.tar.gz scummvm-rg350-78e3fc94155fa760819f74b038346251a35d3905.tar.bz2 scummvm-rg350-78e3fc94155fa760819f74b038346251a35d3905.zip |
Add missing actor redraws
svn-id: r16980
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v100he.cpp | 4 | ||||
-rw-r--r-- | scumm/script_v6he.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v72he.cpp | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index d0433a31b0..8b380acce5 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -473,13 +473,16 @@ void ScummEngine_v100he::o100_actorOps() { i = pop(); checkRange(255, 0, i, "o100_actorOps: Illegal palette slot %d"); a->remapActorPaletteColor(i, j); + a->needRedraw = true; break; case 59: // Uses reverse order of layering, so we adjust a->_layer = -pop(); + a->needRedraw = true; break; case 63: a->hePaletteNum = pop(); + a->needRedraw = true; break; case 65: // SO_SCALE i = pop(); @@ -487,6 +490,7 @@ void ScummEngine_v100he::o100_actorOps() { break; case 70: // SO_SHADOW a->_shadowMode = pop(); + a->needRedraw = true; debug(0, "o100_actorOps: Set actor XMAP idx to %d", a->_shadowMode); break; case 74: // SO_STEP_DIST diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 438bfe4a7e..28f0523e90 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -659,6 +659,7 @@ void ScummEngine_v60he::o60_actorOps() { i = pop(); checkRange(255, 0, i, "Illegal palette slot %d"); a->remapActorPaletteColor(i, j); + a->needRedraw = true; break; case 87: // SO_TALK_COLOR a->talkColor = pop(); @@ -699,6 +700,7 @@ void ScummEngine_v60he::o60_actorOps() { break; case 98: // SO_SHADOW a->_shadowMode = pop(); + a->needRedraw = true; break; case 99: // SO_TEXT_OFFSET a->talkPosY = pop(); diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index c32eef2963..0170fdc5d5 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -995,6 +995,7 @@ void ScummEngine_v72he::o72_actorOps() { case 43: // HE 90+ // Uses reverse order of layering, so we adjust a->_layer = -pop(); + a->needRedraw = true; break; case 64: case 67: // HE 99+ @@ -1059,6 +1060,7 @@ void ScummEngine_v72he::o72_actorOps() { i = pop(); checkRange(255, 0, i, "Illegal palette slot %d"); a->remapActorPaletteColor(i, j); + a->needRedraw = true; break; case 87: // SO_TALK_COLOR a->talkColor = pop(); @@ -1100,6 +1102,7 @@ void ScummEngine_v72he::o72_actorOps() { break; case 98: // SO_SHADOW a->_shadowMode = pop(); + a->needRedraw = true; debug(0, "Set actor XMAP idx to %d", a->_shadowMode); break; case 99: // SO_TEXT_OFFSET |