diff options
author | Tobia Tesan | 2017-06-19 01:07:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-05 08:35:33 +0200 |
commit | 4f749fc0076fe8f56acb4263735a30363c072b61 (patch) | |
tree | dda75e48b1f34f41e246450092bc87f41c280d5b /engines | |
parent | 13fa1b22a20966f3ddbcb9b2a5e48e7232250239 (diff) | |
download | scummvm-rg350-4f749fc0076fe8f56acb4263735a30363c072b61.tar.gz scummvm-rg350-4f749fc0076fe8f56acb4263735a30363c072b61.tar.bz2 scummvm-rg350-4f749fc0076fe8f56acb4263735a30363c072b61.zip |
DIRECTOR: Add Lingo::_dontPassEvent
I'm not sure whether this should go here or in Director.
I'm leaving it here because _dontPassEvent changes the semantics of event handling.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 3 | ||||
-rw-r--r-- | engines/director/lingo/lingo.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index e12b20a3c2..872008ed2e 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -866,7 +866,8 @@ void Lingo::b_continue(int nargs) { } void Lingo::b_dontPassEvent(int nargs) { - warning("STUB: b_dontPassEvent"); + g_lingo->dontPassEvent = true; + warning("dontPassEvent raised"); } void Lingo::b_nothing(int nargs) { diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index 15071b8699..b0a014db52 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -576,6 +576,8 @@ private: DirectorEngine *_vm; int _floatPrecision; + + bool dontPassEvent; }; extern Lingo *g_lingo; |