From e112ffdf4885096a3f786cec12612ab9510f7193 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 18 Dec 2015 10:05:11 +0100 Subject: [PATCH] WAGE: Added detection for Camp Cantitoe --- engines/wage/detection.cpp | 10 ++++++++++ engines/wage/wage.cpp | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/engines/wage/detection.cpp b/engines/wage/detection.cpp index f8297c2bd219..4bf8aa81ab20 100644 --- a/engines/wage/detection.cpp +++ b/engines/wage/detection.cpp @@ -39,6 +39,7 @@ const char *WageEngine::getGameFile() const { static const PlainGameDescriptor wageGames[] = { {"afm", "Another Fine Mess"}, + {"cantitoe", "Camp Cantitoe"}, {"wage", "World Adventure Game Engine game"}, {0, 0} }; @@ -55,6 +56,15 @@ static const ADGameDescription gameDescriptions[] = { ADGF_NO_FLAGS, GUIO0() }, + { + "cantitoe", + "", + AD_ENTRY1s("Camp Cantitoe", "098aa5c11c58e1ef274a30a9e01b4755", 621440), + Common::EN_ANY, + Common::kPlatformMacintosh, + ADGF_NO_FLAGS, + GUIO0() + }, AD_TABLE_END_MARKER }; diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 1ee89d4c5ebd..02663320efbc 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -108,8 +108,8 @@ Common::Error WageEngine::run() { Graphics::Surface screen; screen.create(640, 400, Graphics::PixelFormat::createFormatCLUT8()); Common::Rect r(0, 0, screen.w, screen.h); - _world->_scenes["entry"]->_design->setBounds(&r); - _world->_scenes["entry"]->_design->paint(&screen, _world->_patterns, false); + _world->_scenes["front door"]->_design->setBounds(&r); + _world->_scenes["front door"]->_design->paint(&screen, _world->_patterns, false); return Common::kNoError; }