summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-21 22:46:15 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:59 +0000
commitaa7a0ecd771b337400b7a7f34ff5c64f678757ea (patch)
tree4349dad516b8d533e50d29aedc2c727e258082e7 /assets
parente83ed6ee76cb7884bfc12e8c96920f9de0f70809 (diff)
* Move teamoverlay out of the common_hud and into the team common huds. Prevents showing when dead (use deadspec for this) and showing in white-on-white colors
* Hide teamoverlay when the scoreboard is displayed
Diffstat (limited to 'assets')
-rw-r--r--assets/ui/tremulous_alien_common_hud.h13
-rw-r--r--assets/ui/tremulous_common_hud.h13
-rw-r--r--assets/ui/tremulous_human_hud.menu13
3 files changed, 26 insertions, 13 deletions
diff --git a/assets/ui/tremulous_alien_common_hud.h b/assets/ui/tremulous_alien_common_hud.h
index 68bc8f36..8f06a153 100644
--- a/assets/ui/tremulous_alien_common_hud.h
+++ b/assets/ui/tremulous_alien_common_hud.h
@@ -258,3 +258,16 @@ itemDef
textStyle ITEM_TEXTSTYLE_SHADOWED
ownerdraw CG_FOLLOW
}
+
+//TEAM OVERLAY
+itemDef
+{
+ name "teamoverlay"
+ rect BORDER 120 160 128
+ style WINDOW_STYLE_EMPTY
+ visible MENU_TRUE
+ decoration
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75
+ textscale 1.0
+ ownerdraw CG_TEAMOVERLAY
+}
diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h
index 6208f167..4ef4dbb9 100644
--- a/assets/ui/tremulous_common_hud.h
+++ b/assets/ui/tremulous_common_hud.h
@@ -165,19 +165,6 @@ itemDef
background "ui/assets/forwardarrow.tga"
}
-//TEAM OVERLAY
-itemDef
-{
- name "teamoverlay"
- rect BORDER 120 160 128
- style WINDOW_STYLE_EMPTY
- visible MENU_TRUE
- decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75
- textscale 1.0
- ownerdraw CG_TEAMOVERLAY
-}
-
//SNAPSHOT
itemDef
{
diff --git a/assets/ui/tremulous_human_hud.menu b/assets/ui/tremulous_human_hud.menu
index e5fe27bf..707fb7b6 100644
--- a/assets/ui/tremulous_human_hud.menu
+++ b/assets/ui/tremulous_human_hud.menu
@@ -378,5 +378,18 @@
textStyle ITEM_TEXTSTYLE_SHADOWED
ownerdraw CG_FOLLOW
}
+
+ //TEAM OVERLAY
+ itemDef
+ {
+ name "teamoverlay"
+ rect BORDER 120 160 128
+ style WINDOW_STYLE_EMPTY
+ visible MENU_TRUE
+ decoration
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75
+ textscale 1.0
+ ownerdraw CG_TEAMOVERLAY
+ }
}
}