summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2010-04-11 03:48:09 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:35 +0000
commit24734eb5cfedeeded9c0dfc7e96d30063fe3dad5 (patch)
tree30a3189058ca941079d0672b91fd6496773bd024 /assets
parent76299e2887ef0688ca0889c48b66c466111f8295 (diff)
* Fix the fact that teamoverlay was being drawn above where the hud told it to be, and it wasn't respecting the right-side bbox either. Make it valign in the center of its bbox.
* Align columns of teamoverlay and pad/truncate where necessary * Default/GPP HUD: Move cg_tutorial down a little bit and also make it valign center. * Default/GPP HUD: Move teamoverlay down a little bit and set the scale to 0.85
Diffstat (limited to 'assets')
-rw-r--r--assets/ui/tremulous_alien_common_hud.h4
-rw-r--r--assets/ui/tremulous_common_hud.h4
-rw-r--r--assets/ui/tremulous_human_hud.menu4
3 files changed, 6 insertions, 6 deletions
diff --git a/assets/ui/tremulous_alien_common_hud.h b/assets/ui/tremulous_alien_common_hud.h
index 8f06a153..8f667ceb 100644
--- a/assets/ui/tremulous_alien_common_hud.h
+++ b/assets/ui/tremulous_alien_common_hud.h
@@ -263,11 +263,11 @@ itemDef
itemDef
{
name "teamoverlay"
- rect BORDER 120 160 128
+ rect BORDER 175 200 128
style WINDOW_STYLE_EMPTY
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75
- textscale 1.0
+ textscale 0.85
ownerdraw CG_TEAMOVERLAY
}
diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h
index 49d4a393..e78ea9f9 100644
--- a/assets/ui/tremulous_common_hud.h
+++ b/assets/ui/tremulous_common_hud.h
@@ -29,14 +29,14 @@ itemDef
itemDef
{
name "tutorial"
- rect BORDER 250 MAIN_W 180
+ rect BORDER 275 MAIN_W 130
aspectBias ALIGN_LEFT
style WINDOW_STYLE_EMPTY
visible MENU_TRUE
decoration
forecolor 1 1 1 0.35
textalign ALIGN_LEFT
- textvalign VALIGN_TOP
+ textvalign VALIGN_CENTER
textscale 0.3
textstyle ITEM_TEXTSTYLE_NORMAL
ownerdraw CG_TUTORIAL
diff --git a/assets/ui/tremulous_human_hud.menu b/assets/ui/tremulous_human_hud.menu
index 707fb7b6..2fc3ba4c 100644
--- a/assets/ui/tremulous_human_hud.menu
+++ b/assets/ui/tremulous_human_hud.menu
@@ -383,12 +383,12 @@
itemDef
{
name "teamoverlay"
- rect BORDER 120 160 128
+ rect BORDER 175 200 128
style WINDOW_STYLE_EMPTY
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75
- textscale 1.0
+ textscale 0.85
ownerdraw CG_TEAMOVERLAY
}
}