From e98dcba13a94fb5c826d5d2e50d2a7bcc67040d1 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 21 Jul 2005 01:34:50 +0000 Subject: * Fixed the lagometer colours * Added stage report to the scoreboard --- ui/teamscore.menu | 17 +++++++++++++++-- ui/tremulous_alien_builder_hud.menu | 9 +++++++-- ui/tremulous_alien_general_hud.menu | 9 +++++++-- ui/tremulous_default_hud.menu | 9 +++++++-- ui/tremulous_human_hud.menu | 9 +++++++-- 5 files changed, 43 insertions(+), 10 deletions(-) (limited to 'ui') diff --git a/ui/teamscore.menu b/ui/teamscore.menu index bb6a7ab8..6dbd817d 100644 --- a/ui/teamscore.menu +++ b/ui/teamscore.menu @@ -35,7 +35,7 @@ { name alienteamname text "Aliens" - textalign 0 + textalign ITEM_ALIGN_LEFT textscale .5 textaligny 26 rect 20 78 306 23 @@ -44,11 +44,24 @@ visible 1 } + itemDef + { + name stagereport + align ITEM_ALIGN_CENTER + textscale 0.4 + textaligny 24 + rect 14 78 612 23 + forecolor 1 1 1 1 + decoration + visible 1 + ownerdraw CG_STAGE_REPORT_TEXT + } + itemDef { name humanteamname text "Humans" - textalign 2 + textalign ITEM_ALIGN_RIGHT textscale .5 textaligny 26 rect 620 78 0 23 diff --git a/ui/tremulous_alien_builder_hud.menu b/ui/tremulous_alien_builder_hud.menu index de71c4e8..09e038e9 100644 --- a/ui/tremulous_alien_builder_hud.menu +++ b/ui/tremulous_alien_builder_hud.menu @@ -33,10 +33,15 @@ itemDef { name "lagometer" - rect 576 68 56 28 + rect 596 68 32 20 + style WINDOW_STYLE_FILLED visible 1 decoration - background "lagometer" + backcolor 1 0 0 0.25 + forecolor 1 0 0 0.5 + textscale 0.3 + textalignx 1 + textaligny 0.5 ownerdraw CG_LAGOMETER } diff --git a/ui/tremulous_alien_general_hud.menu b/ui/tremulous_alien_general_hud.menu index edc39563..9768d421 100644 --- a/ui/tremulous_alien_general_hud.menu +++ b/ui/tremulous_alien_general_hud.menu @@ -33,10 +33,15 @@ itemDef { name "lagometer" - rect 576 68 56 28 + rect 596 68 32 20 + style WINDOW_STYLE_FILLED visible 1 decoration - background "lagometer" + backcolor 1 0 0 0.25 + forecolor 1 0 0 0.5 + textscale 0.3 + textalignx 1 + textaligny 0.5 ownerdraw CG_LAGOMETER } diff --git a/ui/tremulous_default_hud.menu b/ui/tremulous_default_hud.menu index 0e08606d..353d3e93 100644 --- a/ui/tremulous_default_hud.menu +++ b/ui/tremulous_default_hud.menu @@ -78,10 +78,15 @@ itemDef { name "lagometer" - rect 576 68 56 28 + rect 596 68 32 20 + style WINDOW_STYLE_FILLED visible 1 decoration - background "white" + backcolor 1 1 1 0.25 + forecolor 1 1 1 0.5 + textscale 0.3 + textalignx 1 + textaligny 0.5 ownerdraw CG_LAGOMETER } diff --git a/ui/tremulous_human_hud.menu b/ui/tremulous_human_hud.menu index dc406349..4d9c4fcb 100644 --- a/ui/tremulous_human_hud.menu +++ b/ui/tremulous_human_hud.menu @@ -33,10 +33,15 @@ itemDef { name "lagometer" - rect 576 68 56 28 + rect 596 68 32 20 + style WINDOW_STYLE_FILLED visible 1 decoration - background "lagometer" + backcolor 0 0.8 1 0.25 + forecolor 0 0.8 1 0.5 + textscale 0.3 + textalignx 1 + textaligny 0.5 ownerdraw CG_LAGOMETER } -- cgit