summaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-08-18 16:43:31 +0100
committerparamat <mat.gregory@virginmedia.com>2017-08-20 23:58:15 +0100
commit7657fe7a505425e82d9cab7ae5638f7927138fb0 (patch)
treefed13b884e8fff6b8dd43f86399400539c530115 /src/hud.h
parenta3441638c67c9a9f626d7542a53fef6340d42751 (diff)
downloadminetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.tar.gz
minetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.tar.bz2
minetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.zip
Minimap: Add new HUD flag for minimap radar mode
Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap.
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/hud.h b/src/hud.h
index 363909b0b..3084478b1 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -34,12 +34,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// Note that these visibility flags do not determine if the hud items are
// actually drawn, but rather, whether to draw the item should the rest
// of the game state permit it.
-#define HUD_FLAG_HOTBAR_VISIBLE (1 << 0)
-#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_FLAG_MINIMAP_VISIBLE (1 << 5)
+#define HUD_FLAG_HOTBAR_VISIBLE (1 << 0)
+#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_FLAG_MINIMAP_VISIBLE (1 << 5)
+#define HUD_FLAG_MINIMAP_RADAR_VISIBLE (1 << 6)
#define HUD_PARAM_HOTBAR_ITEMCOUNT 1
#define HUD_PARAM_HOTBAR_IMAGE 2