diff options
Diffstat (limited to 'engines/director/lingo/lingo.cpp')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 0956adeaa8..9c94bc6a96 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -487,4 +487,18 @@ void Lingo::executeImmediateScripts(Frame *frame) { } } +void Lingo::printAllVars() { + debugN(" Local vars: "); + for (SymbolHash::iterator i = _localvars->begin(); i != _localvars->end(); ++i) { + debugN("%s, ", (*i)._key.c_str()); + } + debug(""); + + debugN(" Global vars: "); + for (SymbolHash::iterator i = _globalvars.begin(); i != _globalvars.end(); ++i) { + debugN("%s, ", (*i)._key.c_str()); + } + debug(""); +} + } // End of namespace Director |