4 const struct EnumString es_HudElementType[] =
6 {HUD_ELEM_IMAGE, "image"},
7 {HUD_ELEM_TEXT, "text"},
8 {HUD_ELEM_STATBAR, "statbar"},
9 {HUD_ELEM_INVENTORY, "inventory"},
10 {HUD_ELEM_WAYPOINT, "waypoint"},
14 const struct EnumString es_HudElementStat[] =
16 {HUD_STAT_POS, "position"},
17 {HUD_STAT_POS, "pos"}, /* Deprecated, only for compatibility's sake */
18 {HUD_STAT_NAME, "name"},
19 {HUD_STAT_SCALE, "scale"},
20 {HUD_STAT_TEXT, "text"},
21 {HUD_STAT_NUMBER, "number"},
22 {HUD_STAT_ITEM, "item"},
23 {HUD_STAT_DIR, "direction"},
24 {HUD_STAT_ALIGN, "alignment"},
25 {HUD_STAT_OFFSET, "offset"},
26 {HUD_STAT_WORLD_POS, "world_pos"},
30 const struct EnumString es_HudBuiltinElement[] =
32 {HUD_FLAG_HOTBAR_VISIBLE, "hotbar"},
33 {HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"},
34 {HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"},
35 {HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"},
36 {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"},
37 {HUD_FLAG_MINIMAP_VISIBLE, "minimap"},