aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-01 23:32:16 -0500
committerPaul Gilbert2015-02-01 23:32:16 -0500
commit7febe773008db7cee0ed1b3f5f1f2fb114d22334 (patch)
tree8950cd1ecd626dc2cfedde87ba1cfe7d0e9521ee /engines/xeen/town.cpp
parent78234db2c02c95e1b9e88b4096b9a9c96fd95adf (diff)
downloadscummvm-rg350-7febe773008db7cee0ed1b3f5f1f2fb114d22334.tar.gz
scummvm-rg350-7febe773008db7cee0ed1b3f5f1f2fb114d22334.tar.bz2
scummvm-rg350-7febe773008db7cee0ed1b3f5f1f2fb114d22334.zip
XEEN: Beginnings of Items dialog
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r--engines/xeen/town.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index 3449c2e3c3..c5cf0b6a10 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -22,6 +22,7 @@
#include "xeen/town.h"
#include "xeen/dialogs_input.h"
+#include "xeen/dialogs_items.h"
#include "xeen/dialogs_yesno.h"
#include "xeen/dialogs_spells.h"
#include "xeen/resources.h"
@@ -536,8 +537,8 @@ Character *Town::doBlacksmithOptions(Character *c) {
intf.highlightChar(_buttonValue);
}
}
- else if (_buttonValue == Common::KEYCODE_c) {
- c = showItems(c, 1);
+ else if (_buttonValue == Common::KEYCODE_b) {
+ c = ItemsDialog::show(_vm, c, ITEMMODE_BLACKSMITH);
_buttonValue = 0;
}
@@ -1190,8 +1191,4 @@ bool Town::isActive() const {
return _townSprites.size() > 0 && !_townSprites[0].empty();
}
-Character *Town::showItems(Character *c, int v2) {
- error("TODO: showItems");
-}
-
} // End of namespace Xeen