diff options
Diffstat (limited to 'engines/sherlock/inventory.h')
-rw-r--r-- | engines/sherlock/inventory.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/engines/sherlock/inventory.h b/engines/sherlock/inventory.h index de4a2d7758..dc56e93841 100644 --- a/engines/sherlock/inventory.h +++ b/engines/sherlock/inventory.h @@ -24,15 +24,23 @@ #define SHERLOCK_INVENTORY_H #include "common/scummsys.h" +#include "common/array.h" namespace Sherlock { struct InventoryItem { - int stringIndex; - char name[12]; - char description[41]; - char name2[9]; - uint16 value; + int _requiredFlag; + Common::String _name; + Common::String _description;; + Common::String _examine; + int _lookFlag; +}; + +class Inventory : public Common::Array<InventoryItem> { +public: + uint _holdings; + + Inventory() : Common::Array<InventoryItem>(), _holdings(0) {} }; } // End of namespace Sherlock |