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.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/engines/sherlock/inventory.h b/engines/sherlock/inventory.h
index 019f5ed6c9..20eb6c067b 100644
--- a/engines/sherlock/inventory.h
+++ b/engines/sherlock/inventory.h
@@ -77,7 +77,7 @@ struct InventoryItem {
};
class Inventory : public Common::Array<InventoryItem> {
-private:
+protected:
SherlockEngine *_vm;
Common::StringArray _names;
@@ -97,6 +97,7 @@ public:
*/
void freeGraphics();
public:
+ static Inventory *init(SherlockEngine *vm);
Inventory(SherlockEngine *vm);
~Inventory();
@@ -123,32 +124,6 @@ public:
int findInv(const Common::String &name);
/**
- * Display the character's inventory. The slamIt parameter specifies:
- */
- void putInv(InvSlamMode slamIt);
-
- /**
- * Put the game into inventory mode and open the interface window.
- */
- void drawInventory(InvNewMode flag);
-
- /**
- * Prints the line of inventory commands at the top of an inventory window with
- * the correct highlighting
- */
- void invCommands(bool slamIt);
-
- /**
- * Set the highlighting color of a given inventory item
- */
- void highlight(int index, byte color);
-
- /**
- * Support method for refreshing the display of the inventory
- */
- void refreshInv();
-
- /**
* Adds a shape from the scene to the player's inventory
*/
int putNameInInventory(const Common::String &name);