[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,1.73,1.74

Lionel Ulmer bbrox at users.sourceforge.net
Wed Nov 13 08:29:24 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv12842/scumm

Modified Files:
	scummvm.cpp 
Log Message:
Some other inits added to prepare for the 'new / delete' overloading
removal.



Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- scummvm.cpp	10 Nov 2002 17:19:43 -0000	1.73
+++ scummvm.cpp	13 Nov 2002 15:44:33 -0000	1.74
@@ -108,7 +108,14 @@
 	_noSubtitles = detector->_noSubtitles;
 	_defaultTalkDelay = detector->_talkSpeed;
 	_use_adlib = detector->_use_adlib;
-	
+	memset(&res, 0, sizeof(res));
+	_allocatedSize = 0;
+	_roomResource = 0;
+	_lastLoadedRoom = 0;
+	_expire_counter = 0;
+	_dynamicRoomOffsets = 0;
+	_shakeEnabled = 0;
+
 	if (_gameId == GID_ZAK256) {	// FmTowns is 320x240
 		_realWidth = 320;
 		_realHeight = 240;





More information about the Scummvm-git-logs mailing list