aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-02 05:37:45 +0530
committerEugene Sandulenko2019-09-03 17:17:07 +0200
commit7fdef04af98d813e172edf60df160c0628b6931b (patch)
tree55a3d64ab8932635887275aa3f92e2e1d8bc1ca5 /engines
parent240ab4e36fa86196e2d429c833ac929a6f71b356 (diff)
downloadscummvm-rg350-7fdef04af98d813e172edf60df160c0628b6931b.tar.gz
scummvm-rg350-7fdef04af98d813e172edf60df160c0628b6931b.tar.bz2
scummvm-rg350-7fdef04af98d813e172edf60df160c0628b6931b.zip
HDB: Add PDA related functions
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 5a0b98d89f..64c95d5deb 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1480,11 +1480,12 @@ void aiItemChickenInit2(AIEntity *e) {
}
void aiPdaInit(AIEntity *e) {
- warning("STUB: AI: aiPdaInit required");
+ strcpy(e->printedName, "a P.D.A.");
+ e->aiAction = aiGetItemAction;
}
void aiPdaInit2(AIEntity *e) {
- warning("STUB: AI: aiPdaInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiCellUse(AIEntity *e) {