aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-09-19 08:40:12 +0000
committerNicola Mettifogo2007-09-19 08:40:12 +0000
commit258901bab96f0050385a9912c8ea0fe2a41b2d6f (patch)
treea3ae8675b679c9f3b58ac8d97c79369502ea23c1 /engines/gob/draw_v2.cpp
parenta89694c0d61a75a960f5bec6c498659c988401cc (diff)
downloadscummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.gz
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.bz2
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.zip
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index 55585f5619..6c6250bd09 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -23,7 +23,7 @@
*
*/
-#include "common/stdafx.h"
+
#include "common/endian.h"
#include "graphics/cursorman.h"
@@ -47,7 +47,7 @@ void Draw_v2::initScreen() {
initSpriteSurf(21, _vm->_video->_surfWidth, _vm->_video->_surfHeight, 0);
_backSurface = _spritesArray[21];
_vm->_video->clearSurf(_backSurface);
-
+
initSpriteSurf(23, 32, 16, 2);
_cursorSpritesBack = _spritesArray[23];
_cursorSprites = _cursorSpritesBack;
@@ -69,7 +69,7 @@ void Draw_v2::closeScreen() {
void Draw_v2::blitCursor() {
if (_cursorIndex == -1)
return;
-
+
_showCursor = (_showCursor & ~2) | ((_showCursor & 1) << 1);
}
@@ -122,7 +122,7 @@ void Draw_v2::animateCursor(int16 cursor) {
_vm->_util->getTimeKey())) {
_cursorAnim++;
if ((_cursorAnimHigh[_cursorIndex] < _cursorAnim) ||
- (_cursorAnimLow[_cursorIndex] > _cursorAnim))
+ (_cursorAnimLow[_cursorIndex] > _cursorAnim))
_cursorAnim = _cursorAnimLow[_cursorIndex];
_cursorTimeKey = _vm->_util->getTimeKey();
} else {
@@ -353,7 +353,7 @@ void Draw_v2::printTotText(int16 id) {
memset(str, ' ', 80);
_backColor = 0;
_transparency = 1;
-
+
while (true) {
if ((((*ptr >= 1) && (*ptr <= 7)) || (*ptr == 10)) && (strPos != 0)) {
str[MAX(strPos, strPos2)] = 0;