From 96e04ab797253bbe853f172ea1d734ebe812d419 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 10 Apr 2015 23:35:26 -0500 Subject: SHERLOCK: Implemented doScript and support methods --- engines/sherlock/inventory.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines/sherlock/inventory.h') 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 { 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 -- cgit v1.2.3