diff options
| author | uruk | 2013-08-16 23:02:53 +0200 |
|---|---|---|
| committer | uruk | 2013-08-16 23:02:53 +0200 |
| commit | 05f3838b16a5e9533c2a0faeb18dfc50610eface (patch) | |
| tree | e3ca80eb24589030893b7a0d56557aa2c10b5567 /engines/avalanche/avalanche.cpp | |
| parent | 2bcca8a0dd17f4ae55ff4587a54c63d60a021b03 (diff) | |
| download | scummvm-rg350-05f3838b16a5e9533c2a0faeb18dfc50610eface.tar.gz scummvm-rg350-05f3838b16a5e9533c2a0faeb18dfc50610eface.tar.bz2 scummvm-rg350-05f3838b16a5e9533c2a0faeb18dfc50610eface.zip | |
AVALANCHE: Partially implement Lucerna::checkclick(), upgrade other parts of the code during the process. Repair Gyro::load_a_mouse().
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
| -rw-r--r-- | engines/avalanche/avalanche.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index 8196065bef..c2d0e0bd59 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -137,6 +137,12 @@ void AvalancheEngine::updateEvents() { while (_eventMan->pollEvent(event)) { switch (event.type) { + case Common::EVENT_LBUTTONDOWN: + _lucerna->holdLeftMouse = true; // Used in Lucerna::checkclick(). + break; + case Common::EVENT_LBUTTONUP: + _lucerna->holdLeftMouse = false; // Same as above. + break; case Common::EVENT_KEYDOWN: _avalot->handleKeyDown(event); } |
