aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/hud.h b/src/hud.h
index e015baec1..0a6993c1b 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -60,7 +60,8 @@ enum HudElementType {
HUD_ELEM_STATBAR = 2,
HUD_ELEM_INVENTORY = 3,
HUD_ELEM_WAYPOINT = 4,
- HUD_ELEM_IMAGE_WAYPOINT = 5
+ HUD_ELEM_IMAGE_WAYPOINT = 5,
+ HUD_ELEM_COMPASS = 6
};
enum HudElementStat {
@@ -79,6 +80,13 @@ enum HudElementStat {
HUD_STAT_TEXT2,
};
+enum HudCompassDir {
+ HUD_COMPASS_ROTATE = 0,
+ HUD_COMPASS_ROTATE_REVERSE,
+ HUD_COMPASS_TRANSLATE,
+ HUD_COMPASS_TRANSLATE_REVERSE,
+};
+
struct HudElement {
HudElementType type;
v2f pos;