aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-03 06:01:37 +0530
committerEugene Sandulenko2019-09-03 17:17:09 +0200
commitb8a98fdcfe7e6c6c8896e85494113fd65d5ebda6 (patch)
tree74cfe091eb461e48ad2293ccb8fa17d2650eed5e /engines
parentbbecaabf326365271c53ad4a3968b156b1aa2f30 (diff)
downloadscummvm-rg350-b8a98fdcfe7e6c6c8896e85494113fd65d5ebda6.tar.gz
scummvm-rg350-b8a98fdcfe7e6c6c8896e85494113fd65d5ebda6.tar.bz2
scummvm-rg350-b8a98fdcfe7e6c6c8896e85494113fd65d5ebda6.zip
HDB: Add Vortexian and AI_NONE functions
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 1aa1c3cf71..a249884470 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1650,23 +1650,20 @@ void aiVortexianAction(AIEntity *e) {
}
void aiVortexianUse(AIEntity *e) {
- warning("STUB: AI: aiVortexianUse required");
}
void aiVortexianInit(AIEntity *e) {
- warning("STUB: AI: aiVortexianInit required");
+ e->aiUse = aiVortexianUse;
+ e->aiAction = aiVortexianAction;
+ e->value1 = 5;
+ e->value2 = 128;
}
void aiVortexianInit2(AIEntity *e) {
- warning("STUB: AI: aiVortexianInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiNoneInit(AIEntity *e) {
- warning("STUB: AI: aiNoneInit required");
-}
-
-void aiNoneInit2(AIEntity *e) {
- warning("STUB: AI: aiNoneInit2 required");
}
// Utility Functions