aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-28 14:01:06 +1100
committerPaul Gilbert2013-12-28 14:01:06 +1100
commit9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e (patch)
tree988be1b5bf2f427118f70f2c622662be3d124078 /engines/voyeur/events.cpp
parent3b9cdf48eec9afc3664d04fa1ecbd71c94eb8cf5 (diff)
downloadscummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.tar.gz
scummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.tar.bz2
scummvm-rg350-9eccf91aea8dc8f8ebbaa61c04152d0e1f70902e.zip
VOYEUR: Implemented startCursorBlink and drawDot
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 4d5c03ce60..d622a6d00f 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -451,7 +451,15 @@ void EventsManager::checkForKey() {
}
void EventsManager::startCursorBlink() {
- error("TODO: startCursorBlink");
+ if (_vm->_voy._field478 & 0x10) {
+ _vm->_graphicsManager.setOneColor(128, 55, 5, 5);
+ _vm->_graphicsManager.setColor(128, 220, 20, 20);
+ _intPtr.field38 = true;
+ _intPtr._hasPalette = true;
+
+ _vm->_graphicsManager.drawDot();
+ //copySection();
+ }
}
void EventsManager::incrementTime(int amt) {