aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/player.h b/src/player.h
index fc80769c2..d0e50d2c3 100644
--- a/src/player.h
+++ b/src/player.h
@@ -87,7 +87,7 @@ class Map;
class IGameDef;
struct CollisionInfo;
class PlayerSAO;
-struct HudElement;
+class HudElement;
class Player
{
@@ -243,9 +243,8 @@ public:
}
u32 keyPressed;
-
- std::map<u32, HudElement*> hud;
- std::map<u8, u32> hud_bars;
+
+ std::vector<HudElement *> hud;
protected:
IGameDef *m_gamedef;
@@ -257,17 +256,6 @@ protected:
v3f m_position;
};
-struct HudElement {
- u8 type;
- core::vector2df pos;
- std::string name;
-
- core::vector2df scale;
- std::string text;
- u32 number;
- u32 item;
- u32 dir;
-};
/*
Player on the server