aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/chewy.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-03-16 18:36:48 +0100
committerFilippos Karapetis2016-10-03 00:32:32 +0300
commit3596672735c980e94dffd63d7c29e416ec98365e (patch)
tree564989a376107f3447eeec0a04d74831f658961a /engines/chewy/chewy.cpp
parent437f1d1cd154fd9b1817f2bdb0fc3f89655c1722 (diff)
downloadscummvm-rg350-3596672735c980e94dffd63d7c29e416ec98365e.tar.gz
scummvm-rg350-3596672735c980e94dffd63d7c29e416ec98365e.tar.bz2
scummvm-rg350-3596672735c980e94dffd63d7c29e416ec98365e.zip
CHEWY: Added engine stub
Diffstat (limited to 'engines/chewy/chewy.cpp')
-rw-r--r--engines/chewy/chewy.cpp53
1 files changed, 53 insertions, 0 deletions
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