aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
authorWeblate <42@minetest.ru>2013-04-22 22:37:16 +0200
committerWeblate <42@minetest.ru>2013-04-22 22:37:16 +0200
commit418c2e7a446f8f0aca9f8bd23005a5896869ef7e (patch)
tree8c5e67eb5bc538174e768002c5419e86600c0623 /src/hud.h
parent4117ab473bcc393f6081277df96dd27c898c90ad (diff)
parent58ded5cd27dd6e5ba740b22d8a3b0917f3d98150 (diff)
downloadminetest-418c2e7a446f8f0aca9f8bd23005a5896869ef7e.tar.gz
minetest-418c2e7a446f8f0aca9f8bd23005a5896869ef7e.tar.bz2
minetest-418c2e7a446f8f0aca9f8bd23005a5896869ef7e.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hud.h b/src/hud.h
index 7e00a94e3..274a669c4 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -27,6 +27,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define HUD_DIR_TOP_BOTTOM 2
#define HUD_DIR_BOTTOM_TOP 3
+#define HUD_CORNER_UPPER 0
+#define HUD_CORNER_LOWER 1
+#define HUD_CORNER_CENTER 2
+
class Player;
enum HudElementType {
@@ -102,7 +106,7 @@ public:
void drawItem(v2s32 upperleftpos, s32 imgsize, s32 itemcount,
InventoryList *mainlist, u16 selectitem, u16 direction);
void drawLuaElements();
- void drawStatbar(v2s32 upperleftpos, std::string texture, s32 count);
+ void drawStatbar(v2s32 pos, u16 corner, u16 drawdir, std::string texture, s32 count);
void drawHotbar(v2s32 centerlowerpos, s32 halfheartcount, u16 playeritem);
void resizeHotbar();