aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/inventory.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-10 23:35:26 -0500
committerPaul Gilbert2015-04-10 23:35:26 -0500
commit96e04ab797253bbe853f172ea1d734ebe812d419 (patch)
tree4647c733d4d3684e6c722c3f84d7fbef9c660ba8 /engines/sherlock/inventory.h
parentd45d1672137843d028c4ddf63ccf9b62d5d72976 (diff)
downloadscummvm-rg350-96e04ab797253bbe853f172ea1d734ebe812d419.tar.gz
scummvm-rg350-96e04ab797253bbe853f172ea1d734ebe812d419.tar.bz2
scummvm-rg350-96e04ab797253bbe853f172ea1d734ebe812d419.zip
SHERLOCK: Implemented doScript and support methods
Diffstat (limited to 'engines/sherlock/inventory.h')
-rw-r--r--engines/sherlock/inventory.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/inventory.h b/engines/sherlock/inventory.h
index 55abc4c960..722692a3b2 100644
--- a/engines/sherlock/inventory.h
+++ b/engines/sherlock/inventory.h
@@ -26,6 +26,7 @@
#include "common/scummsys.h"
#include "common/array.h"
#include "common/str-array.h"
+#include "sherlock/objects.h"
#include "sherlock/resources.h"
namespace Sherlock {
@@ -59,6 +60,10 @@ struct InventoryItem {
class Inventory : public Common::Array<InventoryItem> {
private:
SherlockEngine *_vm;
+
+ int putItemInInventory(Object &obj);
+
+ void copyToInventory(Object &obj);
public:
ImageFile *_invShapes[MAX_VISIBLE_INVENTORY];
Common::StringArray _names;
@@ -90,6 +95,10 @@ public:
void highlight(int index, byte color);
void doInvJF();
+
+ int putNameInInventory(const Common::String &name);
+
+ int deleteItemFromInventory(const Common::String &name);
};
} // End of namespace Sherlock