diff options
author | Filippos Karapetis | 2007-04-27 15:53:25 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-04-27 15:53:25 +0000 |
commit | a1217a9b6a38ba91e93968cc63e4d917246150ae (patch) | |
tree | 15abe11b384377eda99bec839929b6808f5df8a8 | |
parent | 1ef6a1a7a1e76945ee37ac60989a79472a131739 (diff) | |
download | scummvm-rg350-a1217a9b6a38ba91e93968cc63e4d917246150ae.tar.gz scummvm-rg350-a1217a9b6a38ba91e93968cc63e4d917246150ae.tar.bz2 scummvm-rg350-a1217a9b6a38ba91e93968cc63e4d917246150ae.zip |
Fixed some warnings and unused variables
svn-id: r26611
-rw-r--r-- | engines/cruise/actor.cpp | 4 | ||||
-rw-r--r-- | engines/cruise/cruise_main.cpp | 10 | ||||
-rw-r--r-- | engines/cruise/function.cpp | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp index 0f684555fc..b819eb680c 100644 --- a/engines/cruise/actor.cpp +++ b/engines/cruise/actor.cpp @@ -492,7 +492,7 @@ void explore( int depart, int arrivee ) void chemin0( int depart, int arrivee ) { int i; - int y=30; + //int y=30; prem = 0; prem2 = 0; @@ -510,7 +510,7 @@ void chemin0( int depart, int arrivee ) 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; diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 841db68fe1..25ec7ec273 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1474,14 +1474,14 @@ void mainLoop(void) #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; diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index ed81853cc5..bf0e92b24a 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1047,11 +1047,13 @@ int16 Op_removeBackgroundIncrust(void) 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_releaseOverlay(void) 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); |