diff options
author | uruk | 2013-07-24 19:43:10 +0200 |
---|---|---|
committer | uruk | 2013-07-24 19:43:10 +0200 |
commit | 39dfddff1f3d35c889e1a0ea7053a4e648e036fa (patch) | |
tree | 62b9a4656f8cbf7576f9159537171563c9fd55f8 /engines/avalanche/avalanche.cpp | |
parent | c0823f3e79bb17369904f704a27fad8127faeb9e (diff) | |
download | scummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.tar.gz scummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.tar.bz2 scummvm-rg350-39dfddff1f3d35c889e1a0ea7053a4e648e036fa.zip |
AVALANCHE: Change class variables to pointers, update everything accordingly.
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r-- | engines/avalanche/avalanche.cpp | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index e490ace48a..919481679c 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -63,8 +63,18 @@ AvalancheEngine::~AvalancheEngine() { delete _enhanced; delete _logger; delete _pingo; - + delete _scrolls; + delete _visa; + delete _lucerna; + delete _enid; + delete _celer; + delete _sequence; delete _timeout; + delete _trip; + delete _acci; + delete _basher; + delete _dropdown; + delete _closing; } Common::ErrorCode AvalancheEngine::initialize() { @@ -75,25 +85,25 @@ Common::ErrorCode AvalancheEngine::initialize() { _enhanced = new Enhanced(this); _logger = new Logger(this); _pingo = new Pingo(this); - _scrolls.setParent(this); - _visa.setParent(this); - _lucerna.setParent(this); - _enid.setParent(this); - _celer.setParent(this); - _sequence.setParent(this); + _scrolls = new Scrolls(this); + _visa = new Visa(this); + _lucerna = new Lucerna(this); + _enid = new Enid(this); + _celer = new Celer(this); + _sequence = new Sequence(this); _timeout = new Timeout(this); - _trip.setParent(this); - _acci.setParent(this); - _basher.setParent(this); - _dropdown.setParent(this); - _closing.setParent(this); + _trip = new Trip(this); + _acci = new Acci(this); + _basher = new Basher(this); + _dropdown = new Dropdown(this); + _closing = new Closing(this); _graphics->init(); - _scrolls.init(); - _lucerna.init(); - _acci.init(); - _basher.init(); + _scrolls->init(); + _lucerna->init(); + _acci->init(); + _basher->init(); return Common::kNoError; |