[Scummvm-cvs-logs] CVS: scummvm/scumm vars.cpp,1.121,1.122

kirben kirben at users.sourceforge.net
Mon Apr 18 20:32:32 CEST 2005


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

Modified Files:
	vars.cpp 
Log Message:

These VARS are HE95+ specific.


Index: vars.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/vars.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- vars.cpp	17 Apr 2005 03:09:03 -0000	1.121
+++ vars.cpp	19 Apr 2005 03:32:08 -0000	1.122
@@ -271,7 +271,8 @@
 	if (_heversion >= 90) {
 		VAR_SCRIPT_CYCLE = 103;
 		VAR_NUM_SCRIPT_CYCLES = 104;
-
+	}
+	if (_heversion >= 95) {
 		VAR_NUM_SPRITE_GROUPS = 105;
 		VAR_NUM_SPRITES = 106;
 		VAR_WIZ_TCOLOR = 117;
@@ -522,7 +523,8 @@
 		if (_heversion >= 90) {
 			VAR(VAR_SCRIPT_CYCLE) = 1;
 			VAR(VAR_NUM_SCRIPT_CYCLES) = 1;
-
+		}
+		if (_heversion >= 95) {
 			VAR(VAR_NUM_SPRITE_GROUPS) = MAX(64, _numSprites / 4) - 1;
 			VAR(VAR_NUM_SPRITES) = _numSprites - 1;
 			VAR(VAR_WIZ_TCOLOR) = 5;





More information about the Scummvm-git-logs mailing list