aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-19 17:27:11 +0530
committerEugene Sandulenko2019-09-03 17:16:49 +0200
commit0e77d93ad43d31b44aadf443bb35282ff038dc16 (patch)
tree0a0b55d6baf09def812a289d15e01b559da55608 /engines/hdb
parent1810015d8f144eeb29923539cab366af0545878c (diff)
downloadscummvm-rg350-0e77d93ad43d31b44aadf443bb35282ff038dc16.tar.gz
scummvm-rg350-0e77d93ad43d31b44aadf443bb35282ff038dc16.tar.bz2
scummvm-rg350-0e77d93ad43d31b44aadf443bb35282ff038dc16.zip
HDB: Add stubbed locateEntity()
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/ai-funcs.cpp32
-rw-r--r--engines/hdb/ai.h2
-rw-r--r--engines/hdb/module.mk1
3 files changed, 35 insertions, 0 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
new file mode 100644
index 0000000000..2592861e08
--- /dev/null
+++ b/engines/hdb/ai-funcs.cpp
@@ -0,0 +1,32 @@
+/* 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 "hdb/hdb.h"
+
+namespace HDB {
+
+AIEntity *AI::locateEntity(const char *luaName) {
+ warning("STUB: AI::locateEntity required");
+ return NULL;
+}
+
+} // End of Namespace \ No newline at end of file
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 67276d034d..bcc2a6c0ed 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -399,6 +399,8 @@ public:
bool init();
void restartSystem();
+ // Entity Functions
+ AIEntity *locateEntity(const char *luaName);
// Cinematic Functions
void processCines();
diff --git a/engines/hdb/module.mk b/engines/hdb/module.mk
index 655d4b19f2..2f8e0bde94 100644
--- a/engines/hdb/module.mk
+++ b/engines/hdb/module.mk
@@ -3,6 +3,7 @@ MODULE := engines/hdb
MODULE_OBJS := \
ai-init.o \
ai-cinematic.o \
+ ai-funcs.o \
ai-player.o \
console.o \
draw-manager.o \