[Scummvm-cvs-logs] SF.net SVN: scummvm:[54718] scummvm/trunk/engines/gob

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Dec 1 21:17:31 CET 2010


Revision: 54718
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54718&view=rev
Author:   strangerke
Date:     2010-12-01 20:17:31 +0000 (Wed, 01 Dec 2010)

Log Message:
-----------
GOB: little clean-up

Remove a useless include of cursorman.h and several 
superflous empty lines.

Modified Paths:
--------------
    scummvm/trunk/engines/gob/draw_fascin.cpp
    scummvm/trunk/engines/gob/draw_playtoons.cpp

Modified: scummvm/trunk/engines/gob/draw_fascin.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw_fascin.cpp	2010-12-01 20:11:24 UTC (rev 54717)
+++ scummvm/trunk/engines/gob/draw_fascin.cpp	2010-12-01 20:17:31 UTC (rev 54718)
@@ -23,9 +23,6 @@
  *
  */
 
-//#include "common/endian.h"
-//#include "graphics/cursorman.h"
-
 #include "gob/draw.h"
 #include "gob/game.h"
 #include "gob/global.h"
@@ -78,7 +75,6 @@
 		}
 	}
 
-
 	int16 spriteLeft = _spriteLeft;
 	int16 spriteTop = _spriteTop;
 	int16 spriteRight = _spriteRight;
@@ -103,7 +99,6 @@
 			if (_destSurface < 24)
 				_destSurface += 4;
 		}
-
 	}
 
 	adjustCoords(0, &_destSpriteX, &_destSpriteY);
@@ -239,7 +234,6 @@
 					_destSpriteX += font->getCharWidth(_textToPrint[i]);
 				}
 			}
-
 		} else {
 			sourceSurf = _spritesArray[_fontToSprite[_fontIndex].sprite];
 			ratio = ((sourceSurf == _frontSurface) || (sourceSurf == _backSurface)) ?
@@ -411,7 +405,6 @@
 		break;
 
 	case DRAW_LOADSPRITE:  // 5 - Uncompress and load a sprite
-		// TODO: check the implementation, currently dirty cut and paste of DRAW_SPRITE code
 		resource = _vm->_game->_resources->getResource((_spriteLeft & 0x3FFF),
 				&_spriteRight, &_spriteBottom);
 

Modified: scummvm/trunk/engines/gob/draw_playtoons.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw_playtoons.cpp	2010-12-01 20:11:24 UTC (rev 54717)
+++ scummvm/trunk/engines/gob/draw_playtoons.cpp	2010-12-01 20:17:31 UTC (rev 54718)
@@ -24,7 +24,6 @@
  */
 
 #include "common/endian.h"
-#include "graphics/cursorman.h"
 
 #include "gob/draw.h"
 #include "gob/game.h"


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