diff options
author | Eugene Sandulenko | 2017-02-07 09:15:15 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-07 09:15:15 +0100 |
commit | e0b7e823b242d3e5c3bbba41f5d07014c8a35f0c (patch) | |
tree | ab80eafa8f3da7db93d2023219a713df4fa60e1d /engines/director/lingo | |
parent | eb986c7cc3c6750efc703df7ded218aba56ea01b (diff) | |
download | scummvm-rg350-e0b7e823b242d3e5c3bbba41f5d07014c8a35f0c.tar.gz scummvm-rg350-e0b7e823b242d3e5c3bbba41f5d07014c8a35f0c.tar.bz2 scummvm-rg350-e0b7e823b242d3e5c3bbba41f5d07014c8a35f0c.zip |
DIRECTOR: Lingo: Documented D4 "Mouse and pointer" Lingo
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 11 | ||||
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 3 | ||||
-rw-r--r-- | engines/director/lingo/lingo-the.h | 1 |
3 files changed, 9 insertions, 6 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index ce39796c03..cbfa3f2157 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -56,11 +56,11 @@ static struct BuiltinProto { { "string", Lingo::b_string, 1, 1, true }, // D2 { "value", Lingo::b_value, 1, 1, true }, // D2 // Lists - { "add", Lingo::b_add, 2, 2, false }, // D4 c + { "add", Lingo::b_add, 2, 2, false }, // D4 command { "addAt", Lingo::b_addAt, 3, 3, false }, // D4 c { "addProp", Lingo::b_addProp, 3, 3, false }, // D4 c { "append", Lingo::b_append, 2, 2, false }, // D4 c - { "count", Lingo::b_count, 1, 1, true }, // D4 f + { "count", Lingo::b_count, 1, 1, true }, // D4 function { "deleteAt", Lingo::b_deleteAt, 2, 2, false }, // D4 c { "deleteProp", Lingo::b_deleteProp, 2, 2, false }, // D4 c { "findPos", Lingo::b_findPos, 2, 2, true }, // D4 f @@ -127,7 +127,7 @@ static struct BuiltinProto { { "symbolp", Lingo::b_symbolp, 1, 1, true }, // D2 f // Misc { "alert", Lingo::b_alert, 1, 1, false }, // D2 c - { "cursor", Lingo::b_cursor, 1, 1, false }, // D2 + { "cursor", Lingo::b_cursor, 1, 1, false }, // D2 c { "framesToHMS", Lingo::b_framesToHMS, 4, 4, false }, // D3 { "HMStoFrames", Lingo::b_HMStoFrames, 4, 4, false }, // D3 { "param", Lingo::b_param, 1, 1, true }, // D4 f @@ -158,7 +158,7 @@ static struct BuiltinProto { { "puppetSprite", Lingo::b_puppetSprite, -1,0, false }, // D2 { "puppetTempo", Lingo::b_puppetTempo, 1, 1, false }, // D2 { "puppetTransition",Lingo::b_puppetTransition,-1,0, false },// D2 - { "rollOver", Lingo::b_rollOver, 1, 1, true }, // D2 + { "rollOver", Lingo::b_rollOver, 1, 1, true }, // D2 f { "spriteBox", Lingo::b_spriteBox, -1,0, false }, // D2 { "unLoad", Lingo::b_unLoad, 0, 2, false }, // D4 c { "unLoadCast", Lingo::b_unLoadCast, 0, 2, false }, // D4 c @@ -224,6 +224,7 @@ static const char *builtinFunctions[] = { "min", "objectp", "pictureP", + "rollOver", "soundBusy", "stringp", "symbolp", @@ -892,7 +893,7 @@ void Lingo::b_objectp(int nargs) { } void Lingo::b_pictureP(int nargs) { - Datum d = g_lingo->pop(); + g_lingo->pop(); warning("STUB: b_pictureP"); g_lingo->push(Datum(0)); } diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index 1f07520132..d5fef44b0a 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -38,7 +38,8 @@ TheEntity entities[] = { { kTheChars, "chars", false }, // D3 { kTheCheckBoxAccess, "checkBoxAccess", false }, // D2 p { kTheCheckBoxType, "checkBoxType", false }, // D2 p - { kTheClickOn, "clickOn", false }, // D2 function + { kTheClickLoc, "clickLoc", false }, // D4 function + { kTheClickOn, "clickOn", false }, // D2 f { kTheColorDepth, "colorDepth", false }, // D2 p { kTheColorQD, "colorQD", false }, // D2 f { kTheCommandDown, "commandDown", false }, // D2 f diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h index a269d7b85a..6b69d13946 100644 --- a/engines/director/lingo/lingo-the.h +++ b/engines/director/lingo/lingo-the.h @@ -36,6 +36,7 @@ enum TheEntityType { kTheChars, kTheCheckBoxAccess, kTheCheckBoxType, + kTheClickLoc, kTheClickOn, kTheColorDepth, kTheColorQD, |