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>2013-11-08 21:01:05 +0000
committerStijn Buys <ingar@osirion.org>2013-11-08 21:01:05 +0000
commitdd2162af7727c0f30d77cc7ae33ccbb346611b20 (patch)
tree0cb7d2ab453c8f82864853780cdb9c56270a1fb2 /src/client/gamewindow.h
parentc8336c0fb110f8b23707c755e7ebaabdde62c8ea (diff)
Code cleanups, removed unnecessary functions,
added star coronas to the map.
Diffstat (limited to 'src/client/gamewindow.h')
-rw-r--r--src/client/gamewindow.h32
1 files changed, 8 insertions, 24 deletions
diff --git a/src/client/gamewindow.h b/src/client/gamewindow.h
index 6808eac..a16012a 100644
--- a/src/client/gamewindow.h
+++ b/src/client/gamewindow.h
@@ -7,10 +7,14 @@
#ifndef __INCLUDED_CLIENT_GAMEWINDOW_H__
#define __INCLUDED_CLIENT_GAMEWINDOW_H__
-
#include "ui/window.h"
-#include "ui/label.h"
-#include "ui/iconbutton.h"
+
+namespace ui
+{
+
+class IconButton;
+
+}
namespace client
{
@@ -27,7 +31,7 @@ class TradeMenu;
/**
* @brief the game user interface base widget
- * The GameWindow is drawn if core::localcontrol() is set.
+ * The GameWindow is showb if core::localcontrol() is set.
* It contains the HUD, icons and all menus for game interaction.
**/
class GameWindow : public ui::Window
@@ -58,26 +62,6 @@ public:
/// show entity menus
void show_menu(const std::string & label);
- inline HUD *hud() {
- return gamewindow_hud;
- }
-
- inline Chat *chat() {
- return gamewindow_chat;
- }
-
- inline MapWindow *map() {
- return gamewindow_map;
- }
-
- inline InventoryWindow *inventory() {
- return gamewindow_inventory;
- }
-
- inline ReputationWindow *reputation() {
- return gamewindow_reputation;
- }
-
inline EntityMenu *menu() {
return gamewindow_entitymenu;
}