aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/inventory.h')
-rw-r--r--engines/sherlock/inventory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/inventory.h b/engines/sherlock/inventory.h
index bccdc9336e..0dafdddde9 100644
--- a/engines/sherlock/inventory.h
+++ b/engines/sherlock/inventory.h
@@ -57,16 +57,18 @@ struct InventoryItem {
InventoryItem() : _requiredFlag(0), _lookFlag(0) {}
InventoryItem(int requiredFlag, const Common::String &name,
const Common::String &description, const Common::String &examine);
+
+ void synchronize(Common::Serializer &s);
};
class Inventory : public Common::Array<InventoryItem> {
private:
SherlockEngine *_vm;
+ Common::StringArray _names;
void copyToInventory(Object &obj);
public:
ImageFile *_invShapes[MAX_VISIBLE_INVENTORY];
- Common::StringArray _names;
bool _invGraphicsLoaded;
InvMode _invMode;
int _invIndex;