diff options
author | Filippos Karapetis | 2007-09-05 15:43:56 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-05 15:43:56 +0000 |
commit | 5a97b3d9be9c92624fc319abf4fb39105f8e7757 (patch) | |
tree | 146f6a08ccaaf25b583766374872ea4772cfcb31 /engines/agi/preagi_common.cpp | |
parent | 4d30763ab91a450db439440897e45757b87e1352 (diff) | |
download | scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.tar.gz scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.tar.bz2 scummvm-rg350-5a97b3d9be9c92624fc319abf4fb39105f8e7757.zip |
Some updates for Mickey:
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding
svn-id: r28853
Diffstat (limited to 'engines/agi/preagi_common.cpp')
-rw-r--r-- | engines/agi/preagi_common.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/engines/agi/preagi_common.cpp b/engines/agi/preagi_common.cpp index d204f757fc..dab6a827f5 100644 --- a/engines/agi/preagi_common.cpp +++ b/engines/agi/preagi_common.cpp @@ -94,10 +94,6 @@ void PreAgiEngine::clearRow(int row) { // Input functions -void PreAgiEngine::waitAnyKeyAnim() { - waitAnyKey(true); -} - int PreAgiEngine::getSelection(int type) { Common::Event event; @@ -179,28 +175,4 @@ bool PreAgiEngine::waitAnyKeyChoice() { } } -void PreAgiEngine::waitAnyKey(bool anim) { - Common::Event event; - - for (;;) { - while (_eventMan->pollEvent(event)) { - switch(event.type) { - case Common::EVENT_QUIT: - _system->quit(); - case Common::EVENT_KEYDOWN: - case Common::EVENT_LBUTTONUP: - case Common::EVENT_RBUTTONUP: - return; - default: - break; - } - } - // TODO - /*if (anim) { - _game->Animate(); - UpdateScreen(); - }*/ - } -} - } |