aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-05-22 22:29:24 +1000
committerPaul Gilbert2013-05-22 22:29:24 +1000
commit71d2b5008de98bd94fc439cdda7ba8f8f13e760e (patch)
tree387fad611b2e139fabfbe58df797e33bfd28c56c /engines/voyeur/voyeur.cpp
parentd4a137528f17ef16d0d1ff703afcdfa7c71172ed (diff)
downloadscummvm-rg350-71d2b5008de98bd94fc439cdda7ba8f8f13e760e.tar.gz
scummvm-rg350-71d2b5008de98bd94fc439cdda7ba8f8f13e760e.tar.bz2
scummvm-rg350-71d2b5008de98bd94fc439cdda7ba8f8f13e760e.zip
VOYEUR: Finished globalInitBolt method
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r--engines/voyeur/voyeur.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 256a642de0..d20a916b35 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -101,6 +101,18 @@ void VoyeurEngine::globalInitBolt() {
_bVoyBoltFile->getBoltGroup(0x10100);
_fontPtr = _bVoyBoltFile->memberAddr(0x101);
+ // Setup default flags
+ Common::fill((byte *)&_voy, (byte *)&_voy + sizeof(SVoy), 0);
+ _voy._eCursorOff[0x74 / 2] = 1;
+ _voy._eCursorOff[0x68 / 2] = 0;
+ _voy._eventTable[0x3e6]._data3 = 63;
+ _voy._eventTable[0x3e6]._data4 = 63;
+ _voy._evidence[19] = 0;
+ _voy._evidence[17] = 0;
+ _voy._evidence[18] = 9999;
+
+ _voy._curICF0 = _graphicsManager._palFlag ? 0xFFFFA5E0 : 0x5F90;
+ _graphicsManager.addFadeInt();
}
} // End of namespace Voyeur