Skip to content

Commit

Permalink
DIRECTOR: Lingo: Added support for parameter-less built-ins
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 3, 2016
1 parent 5f0f019 commit 78b198c
Show file tree
Hide file tree
Showing 8 changed files with 658 additions and 621 deletions.
10 changes: 9 additions & 1 deletion engines/director/lingo/lingo-builtins.cpp
Expand Up @@ -47,6 +47,8 @@ static struct BuiltinProto {
{ "chars", Lingo::b_chars, 3},
{ "length", Lingo::b_length, 1},
{ "string", Lingo::b_string, 1},
// Misc
{ "dontpassevent", Lingo::b_dontpassevent, -1 },
{ 0, 0, 0 }
};

Expand Down Expand Up @@ -207,5 +209,11 @@ void Lingo::b_string() {
g_lingo->push(d);
}


///////////////////
// Misc
///////////////////
void Lingo::b_dontpassevent() {
warning("STUB: b_dontpassevent");
}

} // End of namespace Director

0 comments on commit 78b198c

Please sign in to comment.