aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.h
diff options
context:
space:
mode:
authorNicola Mettifogo2009-09-30 13:41:19 +0000
committerNicola Mettifogo2009-09-30 13:41:19 +0000
commit9be8a6e4f6c35c1bbad3b8f6af7f223e584b8954 (patch)
treef06b90b52b48ea2cc49a16c8b45ee225a2c72359 /engines/parallaction/inventory.h
parentfa077237c1a48aa5b3b56f3697e775f5e05cb08c (diff)
downloadscummvm-rg350-9be8a6e4f6c35c1bbad3b8f6af7f223e584b8954.tar.gz
scummvm-rg350-9be8a6e4f6c35c1bbad3b8f6af7f223e584b8954.tar.bz2
scummvm-rg350-9be8a6e4f6c35c1bbad3b8f6af7f223e584b8954.zip
Simplified inventory handling (too much information hiding will kill you).
svn-id: r44485
Diffstat (limited to 'engines/parallaction/inventory.h')
-rw-r--r--engines/parallaction/inventory.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/inventory.h b/engines/parallaction/inventory.h
index 11ebf57155..e4bb935672 100644
--- a/engines/parallaction/inventory.h
+++ b/engines/parallaction/inventory.h
@@ -101,12 +101,9 @@ protected:
void refresh();
public:
- InventoryRenderer(Parallaction *vm, InventoryProperties *props);
+ InventoryRenderer(Parallaction *vm, InventoryProperties *props, Inventory *inv);
virtual ~InventoryRenderer();
- void bindInventory(Inventory *inv) { _inv = inv; }
- Inventory *getBoundInventory() const { return _inv; }
-
void showInventory();
void hideInventory();