aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/inventory.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-30 21:07:01 -0400
committerPaul Gilbert2015-03-30 21:07:01 -0400
commit943d0a702fe468f14fb40f73ef68588705488037 (patch)
treef92f1c06acd087a7daaefa0042081d8d08bcf877 /engines/sherlock/inventory.h
parent3149ce0204f658e7420f16a151710f43052506f2 (diff)
downloadscummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.gz
scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.bz2
scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.zip
SHERLOCK: Beginnings of talk loading, added skeleton Scripts class
Diffstat (limited to 'engines/sherlock/inventory.h')
-rw-r--r--engines/sherlock/inventory.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/sherlock/inventory.h b/engines/sherlock/inventory.h
index e9a4ba5548..3c01dc38da 100644
--- a/engines/sherlock/inventory.h
+++ b/engines/sherlock/inventory.h
@@ -32,6 +32,19 @@ namespace Sherlock {
#define MAX_VISIBLE_INVENTORY 6
+enum InvMode {
+ INVMODE_EXIT = 0,
+ INVMODE_LOOK = 1,
+ INVMODE_USE = 2,
+ INVMODE_GIVE = 3,
+ INVMODE_FIRST = 4,
+ INVMODE_PREVIOUS = 5,
+ INVMODE_NEXT = 6,
+ INVMODE_LAST = 7,
+ INVMODE_INVALID = 8,
+ INVMODE_USE55 = 255
+};
+
struct InventoryItem {
int _requiredFlag;
Common::String _name;
@@ -50,7 +63,7 @@ public:
ImageFile *_invShapes[MAX_VISIBLE_INVENTORY];
Common::StringArray _names;
bool _invGraphicsLoaded;
- int _invMode;
+ InvMode _invMode;
int _invIndex;
int _holdings;
void freeGraphics();