diff options
author | Paul Gilbert | 2012-11-18 21:12:21 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-18 21:12:21 +1100 |
commit | 43e0daf5d1b32f6a443a4cedd9fb932c24d211e3 (patch) | |
tree | fdc051d5f907ea1a1249074ca5dddb10a6163522 /engines | |
parent | c1bd7e26b0508dd99c1eda3eef645f142312bc83 (diff) | |
download | scummvm-rg350-43e0daf5d1b32f6a443a4cedd9fb932c24d211e3.tar.gz scummvm-rg350-43e0daf5d1b32f6a443a4cedd9fb932c24d211e3.tar.bz2 scummvm-rg350-43e0daf5d1b32f6a443a4cedd9fb932c24d211e3.zip |
HOPKINS: Bugfix to allow Breakout paddle movement whilst waiting for starting click
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/computer.cpp | 3 | ||||
-rw-r--r-- | engines/hopkins/computer.h | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index 2e24b1bbc6..4f0fc1b5ec 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -786,7 +786,7 @@ void ComputerManager::PLAY_BRIQUE() { // Wait for mouse press to start playing do { - RAQX = _vm->_eventsManager.souris_x; + RAQX = _vm->_eventsManager.XMOUSE(); if (_vm->_eventsManager.souris_x <= 4) RAQX = 5; if (RAQX > 282) @@ -817,6 +817,7 @@ void ComputerManager::PLAY_BRIQUE() { break; _vm->_graphicsManager.FADE_OUT_CASSE(); --CASSEVIE; + if (CASSEVIE) { AFF_VIE(); if (CASSEVIE) diff --git a/engines/hopkins/computer.h b/engines/hopkins/computer.h index 8605e2bf31..41526ee03c 100644 --- a/engines/hopkins/computer.h +++ b/engines/hopkins/computer.h @@ -57,11 +57,32 @@ private: int16 *CASSETAB; bool FMOUSE; int NBBRIQUES; + + /** + * Breakout score + */ int CASSESCORE; + + /** + * Number of Breakout lives remaining + */ int CASSEVIE; + + /** + * Breakout game speed + */ int CASSESPEED; + + /** + * Breakout ball horizontal position + */ int BALLEHORI; + + /** + * Breakout ball vertical position + */ int BALLEVERTI; + int NB_TABLE; int RAQX; int CASSE_HISCORE; |