aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2.cpp
diff options
context:
space:
mode:
authoruruk2014-04-25 16:55:41 +0200
committeruruk2014-04-25 16:55:41 +0200
commit2141c99b59945401508628bd2701beb08aeb7cf5 (patch)
tree4697d98f1923d44463a64772bb9e871968de819c /engines/cge2/cge2.cpp
parent1726f5731d882ad73a0c04ab19746245ee699d1d (diff)
downloadscummvm-rg350-2141c99b59945401508628bd2701beb08aeb7cf5.tar.gz
scummvm-rg350-2141c99b59945401508628bd2701beb08aeb7cf5.tar.bz2
scummvm-rg350-2141c99b59945401508628bd2701beb08aeb7cf5.zip
CGE2: Initial commit, implement detection.
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r--engines/cge2/cge2.cpp60
1 files changed, 60 insertions, 0 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp
new file mode 100644
index 0000000000..488076f3f5
--- /dev/null
+++ b/engines/cge2/cge2.cpp
@@ -0,0 +1,60 @@
+/* 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 "cge2/cge2.h"
+
+namespace CGE2 {
+
+CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
+ : Engine(syst), _gameDescription(gameDescription) {
+}
+
+CGE2Engine::~CGE2Engine() {
+}
+
+bool CGE2Engine::hasFeature(EngineFeature f) const {
+ return false;
+}
+
+bool CGE2Engine::canLoadGameStateCurrently() {
+ return false;
+}
+bool CGE2Engine::canSaveGameStateCurrently() {
+ return false;
+}
+
+Common::Error CGE2Engine::loadGameState(int slot) {
+ warning("STUB: CGE2Engine::loadGameState()");
+ return Common::kNoError;
+}
+
+Common::Error CGE2Engine::saveGameState(int slot, const Common::String &desc) {
+ warning("STUB: CGE2Engine::saveGameState()");
+ return Common::kNoError;
+}
+
+Common::Error CGE2Engine::run() {
+ warning("STUB: CGE2Engine::run()");
+ return Common::kNoError;
+}
+
+} // End of namespace CGE2