mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 18:00:44 +00:00
DIRECTOR: LINGO: Proper stub for 'ancestor' property
This commit is contained in:
parent
6a6935ed4c
commit
84e8ab4956
@ -208,7 +208,6 @@ static struct BuiltinProto {
|
|||||||
{ "moveToBack", LB::b_moveToBack, 1, 1, false, 4, BLTIN }, // D4 c
|
{ "moveToBack", LB::b_moveToBack, 1, 1, false, 4, BLTIN }, // D4 c
|
||||||
{ "moveToFront", LB::b_moveToFront, 1, 1, false, 4, BLTIN }, // D4 c
|
{ "moveToFront", LB::b_moveToFront, 1, 1, false, 4, BLTIN }, // D4 c
|
||||||
// Constants
|
// Constants
|
||||||
{ "ancestor", LB::b_ancestor, 0, 0, false, 4, BLTIN }, // D4
|
|
||||||
{ "backspace", LB::b_backspace, 0, 0, false, 2, FBLTIN }, // D2
|
{ "backspace", LB::b_backspace, 0, 0, false, 2, FBLTIN }, // D2
|
||||||
{ "empty", LB::b_empty, 0, 0, false, 2, FBLTIN }, // D2
|
{ "empty", LB::b_empty, 0, 0, false, 2, FBLTIN }, // D2
|
||||||
{ "enter", LB::b_enter, 0, 0, false, 2, FBLTIN }, // D2
|
{ "enter", LB::b_enter, 0, 0, false, 2, FBLTIN }, // D2
|
||||||
@ -1631,11 +1630,6 @@ void LB::b_soundStop(int nargs) {
|
|||||||
///////////////////
|
///////////////////
|
||||||
// Constants
|
// Constants
|
||||||
///////////////////
|
///////////////////
|
||||||
void LB::b_ancestor(int nargs) {
|
|
||||||
warning("STUB: b_ancestor");
|
|
||||||
g_lingo->push(Datum(0));
|
|
||||||
}
|
|
||||||
|
|
||||||
void LB::b_backspace(int nargs) {
|
void LB::b_backspace(int nargs) {
|
||||||
g_lingo->push(Datum(new Common::String("\b")));
|
g_lingo->push(Datum(new Common::String("\b")));
|
||||||
}
|
}
|
||||||
|
@ -181,7 +181,6 @@ namespace LB {
|
|||||||
void b_soundPlayFile(int nargs);
|
void b_soundPlayFile(int nargs);
|
||||||
void b_soundStop(int nargs);
|
void b_soundStop(int nargs);
|
||||||
|
|
||||||
void b_ancestor(int nargs);
|
|
||||||
void b_backspace(int nargs);
|
void b_backspace(int nargs);
|
||||||
void b_empty(int nargs);
|
void b_empty(int nargs);
|
||||||
void b_enter(int nargs);
|
void b_enter(int nargs);
|
||||||
|
@ -331,6 +331,10 @@ void LC::c_varpush() {
|
|||||||
warning("c_varpush: ME");
|
warning("c_varpush: ME");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name.equalsIgnoreCase("ancestor")) {
|
||||||
|
warning("c_varpush: ANCESTOR");
|
||||||
|
}
|
||||||
|
|
||||||
if (g_lingo->getHandler(name) != NULL) {
|
if (g_lingo->getHandler(name) != NULL) {
|
||||||
d.type = HANDLER;
|
d.type = HANDLER;
|
||||||
d.u.s = new Common::String(name);
|
d.u.s = new Common::String(name);
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -465,7 +465,7 @@ proc: tPUT expr { g_lingo->code1(LC::c_printtop); }
|
|||||||
| tEXIT tREPEAT { g_lingo->code1(LC::c_exitRepeat); }
|
| tEXIT tREPEAT { g_lingo->code1(LC::c_exitRepeat); }
|
||||||
| tEXIT { g_lingo->code1(LC::c_procret); }
|
| tEXIT { g_lingo->code1(LC::c_procret); }
|
||||||
| tGLOBAL { g_lingo->_indef = kStateInArgs; } globallist { g_lingo->_indef = kStateNone; }
|
| tGLOBAL { g_lingo->_indef = kStateInArgs; } globallist { g_lingo->_indef = kStateNone; }
|
||||||
| tPROPERTY propertylist
|
| tPROPERTY { g_lingo->_indef = kStateInArgs; } propertylist { g_lingo->_indef = kStateNone; }
|
||||||
| tINSTANCE instancelist
|
| tINSTANCE instancelist
|
||||||
| BLTIN '(' arglist ')' {
|
| BLTIN '(' arglist ')' {
|
||||||
g_lingo->codeFunc($BLTIN, $arglist);
|
g_lingo->codeFunc($BLTIN, $arglist);
|
||||||
|
Loading…
Reference in New Issue
Block a user