From 3596672735c980e94dffd63d7c29e416ec98365e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 16 Mar 2016 18:36:48 +0100 Subject: CHEWY: Added engine stub --- engines/chewy/chewy.cpp | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 engines/chewy/chewy.cpp (limited to 'engines/chewy/chewy.cpp') diff --git a/engines/chewy/chewy.cpp b/engines/chewy/chewy.cpp new file mode 100644 index 0000000000..a26a944674 --- /dev/null +++ b/engines/chewy/chewy.cpp @@ -0,0 +1,53 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#include "common/error.h" + +#include "engines/engine.h" +#include "engines/util.h" + +#include "chewy/chewy.h" + +namespace Chewy { + +ChewyEngine::ChewyEngine(OSystem *syst, const ChewyGameDescription *gameDesc) + : Engine(syst), + _gameDescription(gameDesc), + _rnd("chewy") { +} + +ChewyEngine::~ChewyEngine() { +} + +Common::Error ChewyEngine::run() { + // Initialize backend + initGraphics(320, 200, false); + + initialize(); + + return Common::kNoError; +} + +void ChewyEngine::initialize() { +} + +} // End of namespace Chewy -- cgit v1.2.3