[Scummvm-cvs-logs] CVS: scummvm/simon intern.h,1.16,1.17

Max Horn fingolfin at users.sourceforge.net
Tue May 20 07:44:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv2723

Modified Files:
	intern.h 
Log Message:
and more simon member vars

Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/intern.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- intern.h	20 May 2003 13:20:18 -0000	1.16
+++ intern.h	20 May 2003 14:43:22 -0000	1.17
@@ -59,7 +59,7 @@
 	uint16 xxx_1;									/* unused? */
 	Child *children;
 	
-	Item() { memset(this, 0, sizeof(Item)); }
+	Item() { memset(this, 0, sizeof(*this)); }
 };
 
 struct Subroutine {
@@ -91,6 +91,7 @@
 	uint8 textColumnOffset, textLength, textMaxLength;
     uint8 fill_color, text_color, unk5;
 	FillOrCopyData *fcs_data;
+	FillOrCopyStruct() { memset(this, 0, sizeof(*this)); }
 };
 // note on text offset: 
 // the actual x-coordinate is: textColumn * 8 + textColumnOffset





More information about the Scummvm-git-logs mailing list