From f0ad2f624bddcc031c99a487bff1d5ec89956477 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 20 Mar 2015 22:01:52 -0400 Subject: SHERLOCK: More scene loading, implemented Inventory class --- engines/sherlock/inventory.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'engines/sherlock/inventory.h') 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 { +public: + uint _holdings; + + Inventory() : Common::Array(), _holdings(0) {} }; } // End of namespace Sherlock -- cgit v1.2.3