diff options
author | Filippos Karapetis | 2016-09-24 11:49:54 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-03 00:33:45 +0300 |
commit | 0152b7c47f0eef04bd01ae6e1cb808d25ccdd9a0 (patch) | |
tree | 5572e128ccaafb11c62c65b57128fc04a922d690 /engines/chewy/console.cpp | |
parent | f017940ca08e32a206982376df0bdc334acdea55 (diff) | |
download | scummvm-rg350-0152b7c47f0eef04bd01ae6e1cb808d25ccdd9a0.tar.gz scummvm-rg350-0152b7c47f0eef04bd01ae6e1cb808d25ccdd9a0.tar.bz2 scummvm-rg350-0152b7c47f0eef04bd01ae6e1cb808d25ccdd9a0.zip |
CHEWY: Add initial video (CFO) player
The game's videos are modified FLICs. There are some changes needed
to our FLIC decoder, which are included in a separate commit
Diffstat (limited to 'engines/chewy/console.cpp')
-rw-r--r-- | engines/chewy/console.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/chewy/console.cpp b/engines/chewy/console.cpp index bf7e49c2d0..deaa1e3a62 100644 --- a/engines/chewy/console.cpp +++ b/engines/chewy/console.cpp @@ -157,11 +157,14 @@ bool Console::Cmd_PlayVideo(int argc, const char **argv) { return true; } + detach(); // close the console + int resNum = atoi(argv[1]); - debugPrintf("TODO: Play video %d", resNum); - // TODO + Graphics *g = new Graphics(); + g->playVideo(resNum); + delete g; - return true; + return false; } bool Console::Cmd_VideoInfo(int argc, const char **argv) { |