aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-03 05:58:13 +0530
committerEugene Sandulenko2019-09-03 17:17:08 +0200
commitdd53729b810c1a3c89c06a7b6cccaee0a705edd7 (patch)
tree1d2cc4bfb2807f72a90bbd962509016ee0821bb2
parenta870b934218fb6782709858ead4aab7a73295809 (diff)
downloadscummvm-rg350-dd53729b810c1a3c89c06a7b6cccaee0a705edd7.tar.gz
scummvm-rg350-dd53729b810c1a3c89c06a7b6cccaee0a705edd7.tar.bz2
scummvm-rg350-dd53729b810c1a3c89c06a7b6cccaee0a705edd7.zip
HDB: Add Dolly Tools, Splicer, Package and Router
-rw-r--r--engines/hdb/ai-player.cpp35
1 files changed, 21 insertions, 14 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 2a56792b53..ea2f6c92cd 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1337,59 +1337,66 @@ void aiSodaInit2(AIEntity *e) {
}
void aiDollyTool1Init(AIEntity *e) {
- warning("STUB: AI: aiDollyTool1Init required");
+ strcpy(e->printedName, "Dolly's Wrench");
+ e->aiAction = aiGetItemAction;
}
void aiDollyTool1Init2(AIEntity *e) {
- warning("STUB: AI: aiDollyTool1Init2 required");
+ e->draw = e->standdownGfx[0];
}
void aiDollyTool2Init(AIEntity *e) {
- warning("STUB: AI: aiDollyTool2Init required");
+ strcpy(e->printedName, "Dolly's Torch");
+ e->aiAction = aiGetItemAction;
}
void aiDollyTool2Init2(AIEntity *e) {
- warning("STUB: AI: aiDollyTool2Init2 required");
+ e->draw = e->standdownGfx[0];
}
void aiDollyTool3Init(AIEntity *e) {
- warning("STUB: AI: aiDollyTool3Init required");
+ strcpy(e->printedName, "Dolly's EMF Resonator");
+ e->aiAction = aiGetItemAction;
}
void aiDollyTool3Init2(AIEntity *e) {
- warning("STUB: AI: aiDollyTool3Init2 required");
+ e->draw = e->standdownGfx[0];
}
void aiDollyTool4Init(AIEntity *e) {
- warning("STUB: AI: aiDollyTool4Init required");
+ strcpy(e->printedName, "Dolly's Toolbox");
+ e->aiAction = aiGetItemAction;
}
void aiDollyTool4Init2(AIEntity *e) {
- warning("STUB: AI: aiDollyTool4Init2 required");
+ e->draw = e->standdownGfx[0];
}
void aiRouterInit(AIEntity *e) {
- warning("STUB: AI: aiRouterInit required");
+ strcpy(e->printedName, "a Computer Router");
+ e->aiAction = aiGetItemAction;
}
void aiRouterInit2(AIEntity *e) {
- warning("STUB: AI: aiRouterInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiSlicerInit(AIEntity *e) {
- warning("STUB: AI: aiSlicerInit required");
+ strcpy(e->printedName, "a Pizza Slicer");
+ e->aiAction = aiGetItemAction;
}
void aiSlicerInit2(AIEntity *e) {
- warning("STUB: AI: aiSlicerInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiPackageInit(AIEntity *e) {
- warning("STUB: AI: aiPackageInit required");
+ strcpy(e->printedName, "a Package");
+ e->aiAction = aiGetItemAction;
}
void aiPackageInit2(AIEntity *e) {
- warning("STUB: AI: aiPackageInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiMagicEggAction(AIEntity *e) {