aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/tony.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-04-25 12:49:49 +1000
committerPaul Gilbert2012-04-25 12:49:49 +1000
commitbc08a919d2b58930c99818ec1d629c4c712c02ae (patch)
tree835622c0811a2c9e3e4f14154f8d020c649f5264 /engines/tony/tony.h
parenta322ee83dd281de93d2ab564366d474821132d90 (diff)
downloadscummvm-rg350-bc08a919d2b58930c99818ec1d629c4c712c02ae.tar.gz
scummvm-rg350-bc08a919d2b58930c99818ec1d629c4c712c02ae.tar.bz2
scummvm-rg350-bc08a919d2b58930c99818ec1d629c4c712c02ae.zip
TONY: Created skeleton engine
Diffstat (limited to 'engines/tony/tony.h')
-rw-r--r--engines/tony/tony.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/engines/tony/tony.h b/engines/tony/tony.h
new file mode 100644
index 0000000000..5aa0de95a3
--- /dev/null
+++ b/engines/tony/tony.h
@@ -0,0 +1,80 @@
+/* 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.
+ *
+ */
+
+#ifndef TONY_H
+#define TONY_H
+
+#include "common/scummsys.h"
+#include "common/system.h"
+#include "common/error.h"
+#include "common/events.h"
+#include "common/keyboard.h"
+#include "common/util.h"
+#include "engines/engine.h"
+
+/**
+ * This is the namespace of the Tony engine.
+ *
+ * Status of this engine: In Development
+ *
+ * Games using this engine:
+ * - Tony Tough
+ */
+namespace Tony {
+
+enum {
+ kTonyDebugAnimations = 1 << 0,
+ kTonyDebugActions = 1 << 1,
+ kTonyDebugSound = 1 << 2,
+ kTonyDebugMusic = 2 << 3
+};
+
+#define DEBUG_BASIC 1
+#define DEBUG_INTERMEDIATE 2
+#define DEBUG_DETAILED 3
+
+struct TonyGameDescription;
+
+class TonyEngine : public Engine {
+protected:
+ // Engine APIs
+ virtual Common::Error run();
+ virtual bool hasFeature(EngineFeature f) const;
+public:
+ TonyEngine(OSystem *syst, const TonyGameDescription *gameDesc);
+ virtual ~TonyEngine();
+
+ const TonyGameDescription *_gameDescription;
+ uint32 getGameID() const;
+ uint32 getFeatures() const;
+ Common::Language getLanguage() const;
+ uint16 getVersion() const;
+ uint32 getFlags() const;
+ Common::Platform getPlatform() const;
+};
+
+// Global reference to the TonyEngine object
+extern TonyEngine *_vm;
+
+} // End of namespace Tony
+
+#endif /* TONY_H */