diff options
author | Iskrich | 2016-05-26 21:05:34 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 5718268106a463a2f58af92856f1ceb72ad4f3cb (patch) | |
tree | dfaebba3ca4669f62b4b8237cf46b023b0f91250 /engines/director/director.cpp | |
parent | 60348aa02a95154f6a0b36b9a9097b4255c85888 (diff) | |
download | scummvm-rg350-5718268106a463a2f58af92856f1ceb72ad4f3cb.tar.gz scummvm-rg350-5718268106a463a2f58af92856f1ceb72ad4f3cb.tar.bz2 scummvm-rg350-5718268106a463a2f58af92856f1ceb72ad4f3cb.zip |
DIRECTOR: Load cast data and movie config
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 5c2c7adc6d..ff294a7db5 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -72,6 +72,13 @@ Common::Error DirectorEngine::run() { Common::SeekableReadStream *scr = _mainArchive->getResource(MKTAG('V','W','S','C'), 1024); Score score(*scr); + + Common::SeekableReadStream *conf = _mainArchive->getResource(MKTAG('V','W','C','F'), 1024); + score.loadConfig(*conf); + + Common::SeekableReadStream *records = _mainArchive->getResource(MKTAG('V','W','C','R'), 1024); + score.loadCastData(*records); + score.play(); if (getPlatform() == Common::kPlatformWindows) |