aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-03 06:00:21 +0530
committerEugene Sandulenko2019-09-03 17:17:08 +0200
commit169c4d86f645c91e9bc9883082871492004906f9 (patch)
tree33efb0f57abe0f4730354876ac146d3c0f4a6103 /engines
parent7871ad60076fc155d7f585eb5be0f00831edfd45 (diff)
downloadscummvm-rg350-169c4d86f645c91e9bc9883082871492004906f9.tar.gz
scummvm-rg350-169c4d86f645c91e9bc9883082871492004906f9.tar.bz2
scummvm-rg350-169c4d86f645c91e9bc9883082871492004906f9.zip
HDB: Add Transceiver functions
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 8713be7be5..6b0f5b6da7 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1541,20 +1541,25 @@ void aiEnvelopeRedInit2(AIEntity *e) {
}
void aiTransceiverInit(AIEntity *e) {
- warning("STUB: AI: aiTransceiverInit required");
+ e->aiAction = aiTransceiverAction;
+ strcpy(e->printedName, "Transceiver");
}
void aiTransceiverInit2(AIEntity *e) {
- warning("STUB: AI: aiTransceiverInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiTransceiverAction(AIEntity *e) {
- warning("STUB: AI: aiTransceiverAction required");
+ aiAnimateStanddown(e, 5);
+ if (e->onScreen)
+ aiGetItemAction(e);
}
+#if 0
void aiTransceiverUse(AIEntity *e) {
warning("STUB: AI: aiTransceiverUse required");
}
+#endif
void aiMonkeystoneInit(AIEntity *e) {
warning("STUB: AI: aiMonkeystoneInit required");