diff options
author | Paul Gilbert | 2013-12-28 14:01:06 +1100 |
---|---|---|
committer | Paul Gilbert | 2013-12-28 14:01:06 +1100 |
commit | 9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e (patch) | |
tree | 988be1b5bf2f427118f70f2c622662be3d124078 /engines/voyeur/graphics.cpp | |
parent | 3b9cdf48eec9afc3664d04fa1ecbd71c94eb8cf5 (diff) | |
download | scummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.tar.gz scummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.tar.bz2 scummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.zip |
VOYEUR: Implemented startCursorBlink and drawDot
Diffstat (limited to 'engines/voyeur/graphics.cpp')
-rw-r--r-- | engines/voyeur/graphics.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp index f07616bb36..47c7293322 100644 --- a/engines/voyeur/graphics.cpp +++ b/engines/voyeur/graphics.cpp @@ -22,6 +22,7 @@ #include "voyeur/graphics.h" #include "voyeur/voyeur.h" +#include "voyeur/staticres.h" #include "engines/util.h" #include "graphics/palette.h" #include "graphics/surface.h" @@ -735,4 +736,11 @@ void GraphicsManager::fadeDownICF(int steps) { _vm->_voy._field4378 = 0; } +void GraphicsManager::drawDot() { + for (int y = 0; y < 9; ++y) { + byte *pDest = (byte *)_screenSurface.getPixels() + DOT_LINE_START[y] + DOT_LINE_OFFSET[y]; + Common::fill(pDest, pDest + DOT_LINE_LENGTH[y], 0x80); + } +} + } // End of namespace Voyeur |