aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-06 01:11:20 +0530
committerEugene Sandulenko2019-09-03 17:17:13 +0200
commit7caca5d2d099fd7b8e16779c8531ba5c8b5afe79 (patch)
tree293d9b6c82fb1487d1afe9a40a47de72dc0d9b08 /engines
parent0d2f2f2bf7ff8bc8df8198a3e4634cab430437f4 (diff)
downloadscummvm-rg350-7caca5d2d099fd7b8e16779c8531ba5c8b5afe79.tar.gz
scummvm-rg350-7caca5d2d099fd7b8e16779c8531ba5c8b5afe79.tar.bz2
scummvm-rg350-7caca5d2d099fd7b8e16779c8531ba5c8b5afe79.zip
HDB: Unstub the '#if 0' functions
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 599844be03..6f3ba615f8 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -286,7 +286,6 @@ void aiPlayerAction(AIEntity *e) {
warning("STUB: Play MetalorFlesh SND");
break;
default:
- warning("aiPlayerAction: DIR_NONE found");
break;
}
}
@@ -1492,9 +1491,11 @@ void aiPdaInit2(AIEntity *e) {
e->draw = e->standdownGfx[0];
}
+#if 0
void aiCellUse(AIEntity *e) {
- warning("STUB: AI: aiCellUse required");
+ g_hdb->_window->openMessageBar("You got the Energy Cell!", kMsgDelay);
}
+#endif
void aiCellInit2(AIEntity *e) {
e->draw = e->standdownGfx[0];
@@ -1549,7 +1550,7 @@ void aiTransceiverAction(AIEntity *e) {
#if 0
void aiTransceiverUse(AIEntity *e) {
- warning("STUB: AI: aiTransceiverUse required");
+ g_hdb->_window->openMessageBar("You got the Transceiver!", kMsgDelay);
}
#endif