From 6a4001989d0307be00dd85b7aa75cf1c5b09acb6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 15 Jun 2003 21:31:04 +0000 Subject: * Added a few things back in to the human hud --- ui/tremulous_human_hud.menu | 89 +++++++++++++++++++++++++++++++-------------- 1 file changed, 62 insertions(+), 27 deletions(-) (limited to 'ui') diff --git a/ui/tremulous_human_hud.menu b/ui/tremulous_human_hud.menu index be6f4098..bc548cdb 100644 --- a/ui/tremulous_human_hud.menu +++ b/ui/tremulous_human_hud.menu @@ -57,6 +57,40 @@ ownerdraw CG_LAGOMETER } + //FPS + itemDef + { + name "fps" + rect 572 8 56 22 + style WINDOW_STYLE_EMPTY + visible 1 + decoration + forecolor 0.0 0.8 1.0 1 + align ITEM_ALIGN_RIGHT + textalignx 0 + textaligny 18 + textscale 0.3 + textstyle ITEM_TEXTSTYLE_NORMAL + ownerdraw CG_FPS + } + + //TIMER + itemDef + { + name "timer" + rect 572 38 56 22 + style WINDOW_STYLE_EMPTY + visible 1 + decoration + forecolor 0.0 0.8 1.0 1 + align ITEM_ALIGN_RIGHT + textalignx 0 + textaligny 18 + textscale 0.3 + textstyle ITEM_TEXTSTYLE_NORMAL + ownerdraw CG_TIMER + } + ////////////////// //STATIC OBJECTS// ////////////////// @@ -252,9 +286,20 @@ visible 1 decoration forecolor 0.0 0.8 1.0 0.5 - ownerdraw CG_PLAYER_SELECT + ownerdraw CG_PLAYER_WEAPONICON } + //WEAPON SELECT TEXT + itemDef + { + name "selecttext" + rect 200 25 240 300 + visible 1 + decoration + textScale .5 + ownerdraw CG_PLAYER_SELECTTEXT + } + //AMMO itemDef { @@ -277,37 +322,27 @@ ownerdraw CG_PLAYER_CLIPS_VALUE } - //FPS - itemDef - { - name "fps" - rect 572 8 56 22 - style WINDOW_STYLE_EMPTY + //USABLE + itemDef + { + name "usable" + rect 304 420 32 32 visible 1 decoration - forecolor 0.0 0.8 1.0 1 - align ITEM_ALIGN_RIGHT - textalignx 0 - textaligny 18 - textscale 0.3 - textstyle ITEM_TEXTSTYLE_NORMAL - ownerdraw CG_FPS - } - //TIMER + forecolor 0.0 0.8 1.0 .25 + background "ui/assets/neutral/use.tga" + ownerdraw CG_PLAYER_USABLE_BUILDABLE + } + + //SCANNER itemDef { - name "timer" - rect 572 38 56 22 - style WINDOW_STYLE_EMPTY + name "scanner" + rect 60 300 520 120 visible 1 decoration - forecolor 0.0 0.8 1.0 1 - align ITEM_ALIGN_RIGHT - textalignx 0 - textaligny 18 - textscale 0.3 - textstyle ITEM_TEXTSTYLE_NORMAL - ownerdraw CG_TIMER - } + background "textures/common/invisible" //FIXME: change to a bunch on concentric circles + ownerdraw CG_PLAYER_HUMAN_SCANNER + } } } -- cgit