From 5a716a8c8d668de9780fa90da0a6c59754141f9e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 22 Mar 2002 19:11:27 +0000 Subject: Human hud --- ui/tremulous_human_hud.menu | 100 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 ui/tremulous_human_hud.menu (limited to 'ui') diff --git a/ui/tremulous_human_hud.menu b/ui/tremulous_human_hud.menu new file mode 100644 index 00000000..e860a1b6 --- /dev/null +++ b/ui/tremulous_human_hud.menu @@ -0,0 +1,100 @@ +#include "ui/menudef.h" + +// team menu +// +// defines from ui_shared.h + +{ + assetGlobalDef + { + cursor "ui/assets/3_cursor2" // cursor + gradientBar "ui/assets/gradientbar2.tga" // gradient bar + fadeClamp 1.0 // sets the fadeup alpha + fadeCycle 1 // how often fade happens in milliseconds + fadeAmount 0.1 // amount to adjust alpha per cycle + + shadowX 5 // x amount for shadow offset + shadowY 5 // y amount for shadow offset + shadowColor 0.1 0.1 0.1 0.25 // shadow color + + font "fonts/font" 16 // font + smallFont "fonts/smallfont" 12 // font + bigFont "fonts/bigfont" 20 // font + } + + // STAMINA // + + menuDef + { + name "human_hud" + fullScreen MENU_FALSE + visible MENU_TRUE + rect 0 0 640 480 + + //STAMINA + itemDef + { + name "s" + rect 148 410 16 64 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_STAMINA + } + + //CREDIT + itemDef + { + name "c" + rect 510 69 108 44 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_CREDITS_VALUE + } + + //BANK + itemDef + { + name "b" + rect 569 117 50 20 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_BANK_VALUE + } + + //AMMO + itemDef + { + name "a" + rect 510 420 108 44 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_AMMO_VALUE + } + + //CLIPS + itemDef + { + name "c" + rect 480 442 50 20 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_CLIPS_VALUE + } + + // HEALTH + itemDef + { + name "healthok" + rect 20 420 108 44 + visible 1 + decoration + forecolor 1 1 1 1 + ownerdraw CG_PLAYER_HEALTH + } + } +} -- cgit