From 5b9cb372cd3705dd0776e7f431dc98ecff270256 Mon Sep 17 00:00:00 2001 From: uruk Date: Fri, 7 Mar 2014 18:24:45 +0100 Subject: AVALANCHE: Implement Parser::bossKey(). Revise some other parts of the engine during the process. --- engines/avalanche/avalot.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'engines/avalanche/avalot.cpp') diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 8f619e6a13..e855c71fcf 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -416,9 +416,7 @@ void AvalancheEngine::loadAlso(byte num) { } } -void AvalancheEngine::loadRoom(byte num) { - CursorMan.showMouse(false); - +void AvalancheEngine::loadBackground(byte num) { Common::String filename = Common::String::format("place%d.avd", num); Common::File file; if (!file.open(filename)) @@ -440,9 +438,15 @@ void AvalancheEngine::loadRoom(byte num) { _graphics->refreshBackground(); file.close(); +} +void AvalancheEngine::loadRoom(byte num) { + CursorMan.showMouse(false); + + loadBackground(num); loadAlso(num); - _background->load(num); + _background->loadSprites(num); + CursorMan.showMouse(true); } -- cgit v1.2.3