aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2010-12-01 20:17:31 +0000
committerArnaud Boutonné2010-12-01 20:17:31 +0000
commit250d5d81f7d98f4aec05b6ffd8496ab2d002f124 (patch)
treef8c655cf6779c79804457955654f62183907fe39
parent85d42c405d97b24609f1c6e6b4a73b10b6c0d40a (diff)
downloadscummvm-rg350-250d5d81f7d98f4aec05b6ffd8496ab2d002f124.tar.gz
scummvm-rg350-250d5d81f7d98f4aec05b6ffd8496ab2d002f124.tar.bz2
scummvm-rg350-250d5d81f7d98f4aec05b6ffd8496ab2d002f124.zip
GOB: little clean-up
Remove a useless include of cursorman.h and several superflous empty lines. svn-id: r54718
-rw-r--r--engines/gob/draw_fascin.cpp7
-rw-r--r--engines/gob/draw_playtoons.cpp1
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/gob/draw_fascin.cpp b/engines/gob/draw_fascin.cpp
index 86e5cb8314..552de822d9 100644
--- a/engines/gob/draw_fascin.cpp
+++ b/engines/gob/draw_fascin.cpp
@@ -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 @@ void Draw_Fascination::spriteOperation(int16 operation) {
}
}
-
int16 spriteLeft = _spriteLeft;
int16 spriteTop = _spriteTop;
int16 spriteRight = _spriteRight;
@@ -103,7 +99,6 @@ void Draw_Fascination::spriteOperation(int16 operation) {
if (_destSurface < 24)
_destSurface += 4;
}
-
}
adjustCoords(0, &_destSpriteX, &_destSpriteY);
@@ -239,7 +234,6 @@ void Draw_Fascination::spriteOperation(int16 operation) {
_destSpriteX += font->getCharWidth(_textToPrint[i]);
}
}
-
} else {
sourceSurf = _spritesArray[_fontToSprite[_fontIndex].sprite];
ratio = ((sourceSurf == _frontSurface) || (sourceSurf == _backSurface)) ?
@@ -411,7 +405,6 @@ void Draw_Fascination::drawWin(int16 fct) {
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);
diff --git a/engines/gob/draw_playtoons.cpp b/engines/gob/draw_playtoons.cpp
index fc5521a959..f32c42ec43 100644
--- a/engines/gob/draw_playtoons.cpp
+++ b/engines/gob/draw_playtoons.cpp
@@ -24,7 +24,6 @@
*/
#include "common/endian.h"
-#include "graphics/cursorman.h"
#include "gob/draw.h"
#include "gob/game.h"