aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/ghostroom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/ghostroom.cpp')
-rw-r--r--engines/avalanche/ghostroom.cpp75
1 files changed, 75 insertions, 0 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
new file mode 100644
index 0000000000..ae371181d4
--- /dev/null
+++ b/engines/avalanche/ghostroom.cpp
@@ -0,0 +1,75 @@
+/* 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.
+*
+*/
+
+/*
+* This code is based on the original source code of Lord Avalot d'Argent version 1.3.
+* Copyright (c) 1994-1995 Mike: Mark and Thomas Thurman.
+*/
+
+#include "avalanche/avalanche.h"
+#include "avalanche/ghostroom.h"
+
+namespace Avalanche {
+
+const int8 GhostRoom::kAdjustment[5] = { 7, 0, 7, 7, 7 };
+
+const byte GhostRoom::kPlaneToUse[4] = { 2, 2, 2, 3 };
+
+const byte GhostRoom::kWaveOrder[5] = { 5, 1, 2, 3, 4 };
+
+const byte GhostRoom::kGlerkFade[26] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 3, 2, 2, 1 };
+
+const byte GhostRoom::kGreldetFade[18] = { 1, 2, 3, 4, 5, 6, 6, 6, 5, 5, 4, 4, 3, 3, 2, 2, 1, 1 };
+
+GhostRoom::GhostRoom(AvalancheEngine *vm) {
+ _vm = vm;
+}
+
+void GhostRoom::plainGrab() {
+ warning("STUB: plainGrab()");
+}
+
+void GhostRoom::getMe(void *p) {
+ warning("STUB: getMe()");
+}
+
+void GhostRoom::getMeAargh(byte which) {
+ warning("STUB: getMeAargh()");
+}
+
+void GhostRoom::wait(uint16 howLong) {
+ warning("STUB: wait()");
+}
+
+void GhostRoom::doBat() {
+ warning("STUB: doBat()");
+}
+
+void GhostRoom::bigGreenEyes(byte how) {
+ warning("STUB: bigGreenEyes()");
+}
+
+void GhostRoom::run() {
+ warning("STUB: run()");
+}
+
+} // End of namespace Avalanche