[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.397,1.398 scumm.cpp,1.688,1.689 scumm.h,1.664,1.665 vars.cpp,1.160,1.161

kirben kirben at users.sourceforge.net
Sat Jan 14 02:11:00 CET 2006


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28214/scumm

Modified Files:
	actor.cpp scumm.cpp scumm.h vars.cpp 
Log Message:

HE80+ games may redraw all actors via scumm variable.
Used by many of the arcade games.


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -d -r1.397 -r1.398
--- actor.cpp	10 Jan 2006 21:39:13 -0000	1.397
+++ actor.cpp	14 Jan 2006 10:09:50 -0000	1.398
@@ -1257,7 +1257,7 @@
 
 	// Redraw all actors if a full redraw was requested.
 	// Also redraw all actors in COMI (see bug #1066329 for details).
-	if (_fullRedraw || _version == 8) {
+	if (_fullRedraw || _version == 8 || (VAR_REDRAW_ALL_ACTORS != 0xFF && VAR(VAR_REDRAW_ALL_ACTORS) != 0)) {
 		for (j = 1; j < _numActors; j++) {
 			_actors[j]._needRedraw = true;
 		}

Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.688
retrieving revision 1.689
diff -u -d -r1.688 -r1.689
--- scumm.cpp	14 Jan 2006 09:28:37 -0000	1.688
+++ scumm.cpp	14 Jan 2006 10:09:50 -0000	1.689
@@ -1354,13 +1354,16 @@
 	VAR_MUSIC_BUNDLE_LOADED = 0xFF;
 	VAR_VOICE_BUNDLE_LOADED = 0xFF;
 
+	VAR_REDRAW_ALL_ACTORS = 0xFF;
 	VAR_SKIP_RESET_TALK_ACTOR = 0xFF;
+
 	VAR_MUSIC_CHANNEL = 0xFF;
 	VAR_SOUND_CHANNEL = 0xFF;
 	VAR_SOUNDCODE_TMR = 0xFF;
 	VAR_DEFAULT_SOUND_CHANNEL = 0xFF;
 
 	VAR_MAIN_SCRIPT = 0xFF;
+
 	VAR_NUM_SCRIPT_CYCLES = 0xFF;
 	VAR_SCRIPT_CYCLE = 0xFF;
 

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.664
retrieving revision 1.665
diff -u -d -r1.664 -r1.665
--- scumm.h	14 Jan 2006 09:28:38 -0000	1.664
+++ scumm.h	14 Jan 2006 10:09:50 -0000	1.665
@@ -1329,13 +1329,16 @@
 	byte VAR_CLICK_AREA;
 
 	// HE specific variables
+	byte VAR_REDRAW_ALL_ACTORS;
 	byte VAR_SKIP_RESET_TALK_ACTOR;
+
 	byte VAR_MUSIC_CHANNEL;
 	byte VAR_SOUND_CHANNEL;
 	byte VAR_SOUNDCODE_TMR;
 	byte VAR_DEFAULT_SOUND_CHANNEL;
 
 	byte VAR_MAIN_SCRIPT;
+
 	byte VAR_SCRIPT_CYCLE;
 	byte VAR_NUM_SCRIPT_CYCLES;
 

Index: vars.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/vars.cpp,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- vars.cpp	14 Jan 2006 09:28:38 -0000	1.160
+++ vars.cpp	14 Jan 2006 10:09:50 -0000	1.161
@@ -301,6 +301,7 @@
 		VAR_SOUNDCODE_TMR = 84;
 		VAR_KEY_STATE = 86;
 		VAR_NUM_SOUND_CHANNELS = 88;
+		VAR_REDRAW_ALL_ACTORS = 95;
 	if (_heversion >= 90) {
 		VAR_SCRIPT_CYCLE = 103;
 		VAR_NUM_SCRIPT_CYCLES = 104;





More information about the Scummvm-git-logs mailing list