diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:31:22 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:04 +0000 |
commit | e8de3bfc4aaecd5462eea46f26b1977dd21f5950 (patch) | |
tree | 4da705f434f97435f351cf3bdf06897a1ee7640a /ui | |
parent | f1b861606aa4b0efb901a3cb62f34a9122975724 (diff) |
* Disabled mipmaps for crosshair shaders -- should prevent them from going blurry or glitching sometimes
* New feature: Squad Marking -- bind in Options -> Misc, marks teammates in your squad by displaying a triangle above them when they are near
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ingame_options.menu | 20 | ||||
-rw-r--r-- | ui/menudef.h | 1 | ||||
-rw-r--r-- | ui/tremulous_common_hud.h | 10 |
3 files changed, 30 insertions, 1 deletions
diff --git a/ui/ingame_options.menu b/ui/ingame_options.menu index 8bcee715..8675def6 100644 --- a/ui/ingame_options.menu +++ b/ui/ingame_options.menu @@ -1320,7 +1320,25 @@ } } - + itemDef + { + name misc + group optionsGrp + type ITEM_TYPE_BIND + text "Toggle Squad Mark:" + cvar "squadmark" + rect SCONTENT_X (SCONTENT_Y+(12*ELEM_H)) SCONTENT_W ELEM_H + textalign ALIGN_RIGHT + textvalign VALIGN_CENTER + textalignx SCONTENT_OFF + textscale .25 + forecolor 1 1 1 1 + visible MENU_FALSE + action + { + play "sound/misc/menu1.wav"; + } + } //////// SYSTEM diff --git a/ui/menudef.h b/ui/menudef.h index 6b9705e1..d5db721e 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_SQUAD_MARKERS 78 #endif diff --git a/ui/tremulous_common_hud.h b/ui/tremulous_common_hud.h index d3208483..485cc572 100644 --- a/ui/tremulous_common_hud.h +++ b/ui/tremulous_common_hud.h @@ -160,3 +160,13 @@ itemDef ownerdraw CG_PLAYER_CROSSHAIRNAMES textstyle ITEM_TEXTSTYLE_SHADOWED } + +//SQUAD MARKERS +itemDef +{ + name "squad-markers" + visible MENU_TRUE + forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5 + ownerdraw CG_SQUAD_MARKERS +} + |