From 33f9c3de4cc37723e847d78c2a5922bbeb1a314a Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:00:40 +0000 Subject: * redo changeset r250 to avoid hardcoding colors --- ui/menudef.h | 1 + ui/tremulous_common_hud.h | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'ui') 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 +} -- cgit