diff options
author | Sven Hesse | 2006-07-09 18:54:12 +0000 |
---|---|---|
committer | Sven Hesse | 2006-07-09 18:54:12 +0000 |
commit | dcbbfa01c09854903666cce7ec855883b4257c00 (patch) | |
tree | b1d1c0cf044c9ebfc9f465f3dc22dce173ccbedd /engines/gob/draw.cpp | |
parent | 75e64b91defc913956767698b6d8eccc7bc59e7f (diff) | |
download | scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.gz scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.bz2 scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.zip |
Instead of drawing the mouse cursor as a sprite, let the backend handle it
svn-id: r23464
Diffstat (limited to 'engines/gob/draw.cpp')
-rw-r--r-- | engines/gob/draw.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp index 4d305c49a1..d66b019ae5 100644 --- a/engines/gob/draw.cpp +++ b/engines/gob/draw.cpp @@ -117,10 +117,11 @@ Draw::Draw(GobEngine *vm) : _vm(vm) { _cursorAnimDelays[i] = 0; } + _showCursor = 0; _cursorIndex = 0; _transparentCursor = 0; _cursorSprites = 0; - _cursorBack = 0; + _scummvmCursor = 0; _cursorAnim = 0; _palLoadData1[0] = 0; @@ -261,6 +262,7 @@ void Draw::blitInvalidated(void) { return; } + _showCursor = (_showCursor & ~2) | ((_showCursor & 1) << 1); if (_applyPal) { clearPalette(); |