summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:00:40 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:36 +0000
commit33f9c3de4cc37723e847d78c2a5922bbeb1a314a (patch)
tree39bd63db22f4af1c779dbda90f06dddb4fabeb41 /ui
parentcfee798a10d895fd2e11d6304236eef400e4751d (diff)
* redo changeset r250 to avoid hardcoding colors
Diffstat (limited to 'ui')
-rw-r--r--ui/menudef.h1
-rw-r--r--ui/tremulous_common_hud.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/ui/menudef.h b/ui/menudef.h
index 6b9705e1..629655bf 100644
--- a/ui/menudef.h
+++ b/ui/menudef.h
@@ -177,5 +177,6 @@
#define CG_PLAYER_CHARGE_BAR_BG 76
#define CG_PLAYER_CHARGE_BAR 77
+#define CG_PLAYER_CROSSHAIR 78
#endif
diff --git a/ui/tremulous_common_hud.h b/ui/tremulous_common_hud.h
index 19647ff9..c4dfcf1c 100644
--- a/ui/tremulous_common_hud.h
+++ b/ui/tremulous_common_hud.h
@@ -161,3 +161,13 @@ itemDef
textstyle ITEM_TEXTSTYLE_SHADOWED
}
+//CROSSHAIR
+
+itemDef
+{
+ name "crosshair"
+ visible MENU_TRUE
+ decoration
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B .35
+ ownerdraw CG_PLAYER_CROSSHAIR
+}