Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-01 22:07:45 +0000
committerStijn Buys <ingar@osirion.org>2010-10-01 22:07:45 +0000
commit25af16fac3127523d532d4b4797eec7947ed5a72 (patch)
treee0a1f59452f16c100ceaca3050f0b369d32b6e18 /src/client/playerview.h
parent8b67219f7de2971114a81c5476dae578ac29e989 (diff)
Initial inventory window
Diffstat (limited to 'src/client/playerview.h')
-rw-r--r--src/client/playerview.h8
1 files changed, 8 insertions, 0 deletions
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;