diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 7 | ||||
-rw-r--r-- | engines/director/lingo/lingo.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index fa7886fa4f..948c503e5b 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -105,6 +105,7 @@ static struct BuiltinProto { { "dontPassEvent", Lingo::b_dontPassEvent, 0, 0, false }, // D2 c { "delay", Lingo::b_delay, 1, 1, false }, // D2 c { "do", Lingo::b_do, 1, 1, false }, // D2 c + { "go", Lingo::b_go, 1, 2, false }, { "halt", Lingo::b_halt, 0, 0, false }, // D4 c { "nothing", Lingo::b_nothing, 0, 0, false }, // D2 c { "pass", Lingo::b_pass, 0, 0, false }, // D4 c @@ -888,6 +889,12 @@ void Lingo::b_do(int nargs) { warning("STUB: b_do(%s)", d.u.s->c_str()); } +void Lingo::b_go(int nargs) { + g_lingo->printSTUBWithArglist("b_go", nargs); + + g_lingo->dropStack(nargs); +} + void Lingo::b_halt(int nargs) { b_quit(nargs); diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index 67a8ad9ca6..9cbe6c3507 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -457,6 +457,7 @@ public: static void b_dontPassEvent(int nargs); static void b_delay(int nargs); static void b_do(int nargs); + static void b_go(int nargs); static void b_halt(int nargs); static void b_nothing(int nargs); static void b_pass(int nargs); |