diff options
author | Nipun Garg | 2019-07-03 05:56:44 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:08 +0200 |
commit | b0b096402cf808b5f7b849aa652a45e56a4c2477 (patch) | |
tree | b1f538208a3e935a807344e402666fac8bb3fcef /engines/hdb | |
parent | 5617ec541ae9965e6547343930e0b76c8ac0d170 (diff) | |
download | scummvm-rg350-b0b096402cf808b5f7b849aa652a45e56a4c2477.tar.gz scummvm-rg350-b0b096402cf808b5f7b849aa652a45e56a4c2477.tar.bz2 scummvm-rg350-b0b096402cf808b5f7b849aa652a45e56a4c2477.zip |
HDB: Add functions for TeaCup, Burger and Cookie
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai-player.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp index 982b7d1731..6a7cc271c4 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -1211,27 +1211,30 @@ void aiGemGreenInit2(AIEntity *e) { } void aiTeaCupInit(AIEntity *e) { - warning("STUB: AI: aiTeaCupInit required"); + strcpy(e->printedName, "a Teacup"); + e->aiAction = aiGetItemAction; } void aiTeaCupInit2(AIEntity *e) { - warning("STUB: AI: aiTeaCupInit2 required"); + e->draw = e->standdownGfx[0]; } void aiCookieInit(AIEntity *e) { - warning("STUB: AI: aiCookieInit required"); + strcpy(e->printedName, "a Cookie"); + e->aiAction = aiGetItemAction; } void aiCookieInit2(AIEntity *e) { - warning("STUB: AI: aiCookieInit2 required"); + e->draw = e->standdownGfx[0]; } void aiBurgerInit(AIEntity *e) { - warning("STUB: AI: aiBurgerInit required"); + strcpy(e->printedName, "a Burger"); + e->aiAction = aiGetItemAction; } void aiBurgerInit2(AIEntity *e) { - warning("STUB: AI: aiBurgerInit2 required"); + e->draw = e->standdownGfx[0]; } void aiBookInit(AIEntity *e) { |