diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-06-19 14:30:22 +0000 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-06-19 15:47:00 +0000 |
commit | 53066024f6a91d5f83241b379b94d8557d43a646 (patch) | |
tree | c785c98f2cc0b45a2430e0e6a374676cd0a175c4 /src/hud.h | |
parent | e65ac4d626f69656c57c07e4df1a1113a014f34a (diff) | |
download | minetest-53066024f6a91d5f83241b379b94d8557d43a646.tar.gz minetest-53066024f6a91d5f83241b379b94d8557d43a646.tar.bz2 minetest-53066024f6a91d5f83241b379b94d8557d43a646.zip |
Add drowning
Diffstat (limited to 'src/hud.h')
-rw-r--r-- | src/hud.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define HUD_FLAG_HEALTHBAR_VISIBLE (1 << 1) #define HUD_FLAG_CROSSHAIR_VISIBLE (1 << 2) #define HUD_FLAG_WIELDITEM_VISIBLE (1 << 3) +#define HUD_FLAG_BREATHBAR_VISIBLE (1 << 4) #define HUD_PARAM_HOTBAR_ITEMCOUNT 1 @@ -122,7 +123,7 @@ public: void drawStatbar(v2s32 pos, u16 corner, u16 drawdir, std::string texture, s32 count, v2s32 offset); - void drawHotbar(v2s32 centerlowerpos, s32 halfheartcount, u16 playeritem); + void drawHotbar(v2s32 centerlowerpos, s32 halfheartcount, u16 playeritem, s32 breath); void resizeHotbar(); void drawCrosshair(); |