diff options
author | Nipun Garg | 2019-07-06 02:42:48 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:13 +0200 |
commit | c63e7c838b1e00fa43af6160fb82ab259b68fe3f (patch) | |
tree | 8611988dbb75d39a71a10f1602f7c5f3f7dcf1cc /engines | |
parent | 59417482096b378fe9cc6b65bd35b0dc9ffa13bb (diff) | |
download | scummvm-rg350-c63e7c838b1e00fa43af6160fb82ab259b68fe3f.tar.gz scummvm-rg350-c63e7c838b1e00fa43af6160fb82ab259b68fe3f.tar.bz2 scummvm-rg350-c63e7c838b1e00fa43af6160fb82ab259b68fe3f.zip |
HDB: Unstub stubs
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-inventory.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/ai-lists.cpp | 7 | ||||
-rw-r--r-- | engines/hdb/ai-waypoint.cpp | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp index ef67c73e9c..65e84339f5 100644 --- a/engines/hdb/ai-inventory.cpp +++ b/engines/hdb/ai-inventory.cpp @@ -300,7 +300,7 @@ bool AI::completeDelivery(const char *id) { for (; i < _numDeliveries; i++) memcpy(&_deliveries[i], &_deliveries[i + 1], sizeof(_deliveries[0])); _numDeliveries--; - warning("STUB: Play Voice: GUY_COMPLETED"); + g_hdb->_sound->playVoice(GUY_COMPLETED, 1); return true; } return false; diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index 53084dd46f..a8e6511cd1 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -794,7 +794,10 @@ bool AI::checkTeleportList(AIEntity *e, int x, int y) { } // PANIC ZONE Teleports? - warning("STUB: checkTeleporterList: Toggle Panic Zone"); + if (anim2 >= 2) + g_hdb->_window->startPanicZone(); + else + g_hdb->_window->stopPanicZone(); // Is there an attack gem still floating around? for (Common::Array<AIEntity *>::iterator it = _ents->begin(); it != _ents->end(); it++) { @@ -849,7 +852,7 @@ void AI::addToTriggerList(char *luaFuncInit, char *luaFuncUse, int x, int y, int strcpy(t->luaFuncUse, luaFuncUse); if (!t->luaFuncUse[0]) - warning("STUB: addToTriggerList: Open MessageBar"); + g_hdb->_window->openMessageBar("Trigger without USE!", 10); if (t->luaFuncInit[0]) { g_hdb->_lua->pushFunction(t->luaFuncInit); diff --git a/engines/hdb/ai-waypoint.cpp b/engines/hdb/ai-waypoint.cpp index 687c57cdcd..9e16e1326a 100644 --- a/engines/hdb/ai-waypoint.cpp +++ b/engines/hdb/ai-waypoint.cpp @@ -119,7 +119,7 @@ void AI::addWaypoint(int px, int py, int x, int y, int level) { _waypoints[_numWaypoints].y = ny; _waypoints[_numWaypoints].level = lvl2; _numWaypoints++; - warning("STUB: Play SND_MENU_SLIDER"); + g_hdb->_sound->playSound(SND_MENU_SLIDER); if (onEvenTile(_player->x, _player->y)) setEntityGoal(_player, tx, ty); |