diff options
author | Peter Kohaut | 2017-09-10 20:19:02 +0200 |
---|---|---|
committer | Peter Kohaut | 2017-09-10 20:55:30 +0200 |
commit | f79d8cc1fe852e6172519efc51c75449dfc7c8f1 (patch) | |
tree | 4e02ac28680977b4a1a8868e2f1e58b302bf93a9 /engines/bladerunner/mouse.cpp | |
parent | e0aa906804942c04db6b3febed159846b7bcfb51 (diff) | |
download | scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.tar.gz scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.tar.bz2 scummvm-rg350-f79d8cc1fe852e6172519efc51c75449dfc7c8f1.zip |
BLADERUNNER: Added music support & added Maggie
added async walking
named some of the game flags & variables
renamed aesc to screen effects
Diffstat (limited to 'engines/bladerunner/mouse.cpp')
-rw-r--r-- | engines/bladerunner/mouse.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/bladerunner/mouse.cpp b/engines/bladerunner/mouse.cpp index 42d6ffef09..8293cbc59c 100644 --- a/engines/bladerunner/mouse.cpp +++ b/engines/bladerunner/mouse.cpp @@ -23,6 +23,7 @@ #include "bladerunner/mouse.h" #include "bladerunner/bladerunner.h" +#include "bladerunner/dialogue_menu.h" #include "bladerunner/regions.h" #include "bladerunner/scene.h" #include "bladerunner/scene_objects.h" @@ -255,8 +256,14 @@ void Mouse::updateCursorFrame() { } void Mouse::tick(int x, int y) { - if (!_vm->playerHasControl() || isDisabled()) + if (!_vm->playerHasControl() || isDisabled()) { return; + } + + if (_vm->_dialogueMenu->isVisible()) { + setCursor(0); + return; + } Vector3 mousePosition = getXYZ(x, y); int cursorId = 0; |