diff options
author | Scott Percival | 2019-12-03 21:20:53 +0800 |
---|---|---|
committer | Scott Percival | 2019-12-03 23:07:23 +0800 |
commit | de23a76c2691309b276585de5d40950ded5c5c2a (patch) | |
tree | 42b153c90368615a53532b86d730b1856ac3dee9 /engines | |
parent | 15d4705757f5d141383cee8814a4e915414b4c7f (diff) | |
download | scummvm-rg350-de23a76c2691309b276585de5d40950ded5c5c2a.tar.gz scummvm-rg350-de23a76c2691309b276585de5d40950ded5c5c2a.tar.bz2 scummvm-rg350-de23a76c2691309b276585de5d40950ded5c5c2a.zip |
DIRECTOR: LINGO: Add stub for b_go
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); |