aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_items.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-28 17:52:56 -0400
committerPaul Gilbert2016-08-28 17:52:56 -0400
commitfd2d4622966d36299129b3f1654484b49ee0c996 (patch)
tree6ab885a971901877f3500f3f49a96690c1b1d4e5 /engines/xeen/dialogs_items.h
parentdffa696b7beea02782579a004862f4aa86e8f3e6 (diff)
downloadscummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.tar.gz
scummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.tar.bz2
scummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.zip
XEEN: Moved method comments from CPP to header files
Diffstat (limited to 'engines/xeen/dialogs_items.h')
-rw-r--r--engines/xeen/dialogs_items.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/xeen/dialogs_items.h b/engines/xeen/dialogs_items.h
index bc995c52f8..6069ca823b 100644
--- a/engines/xeen/dialogs_items.h
+++ b/engines/xeen/dialogs_items.h
@@ -49,14 +49,32 @@ private:
Character *execute(Character *c, ItemsMode mode);
+ /**
+ * Load the buttons for the dialog
+ */
void loadButtons(ItemsMode mode, Character *&c);
+ /**
+ * Loads the temporary _itemsCharacter character with the item set
+ * the given blacksmith has available, so the user can "view" the
+ * set as if it were a standard character's inventory
+ */
void blackData2CharData();
+ /**
+ * Saves the inventory from the temporary _itemsCharacter character back into the
+ * blacksmith storage, so changes in blacksmith inventory remain persistent
+ */
void charData2BlackData();
+ /**
+ * Sets the equipment icon to use for each item for display
+ */
void setEquipmentIcons();
+ /**
+ * Calculate the cost of an item
+ */
int calcItemCost(Character *c, int itemIndex, ItemsMode mode, int skillLevel,
ItemCategory category);