Skip to content

Commit

Permalink
WAGE: Added detection for Camp Cantitoe
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 27, 2015
1 parent 1ffabd4 commit e112ffd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions engines/wage/detection.cpp
Expand Up @@ -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}
};
Expand All @@ -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
};
Expand Down
4 changes: 2 additions & 2 deletions engines/wage/wage.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit e112ffd

Please sign in to comment.