From 25af16fac3127523d532d4b4797eec7947ed5a72 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 1 Oct 2010 22:07:45 +0000 Subject: Initial inventory window --- src/client/playerview.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/playerview.h') diff --git a/src/client/playerview.h b/src/client/playerview.h index 300e9e5..66672cf 100644 --- a/src/client/playerview.h +++ b/src/client/playerview.h @@ -10,6 +10,7 @@ #include "client/chat.h" #include "client/buymenu.h" #include "client/entitymenu.h" +#include "client/inventory.h" #include "client/trademenu.h" #include "client/hud.h" #include "client/map.h" @@ -33,6 +34,9 @@ public: /// toggle map window void toggle_map(); + + /// toggle inventory window + void toggle_inventory(); /// togge chat window void toggle_chat(); @@ -52,6 +56,9 @@ public: inline Chat *chat() { return view_chat; } + inline Inventory *inventory() { + return view_inventory; + } inline Notifications *notify() { return view_notify; } @@ -68,6 +75,7 @@ private: HUD *view_hud; Chat *view_chat; Map *view_map; + Inventory *view_inventory; EntityMenu *view_entitymenu; BuyMenu *view_buymenu; -- cgit v1.2.3