[Scummvm-cvs-logs] CVS: scummvm/scumm script_v100he.cpp,2.72,2.73 script_v6he.cpp,2.143,2.144 script_v72he.cpp,2.210,2.211
kirben
kirben at users.sourceforge.net
Wed Mar 2 22:08:06 CET 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27282/scumm
Modified Files:
script_v100he.cpp script_v6he.cpp script_v72he.cpp
Log Message:
Add missing actor redraws
Index: script_v100he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v100he.cpp,v
retrieving revision 2.72
retrieving revision 2.73
diff -u -d -r2.72 -r2.73
--- script_v100he.cpp 2 Mar 2005 23:57:19 -0000 2.72
+++ script_v100he.cpp 3 Mar 2005 03:06:30 -0000 2.73
@@ -473,13 +473,16 @@
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 @@
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
Index: script_v6he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6he.cpp,v
retrieving revision 2.143
retrieving revision 2.144
diff -u -d -r2.143 -r2.144
--- script_v6he.cpp 22 Feb 2005 13:54:38 -0000 2.143
+++ script_v6he.cpp 3 Mar 2005 03:06:30 -0000 2.144
@@ -659,6 +659,7 @@
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 @@
break;
case 98: // SO_SHADOW
a->_shadowMode = pop();
+ a->needRedraw = true;
break;
case 99: // SO_TEXT_OFFSET
a->talkPosY = pop();
Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.210
retrieving revision 2.211
diff -u -d -r2.210 -r2.211
--- script_v72he.cpp 3 Mar 2005 02:51:15 -0000 2.210
+++ script_v72he.cpp 3 Mar 2005 03:06:30 -0000 2.211
@@ -995,6 +995,7 @@
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 @@
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 @@
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
More information about the Scummvm-git-logs
mailing list