]> git.lizzy.rs Git - minetest.git/blobdiff - src/hud.cpp
Don't allow banning in singleplayer
[minetest.git] / src / hud.cpp
index 8ada65274730805a4ee49319077c4ffcb341cd42..841c907587eb456f199791d94c0ba6185d256549 100644 (file)
@@ -27,6 +27,9 @@ const struct EnumString es_HudElementType[] =
        {HUD_ELEM_STATBAR,   "statbar"},
        {HUD_ELEM_INVENTORY, "inventory"},
        {HUD_ELEM_WAYPOINT,  "waypoint"},
+       {HUD_ELEM_IMAGE_WAYPOINT, "image_waypoint"},
+       {HUD_ELEM_COMPASS,   "compass"},
+       {HUD_ELEM_MINIMAP,   "minimap"},
        {0, NULL},
 };
 
@@ -39,10 +42,15 @@ const struct EnumString es_HudElementStat[] =
        {HUD_STAT_TEXT,   "text"},
        {HUD_STAT_NUMBER, "number"},
        {HUD_STAT_ITEM,   "item"},
+       {HUD_STAT_ITEM,   "precision"},
        {HUD_STAT_DIR,    "direction"},
        {HUD_STAT_ALIGN,  "alignment"},
        {HUD_STAT_OFFSET, "offset"},
        {HUD_STAT_WORLD_POS, "world_pos"},
+       {HUD_STAT_SIZE,    "size"},
+       {HUD_STAT_Z_INDEX, "z_index"},
+       {HUD_STAT_TEXT2,   "text2"},
+       {HUD_STAT_STYLE,   "style"},
        {0, NULL},
 };
 
@@ -55,5 +63,6 @@ const struct EnumString es_HudBuiltinElement[] =
        {HUD_FLAG_BREATHBAR_VISIBLE,     "breathbar"},
        {HUD_FLAG_MINIMAP_VISIBLE,       "minimap"},
        {HUD_FLAG_MINIMAP_RADAR_VISIBLE, "minimap_radar"},
+       {HUD_FLAG_BASIC_DEBUG,           "basic_debug"},
        {0, NULL},
 };