From 103173fc9b4fcb4c0fded2a93d5cbb8f0bea896e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 6 Dec 2011 15:21:56 +0200 Subject: Add InvRef and InvStack (currently untested and unusable) --- src/client.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 2f212dad8..e74fec5a7 100644 --- a/src/client.h +++ b/src/client.h @@ -30,6 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "clientobject.h" #include "utility.h" // For IntervalLimiter #include "gamedef.h" +#include "inventorymanager.h" struct MeshMakeData; class IGameDef; @@ -245,7 +246,9 @@ public: InventoryContext *getInventoryContext(); - Inventory* getInventory(InventoryContext *c, std::string id); + /* InventoryManager interface */ + Inventory* getInventory(const InventoryLocation &loc); + //Inventory* getInventory(InventoryContext *c, std::string id); void inventoryAction(InventoryAction *a); // Gets closest object pointed by the shootline -- cgit v1.2.3