diff options
author | Eugene Sandulenko | 2016-06-19 11:23:52 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | c0a3e652eb4da666a1ef6afc102db99b86f8c5fd (patch) | |
tree | e680e16b38ee6c1f834cd2bed3cc3ace7d4349ef /engines/director/director.cpp | |
parent | 3476761be6351b316ff90c24a2e7ca0ae5827d5b (diff) | |
download | scummvm-rg350-c0a3e652eb4da666a1ef6afc102db99b86f8c5fd.tar.gz scummvm-rg350-c0a3e652eb4da666a1ef6afc102db99b86f8c5fd.tar.bz2 scummvm-rg350-c0a3e652eb4da666a1ef6afc102db99b86f8c5fd.zip |
DIRECTOR: Lingo: Enable parse debug
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 25a0e3fdf0..a347d22732 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -77,10 +77,13 @@ Common::Error DirectorEngine::run() { mci \"play T005045a from 22710 to 32872\"", kMovieScript, 1); _lingo->addCode("set x = 1 + 3\n\ - set y to 2 -- this set y to 4\n\ + set y to 2 + 3 * 2 -- this set y to 4\n\ put 5 into z\n\ -- some more\n", kMovieScript, 2); + _lingo->addCode("2 + 3 * 2 / (5 - 2)", kMovieScript, 3); + _lingo->executeScript(kMovieScript, 3); + return Common::kNoError; //FIXME |