diff options
author | Stijn Buys <ingar@osirion.org> | 2009-04-15 17:08:51 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-04-15 17:08:51 +0000 |
commit | a95028547981614e06ea7a6d22b853b85418cea3 (patch) | |
tree | d4d6998a4118a4d8690ce138d586abfba4893179 /src/client/playerview.h | |
parent | 4f33f59571f10019c1e7a0e3640b2f69c159a8cf (diff) |
added info registry, list_info
added network info transfer
added info based buy menu and related game changes
Diffstat (limited to 'src/client/playerview.h')
-rw-r--r-- | src/client/playerview.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/playerview.h b/src/client/playerview.h index 9cf8a94..a09f5ca 100644 --- a/src/client/playerview.h +++ b/src/client/playerview.h @@ -8,7 +8,9 @@ #define __INCLUDED_CLIENT_PLAYERVIEW_H__ #include "client/chat.h" +#include "client/buymenu.h" #include "client/entitymenu.h" +#include "client/trademenu.h" #include "client/hud.h" #include "client/map.h" #include "client/notifications.h" @@ -40,10 +42,11 @@ public: /// show entity menus void show_menu(const std::string & label); + inline HUD *hud() { return view_hud; } inline Map *map() { return view_map; } inline Chat *chat() { return view_chat; } inline Notifications *notify() { return view_notify; } - inline EntityMenu *menu() { return view_menu; } + inline EntityMenu *menu() { return view_entitymenu; } protected: virtual void draw(); @@ -54,7 +57,10 @@ private: HUD *view_hud; Chat *view_chat; Map *view_map; - EntityMenu *view_menu; + + EntityMenu *view_entitymenu; + BuyMenu *view_buymenu; + TradeMenu *view_trademenu; core::Entity *view_lastentity; |