diff options
author | Paul Gilbert | 2013-05-23 23:13:28 +1000 |
---|---|---|
committer | Paul Gilbert | 2013-05-23 23:13:28 +1000 |
commit | 0d26e515fb89a2a61c16eb3bb5b2e9f544dc4aff (patch) | |
tree | 42774a469a775252157f0a2f14c890121cb1b959 /engines/voyeur/voyeur.cpp | |
parent | 71d2b5008de98bd94fc439cdda7ba8f8f13e760e (diff) | |
download | scummvm-rg350-0d26e515fb89a2a61c16eb3bb5b2e9f544dc4aff.tar.gz scummvm-rg350-0d26e515fb89a2a61c16eb3bb5b2e9f544dc4aff.tar.bz2 scummvm-rg350-0d26e515fb89a2a61c16eb3bb5b2e9f544dc4aff.zip |
VOYEUR: Start of work on general initialisation
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r-- | engines/voyeur/voyeur.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index d20a916b35..99671f647a 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -21,6 +21,7 @@ */ #include "voyeur/voyeur.h" +#include "voyeur/graphics.h" #include "common/scummsys.h" #include "common/config-manager.h" #include "common/debug-channels.h" @@ -74,8 +75,8 @@ Common::Error VoyeurEngine::saveGameState(int slot, const Common::String &desc) Common::Error VoyeurEngine::run() { ESP_Init(); - globalInitBolt(); + _eventManager.resetMouse(); //doHeadTitle(); @@ -96,6 +97,8 @@ void VoyeurEngine::ESP_Init() { } void VoyeurEngine::globalInitBolt() { + initBolt(); + _filesManager.openBoltLib("bvoy.blt", _bVoyBoltFile); _bVoyBoltFile->getBoltGroup(0x10000); _bVoyBoltFile->getBoltGroup(0x10100); @@ -115,4 +118,18 @@ void VoyeurEngine::globalInitBolt() { _graphicsManager.addFadeInt(); } +void VoyeurEngine::initBolt() { + vInitInterrupts(); + _graphicsManager.sInitGraphics(); + _graphicsManager.vInitColor(); + initInput(); +} + +void VoyeurEngine::vInitInterrupts() { + _intPtr._colors = &_graphicsManager._VGAColors[0]; +} + +void VoyeurEngine::initInput() { +} + } // End of namespace Voyeur |