diff options
author | Strangerke | 2012-11-11 18:13:01 +0100 |
---|---|---|
committer | Strangerke | 2012-11-11 18:13:01 +0100 |
commit | e0f06d7f96e49b60e16e829099bd2b8b9a748da9 (patch) | |
tree | 0d088a39848ddc2e3c7bedac2550465ae5e32f14 | |
parent | 49c20931d9230c0b3b4fdd0d03288e798f9e8cf7 (diff) | |
download | scummvm-rg350-e0f06d7f96e49b60e16e829099bd2b8b9a748da9.tar.gz scummvm-rg350-e0f06d7f96e49b60e16e829099bd2b8b9a748da9.tar.bz2 scummvm-rg350-e0f06d7f96e49b60e16e829099bd2b8b9a748da9.zip |
HOPKINS: Implement INCENDIE()
-rw-r--r-- | engines/hopkins/hopkins.cpp | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp index fa319a84b7..378c5026f0 100644 --- a/engines/hopkins/hopkins.cpp +++ b/engines/hopkins/hopkins.cpp @@ -1881,7 +1881,49 @@ void HopkinsEngine::PUBQUIT() { } void HopkinsEngine::INCENDIE() { - warning("STUB - INCENDIE()"); + warning("INCENDIE()"); + + _globals.DESACTIVE_INVENT = true; + _globals.iRegul = 1; + _graphicsManager.LOAD_IMAGE("IM71"); + _animationManager.CHARGE_ANIM("ANIM71"); + _graphicsManager.SETCOLOR3(252, 100, 100, 100); + _graphicsManager.SETCOLOR3(253, 100, 100, 100); + _graphicsManager.SETCOLOR3(251, 100, 100, 100); + _graphicsManager.SETCOLOR3(254, 0, 0, 0); + _graphicsManager.VISU_ALL(); + _globals.BPP_NOAFF = true; + + int cpt = 0; + do { + _eventsManager.VBL(); + ++cpt; + } while (cpt <= 4); + + _globals.BPP_NOAFF = false; + _graphicsManager.FADE_INW(); + _globals.iRegul = 1; + + cpt = 0; + do { + _eventsManager.VBL(); + ++cpt; + } while (cpt <= 249); + + _globals.NOPARLE = true; + _talkManager.PARLER_PERSO("SVGARD1.pe2"); + _globals.NOPARLE = false; + + cpt = 0; + do { + _eventsManager.VBL(); + ++cpt; + } while (cpt <= 49); + + _graphicsManager.FADE_OUTW(); + _graphicsManager.FIN_VISU(); + *((byte *)_globals.SAUVEGARDE + 312) = 1; + _globals.DESACTIVE_INVENT = false; } void HopkinsEngine::BASE() { |