diff options
| author | uruk | 2013-07-05 19:00:31 +0200 |
|---|---|---|
| committer | uruk | 2013-07-05 19:00:31 +0200 |
| commit | 0f2a0cf2a48a35cf54d4a1bc2af0062b36861533 (patch) | |
| tree | aeb9270cd32a17c435ab6777c4cc3b7cf1b47099 | |
| parent | 14dfc468ea8cf80048d23c531bdb6ce0c945cf46 (diff) | |
| download | scummvm-rg350-0f2a0cf2a48a35cf54d4a1bc2af0062b36861533.tar.gz scummvm-rg350-0f2a0cf2a48a35cf54d4a1bc2af0062b36861533.tar.bz2 scummvm-rg350-0f2a0cf2a48a35cf54d4a1bc2af0062b36861533.zip | |
AVALANCHE: Pingo: partially implement winning_pic().
| -rw-r--r-- | engines/avalanche/pingo2.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/engines/avalanche/pingo2.cpp b/engines/avalanche/pingo2.cpp index 92c22e65bf..7a468d4e41 100644 --- a/engines/avalanche/pingo2.cpp +++ b/engines/avalanche/pingo2.cpp @@ -36,6 +36,7 @@ #include "avalanche/scrolls2.h" #include "common/textconsole.h" +#include "common/file.h" namespace Avalanche { @@ -107,6 +108,38 @@ void Pingo::zonk() { } void Pingo::winning_pic() { + Common::File f; + char r; + + _vm->_lucerna.dusk(); + + if (!f.open("finale.avd")) { + warning("AVALANCHE: Lucerna: File not found: finale.avd"); + return; + } + + /*for (byte bit = 0; bit <= 3; bit ++) { + port[0x3c4] = 2; + port[0x3ce] = 4; + port[0x3c5] = 1 << bit; + port[0x3cf] = bit; + blockread(f, mem[0xa000 * 0], 16000); + }*/ + warning("STUB: Pingo::winning_pic()"); + + f.close(); + _vm->_lucerna.blitfix(); + + //setvisualpage(0); + warning("STUB: Pingo::winning_pic()"); + + _vm->_lucerna.dawn(); + + /*do { + _vm->_gyro.check(); + } while (!(keypressed() || (mrelease > 0))); + while (keypressed()) r = readkey(); + major_redraw();*/ warning("STUB: Pingo::winning_pic()"); } |
