[Scummvm-cvs-logs] CVS: scummvm/scumm script_v100he.cpp,2.15,2.16 scumm.cpp,1.257,1.258

Travis Howell kirben at users.sourceforge.net
Wed Oct 13 02:21:08 CEST 2004


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

Modified Files:
	script_v100he.cpp scumm.cpp 
Log Message:

Add for HE100 too.


Index: script_v100he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v100he.cpp,v
retrieving revision 2.15
retrieving revision 2.16
diff -u -d -r2.15 -r2.16
--- script_v100he.cpp	12 Oct 2004 14:40:32 -0000	2.15
+++ script_v100he.cpp	13 Oct 2004 09:18:17 -0000	2.16
@@ -1262,7 +1262,8 @@
 		pop();
 		break;
 	case 92:
-		_sound->addSoundToQueue(_heSndSoundId, _heSndOffset);
+		debug(0, "o100_startSound (ID %d, Offset %d, Channel %d, Flags %d)", _heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
+		_sound->addSoundToQueue(_heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
 		break;
 	case 128:
 		_heSndFlags |= 2;

Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -d -r1.257 -r1.258
--- scumm.cpp	13 Oct 2004 08:08:45 -0000	1.257
+++ scumm.cpp	13 Oct 2004 09:18:17 -0000	1.258
@@ -1330,6 +1330,11 @@
 
 void ScummEngine_v90he::scummInit() {
 	ScummEngine_v80he::scummInit();
+
+	_heObject = 0;
+	_heObjectNum = 0;
+	_hePaletteNum = 0;
+
 	memset(&_wizParams, 0, sizeof(_wizParams));
 }
 





More information about the Scummvm-git-logs mailing list