diff options
author | Strangerke | 2013-11-03 10:51:15 +0100 |
---|---|---|
committer | Strangerke | 2013-11-03 10:51:15 +0100 |
commit | c24ba381cba9a18d0ab568d8709d64633472d8ca (patch) | |
tree | ed4902f17174c19cbda669c3202d5fed7b616e93 /engines | |
parent | fbd365bb9a9ef683fa839fa5a55a6e15df13259d (diff) | |
download | scummvm-rg350-c24ba381cba9a18d0ab568d8709d64633472d8ca.tar.gz scummvm-rg350-c24ba381cba9a18d0ab568d8709d64633472d8ca.tar.bz2 scummvm-rg350-c24ba381cba9a18d0ab568d8709d64633472d8ca.zip |
AVALANCHE: Fix CID 1109674
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/avalanche.cpp | 16 | ||||
-rw-r--r-- | engines/avalanche/avalanche.h | 4 | ||||
-rw-r--r-- | engines/avalanche/detection.cpp | 4 |
3 files changed, 19 insertions, 5 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index ef03c51107..e373ab58c3 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -43,6 +43,21 @@ AvalancheEngine::AvalancheEngine(OSystem *syst, const AvalancheGameDescription * _rnd->setSeed(time.tm_sec + time.tm_min + time.tm_hour); _showDebugLines = false; + _clock = nullptr; + _graphics = nullptr; + _parser = nullptr; + _pingo = nullptr; + _dialogs = nullptr; + _background = nullptr; + _sequence = nullptr; + _timer = nullptr; + _animation = nullptr; + _menu = nullptr; + _closing = nullptr; + _sound = nullptr; + + _platform = gd->desc.platform; + initVariables(); } @@ -130,6 +145,7 @@ void AvalancheEngine::initVariables() { _thinkThing = true; _seeScroll = false; _currentMouse = 177; + _holdLeftMouse = false; } Common::ErrorCode AvalancheEngine::initialize() { diff --git a/engines/avalanche/avalanche.h b/engines/avalanche/avalanche.h index 3cc342ca8c..b6e168f830 100644 --- a/engines/avalanche/avalanche.h +++ b/engines/avalanche/avalanche.h @@ -55,7 +55,9 @@ class RandomSource; namespace Avalanche { -struct AvalancheGameDescription; +struct AvalancheGameDescription { + ADGameDescription desc; +}; static const int kSavegameVersion = 1; diff --git a/engines/avalanche/detection.cpp b/engines/avalanche/detection.cpp index 428e71f35a..048b0fe148 100644 --- a/engines/avalanche/detection.cpp +++ b/engines/avalanche/detection.cpp @@ -35,10 +35,6 @@ namespace Avalanche { -struct AvalancheGameDescription { - ADGameDescription desc; -}; - uint32 AvalancheEngine::getFeatures() const { return _gameDescription->desc.flags; } |