diff options
author | Eugene Sandulenko | 2016-06-18 15:05:09 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | bb7125620d2f0919fcf671b50644af3acef39cbf (patch) | |
tree | 327a2064be02de88fb8d6ab88f1a1bf3f1b213ef /engines/director/director.cpp | |
parent | 9d72e0137b039b77271ff1f084290d647622c0bd (diff) | |
download | scummvm-rg350-bb7125620d2f0919fcf671b50644af3acef39cbf.tar.gz scummvm-rg350-bb7125620d2f0919fcf671b50644af3acef39cbf.tar.bz2 scummvm-rg350-bb7125620d2f0919fcf671b50644af3acef39cbf.zip |
DIRECTOR: Lingo: Move all functions to compiler
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index dfb4928b2b..ce6732983e 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -72,14 +72,14 @@ Common::Error DirectorEngine::run() { _lingo = new Lingo(this); _soundManager = new DirectorSound(); - _lingo->parse("mci \"open MM\\T005045a.wav type WaveAudio alias T005045a\"\n\ - mci \"play T005045a from 22710 to 32872\""); + _lingo->addCode("mci \"open MM\\T005045a.wav type WaveAudio alias T005045a\"\n\ + mci \"play T005045a from 22710 to 32872\"", kMovieScript, 1); #if 0 - _lingo->parse("set x = 1\n\ + _lingo->addCode("set x = 1\n\ set y to 2 -- this set y to 4\n\ put 5 into z\n\ --- some more\n"); +-- some more\n", kMovieScript, 2); #endif //FIXME |