From de12f46db5d636c005118db2743bbb7b8a8e6287 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 29 Sep 2013 17:54:03 +0200 Subject: AVALANCHE: Rename Graphics to avoid confusion, add drawBackgroundSprite(), set _background private --- engines/avalanche/avalanche.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/avalanche/avalanche.cpp') diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index 729bb8bdc5..617d23cd19 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -91,7 +91,7 @@ AvalancheEngine::~AvalancheEngine() { } Common::ErrorCode AvalancheEngine::initialize() { - _graphics = new Graphics(this); + _graphics = new GraphicManager(this); _parser = new Parser(this); _clock = new Clock(this); @@ -299,7 +299,7 @@ bool AvalancheEngine::saveGame(const int16 slot, const Common::String &desc) { f->writeUint32LE(desc.size()); f->write(desc.c_str(), desc.size()); - ::Graphics::saveThumbnail(*f); + Graphics::saveThumbnail(*f); TimeDate t; _system->getTimeAndDate(t); @@ -359,7 +359,7 @@ bool AvalancheEngine::loadGame(const int16 slot) { } description.toUppercase(); - ::Graphics::skipThumbnail(*f); + Graphics::skipThumbnail(*f); // Read the time the game was saved. TimeDate t; -- cgit v1.2.3