From 7657fe7a505425e82d9cab7ae5638f7927138fb0 Mon Sep 17 00:00:00 2001 From: paramat Date: Fri, 18 Aug 2017 16:43:31 +0100 Subject: 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. --- src/hud.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/hud.h') 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 -- cgit v1.2.3