diff options
author | Paul Gilbert | 2012-01-17 23:52:36 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:19:49 +0200 |
commit | d0129ad88bda4d1aa39f8e778c42343b4c0030f6 (patch) | |
tree | c85e84eb93857fda3b5c1e648db5475de51293c5 /engines/mortevielle/mor2.cpp | |
parent | 8c423fd790cfb200852d5de4a707817f07489195 (diff) | |
download | scummvm-rg350-d0129ad88bda4d1aa39f8e778c42343b4c0030f6.tar.gz scummvm-rg350-d0129ad88bda4d1aa39f8e778c42343b4c0030f6.tar.bz2 scummvm-rg350-d0129ad88bda4d1aa39f8e778c42343b4c0030f6.zip |
MORTEVIELLE: Implemented a basic event handler.
Diffstat (limited to 'engines/mortevielle/mor2.cpp')
-rw-r--r-- | engines/mortevielle/mor2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mortevielle/mor2.cpp b/engines/mortevielle/mor2.cpp index 1c2936d188..2f0793643c 100644 --- a/engines/mortevielle/mor2.cpp +++ b/engines/mortevielle/mor2.cpp @@ -31,6 +31,7 @@ #include "mortevielle/keyboard.h" #include "mortevielle/menu.h" #include "mortevielle/mor.h" +#include "mortevielle/mortevielle.h" #include "mortevielle/mouse.h" #include "mortevielle/outtext.h" #include "mortevielle/parole2.h" @@ -275,6 +276,7 @@ void mfouen() void atf3f8(int &key) { do { key = testou(); + CHECK_QUIT; } while (!((key == 61) || (key == 66))); } @@ -394,6 +396,7 @@ void sparl(float adr, float rep) { do { parole(repint, haut[caff - 69], 0); atf3f8(key); + CHECK_QUIT; } while (!(key == 66)); hirs(); show_mouse(); |