diff options
author | Eugene Sandulenko | 2016-06-24 10:56:55 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | a06e794a94002e63b9da75c92069fd7ca846df71 (patch) | |
tree | 2030be16e586415ac9ae7b22cc5aa56c87a3626b /engines/director/director.cpp | |
parent | c376b12d6b82c6c2ca0d330bd1e7751aa1cd07f6 (diff) | |
download | scummvm-rg350-a06e794a94002e63b9da75c92069fd7ca846df71.tar.gz scummvm-rg350-a06e794a94002e63b9da75c92069fd7ca846df71.tar.bz2 scummvm-rg350-a06e794a94002e63b9da75c92069fd7ca846df71.zip |
DIRECTOR: Lingo: Added named parameter assignment for macros
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index d5bfa21fa2..4e3b1f3024 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -94,8 +94,20 @@ end if\n\ if x >1 then\n\ exit\n\ end if\n\ +\n\ +--\n\ +macro check par1, par2\n\ +if par1 = 3 then\n\ + put 8\n\ +else\n\ + put 9\n\ +end if\n\ +\n\ ", kMovieScript, 1); +return Common::kNoError; + + _lingo->addCode("mci \"open MM\\T005045a.wav type WaveAudio alias T005045a\"\n\ mci \"play T005045a from 22710 to 32872\"", kMovieScript, 1); |