diff options
Diffstat (limited to 'engines/director/lingo/lingo-code.cpp')
-rw-r--r-- | engines/director/lingo/lingo-code.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index 9e737176a8..04310d9e71 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -115,6 +115,7 @@ static struct FuncDescr { { Lingo::c_call, "c_call", "si" }, { Lingo::c_procret, "c_procret", "" }, { Lingo::c_global, "c_global", "s" }, + { Lingo::c_property, "c_property", "s" }, { Lingo::c_instance, "c_instance", "s" }, { Lingo::c_open, "c_open", "" }, { 0, 0, 0 } @@ -1140,6 +1141,14 @@ void Lingo::c_global() { delete s; } +void Lingo::c_property() { + Common::String name((char *)&(*g_lingo->_currentScript)[g_lingo->_pc]); + + g_lingo->_pc += g_lingo->calcStringAlignment(name.c_str()); + + warning("STUB: c_property()"); +} + void Lingo::c_instance() { Common::String name((char *)&(*g_lingo->_currentScript)[g_lingo->_pc]); |