[Scummvm-cvs-logs] SF.net SVN: scummvm: [26611] scummvm/trunk/engines/cruise

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Apr 27 17:53:26 CEST 2007


Revision: 26611
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26611&view=rev
Author:   thebluegr
Date:     2007-04-27 08:53:25 -0700 (Fri, 27 Apr 2007)

Log Message:
-----------
Fixed some warnings and unused variables

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/actor.cpp
    scummvm/trunk/engines/cruise/cruise_main.cpp
    scummvm/trunk/engines/cruise/function.cpp

Modified: scummvm/trunk/engines/cruise/actor.cpp
===================================================================
--- scummvm/trunk/engines/cruise/actor.cpp	2007-04-27 15:35:28 UTC (rev 26610)
+++ scummvm/trunk/engines/cruise/actor.cpp	2007-04-27 15:53:25 UTC (rev 26611)
@@ -492,7 +492,7 @@
 void	chemin0( int depart, int arrivee )
 {
 	int	i;
-	int	y=30;
+	//int	y=30;
 	
 	prem  = 0;
 	prem2 = 0;
@@ -510,7 +510,7 @@
 void valide_noeud( int16 table[], int16 p, int *nclick, int16 solution0[20+3][2] )
 {
 	int	a, b, d, i, p1, x1, x2, y1, y2;
-	int	y=30;
+	//int	y=30;
 
 	table[*nclick]=p;
 	table[(*nclick)+1]=-1;	

Modified: scummvm/trunk/engines/cruise/cruise_main.cpp
===================================================================
--- scummvm/trunk/engines/cruise/cruise_main.cpp	2007-04-27 15:35:28 UTC (rev 26610)
+++ scummvm/trunk/engines/cruise/cruise_main.cpp	2007-04-27 15:53:25 UTC (rev 26611)
@@ -1474,14 +1474,14 @@
   #define SLEEP_GRAN 1         /* Granularity of sleep */
 
   int frames=0;                   /* Number of frames displayed */
-  int32 t_start,t_left;
-  uint32 t_end;
+  //int32 t_start,t_left;
+  //uint32 t_end;
   int32 q=0;                     /* Dummy */
 
   int enableUser = 0;
-  int16 mouseX;
-  int16 mouseY;
-  int16 mouseButton;
+  //int16 mouseX;
+  //int16 mouseY;
+  //int16 mouseButton;
 
   scriptNameBuffer[0] = 0;
   systemStrings.bootScriptName[0] = 0;

Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp	2007-04-27 15:35:28 UTC (rev 26610)
+++ scummvm/trunk/engines/cruise/function.cpp	2007-04-27 15:53:25 UTC (rev 26611)
@@ -1047,11 +1047,13 @@
 
 int16 Op_D(void) // TODO: palette manipulation
 {
+  /*
   int var_4 = popVar();
   int var_6 = popVar();
   int var_8 = popVar();
   int si = popVar();
   int di = popVar();
+  */
 
   return 0;
 }
@@ -1081,11 +1083,13 @@
 
 int16 Op_drawLine(void)
 {
+  /*
   int di = popVar();
   int var_2 = popVar();
   int var_4 = popVar();
   int var_6 = popVar();
   uint8* ptr = (uint8*)popPtr();
+  */
 
   //drawLinePtr(var_6, var_4, var_2, ptr);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list