aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-06 01:55:21 +0530
committerEugene Sandulenko2019-09-03 17:17:13 +0200
commita2c9c83b8392b850cec2839adf6367ca7186581b (patch)
tree2c1662f76c9491646b2a5137a3cbe1b5e0c8c571
parentebea69eceb2cb8ae823a702b484b9a29f91f3858 (diff)
downloadscummvm-rg350-a2c9c83b8392b850cec2839adf6367ca7186581b.tar.gz
scummvm-rg350-a2c9c83b8392b850cec2839adf6367ca7186581b.tar.bz2
scummvm-rg350-a2c9c83b8392b850cec2839adf6367ca7186581b.zip
HDB: Unstub Window function calls
-rw-r--r--engines/hdb/ai-inventory.cpp2
-rw-r--r--engines/hdb/input.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp
index 3dfea6974f..ef67c73e9c 100644
--- a/engines/hdb/ai-inventory.cpp
+++ b/engines/hdb/ai-inventory.cpp
@@ -56,7 +56,7 @@ bool AI::addToInventory(AIEntity *e) {
}
if (_numInventory >= kMaxInventory) {
- warning("STUB: addToInventory: Inventory full message");
+ g_hdb->_window->openMessageBar("Your inventory is full.", 5);
return false;
}
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index 2c527e66b2..9762910c33 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -250,7 +250,7 @@ void Input::updateMouseButtons(int l, int m, int r) {
if (_mouseX > (kScreenWidth - 32 * 5) && _mouseY < 240) {
g_hdb->_window->checkInvSelect(_mouseX, _mouseY);
} else if (_mouseX > (kScreenWidth - 32 * 5) && _mouseY >= 240) {
- warning("STUB: updateMouseButtons: checkDeliveriesSelect() required");
+ g_hdb->_window->checkDlvSelect(_mouseX, _mouseY);
} else {
if (g_hdb->getPause() && g_hdb->getGameState() == GAME_PLAY) {
g_hdb->_window->checkPause(_mouseX, _mouseY);