From 764ee3a5a3f9f600b8d369d8474d2702b22f73f7 Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sat, 10 Feb 2018 21:39:14 +0100 Subject: MUTATIONOFJB: Base for new engine --- engines/mutationofjb/mutationofjb.cpp | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 engines/mutationofjb/mutationofjb.cpp (limited to 'engines/mutationofjb/mutationofjb.cpp') diff --git a/engines/mutationofjb/mutationofjb.cpp b/engines/mutationofjb/mutationofjb.cpp new file mode 100644 index 0000000000..f50ba70792 --- /dev/null +++ b/engines/mutationofjb/mutationofjb.cpp @@ -0,0 +1,50 @@ +/* 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/scummsys.h" + +#include "common/debug.h" +#include "common/error.h" + +#include "engines/util.h" + +#include "mutationofjb/mutationofjb.h" + +namespace MutationOfJB { + +MutationOfJBEngine::MutationOfJBEngine(OSystem *syst) +: Engine(syst), _console(nullptr) { + debug("MutationOfJBEngine::MutationOfJBEngine"); +} + +MutationOfJBEngine::~MutationOfJBEngine() { + debug("MutationOfJBEngine::~MutationOfJBEngine"); +} + +Common::Error MutationOfJBEngine::run() { + initGraphics(320, 200, false); + _console = new Console(this); + debug("MutationOfJBEngine::run"); + + return Common::kNoError; +} +} -- cgit v1.2.3