diff options
author | Paul Gilbert | 2015-06-25 20:42:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-25 20:42:02 -0400 |
commit | 92ac962718b07e9b82199d39bb5ce970717da57d (patch) | |
tree | 88e8833f5ef8d100c32cda7a0c5cd18051a2308a /engines/sherlock/inventory.h | |
parent | 66fb4b828ba841b47b3e0cd4e15e00107744f691 (diff) | |
download | scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.tar.gz scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.tar.bz2 scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.zip |
SHERLOCK: RT: Further split-off of Scalpel-specific code
Diffstat (limited to 'engines/sherlock/inventory.h')
-rw-r--r-- | engines/sherlock/inventory.h | 29 |
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); |