[Scummvm-cvs-logs] CVS: scummvm/scumm/smush codec47.cpp,1.12,1.13

Max Horn fingolfin at users.sourceforge.net
Wed Jan 8 13:30:05 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1:/tmp/cvs-serv24929/scumm/smush

Modified Files:
	codec47.cpp 
Log Message:
fix warnings

Index: codec47.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/codec47.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- codec47.cpp	8 Jan 2003 21:05:56 -0000	1.12
+++ codec47.cpp	8 Jan 2003 21:29:37 -0000	1.13
@@ -20,7 +20,7 @@
  */
 
 #include <stdafx.h>
-#include "../scumm.h"
+#include "scumm/scumm.h"
 #include "engine.h"
 #include "codec47.h"
 #include "chunk.h"
@@ -283,7 +283,7 @@
 	int32 * tmp_table37_1_2, * tmp_table37_1_1, * tmp_table37_2_2, * tmp_table37_2_1;
 	int32 value_table37_1_1, value_table37_1_2;
 	int32 table[64], tmp_a, tmp_c, tmp_d, s, p, d, tmp_ib, tmp;
-	int32 * table37_1, * table37_2, * tmp_table, l;
+	int32 * table37_1 = 0, * table37_2 = 0, * tmp_table, l;
 	byte * ptr;
 
 	if (param == 8) {
@@ -938,11 +938,13 @@
 
 static byte * g_out;
 
+/*
 static void disp() {
 	g_scumm->_system->copy_rect((const byte *)g_out, 640, 0, 0, 640, 480);
 	g_scumm->_system->update_screen();
 	g_scumm->waitForTimer(100);
 }
+*/
 
 static void decode2(byte * dst, byte * src, int32 offset1, int32 offset2, int32 pitch,
 						 int16 * tmp_table, byte * param_ptr, int32 height, int32,





More information about the Scummvm-git-logs mailing list