From 9d1b014b113ae04fe2d15ea12bf2e21b74f7df60 Mon Sep 17 00:00:00 2001 From: enneract Date: Sun, 7 Dec 2014 20:53:38 +0100 Subject: Further improve on-HUD BP display. --- assets/ui/assets/alien/build_pool_bar.tga | Bin 0 -> 9757 bytes assets/ui/assets/human/build_pool_bar.tga | Bin 0 -> 8222 bytes assets/ui/assets/neutral/build_pool_bg.tga | Bin 0 -> 13458 bytes assets/ui/assets/neutral/stagebar.tga | Bin 13458 -> 0 bytes assets/ui/assets/neutral/stagebar_add.jpg | Bin 5787 -> 0 bytes assets/ui/menudef.h | 1 + assets/ui/tremulous_common_hud.h | 15 +++++++++++++-- 7 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 assets/ui/assets/alien/build_pool_bar.tga create mode 100644 assets/ui/assets/human/build_pool_bar.tga create mode 100644 assets/ui/assets/neutral/build_pool_bg.tga delete mode 100644 assets/ui/assets/neutral/stagebar.tga delete mode 100644 assets/ui/assets/neutral/stagebar_add.jpg (limited to 'assets/ui') diff --git a/assets/ui/assets/alien/build_pool_bar.tga b/assets/ui/assets/alien/build_pool_bar.tga new file mode 100644 index 0000000..38fad1a Binary files /dev/null and b/assets/ui/assets/alien/build_pool_bar.tga differ diff --git a/assets/ui/assets/human/build_pool_bar.tga b/assets/ui/assets/human/build_pool_bar.tga new file mode 100644 index 0000000..08b2b4d Binary files /dev/null and b/assets/ui/assets/human/build_pool_bar.tga differ diff --git a/assets/ui/assets/neutral/build_pool_bg.tga b/assets/ui/assets/neutral/build_pool_bg.tga new file mode 100644 index 0000000..458511b Binary files /dev/null and b/assets/ui/assets/neutral/build_pool_bg.tga differ diff --git a/assets/ui/assets/neutral/stagebar.tga b/assets/ui/assets/neutral/stagebar.tga deleted file mode 100644 index a21ec7e..0000000 Binary files a/assets/ui/assets/neutral/stagebar.tga and /dev/null differ diff --git a/assets/ui/assets/neutral/stagebar_add.jpg b/assets/ui/assets/neutral/stagebar_add.jpg deleted file mode 100644 index a8b0a33..0000000 Binary files a/assets/ui/assets/neutral/stagebar_add.jpg and /dev/null differ diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index 30ce6a2..411f987 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -198,6 +198,7 @@ enum CG_STAGE_REPORT_TEXT, CG_ALIEN_BUILD_POOL, CG_HUMAN_BUILD_POOL, + CG_BUILD_POOL_BARS, CG_ALIENS_SCORE_LABEL, CG_HUMANS_SCORE_LABEL, CG_DEMO_PLAYBACK, diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h index cecd114..5c0029a 100644 --- a/assets/ui/tremulous_common_hud.h +++ b/assets/ui/tremulous_common_hud.h @@ -213,10 +213,21 @@ itemDef aspectBias ALIGN_CENTER visible 1 foreColor 1 1 1 0.5 - background "ui/assets/neutral/stagebar" + background "ui/assets/neutral/build_pool_bg" decoration } +itemDef +{ + name "bpbars" + rect 160 -5 320 40 + aspectBias ALIGN_CENTER + visible 1 + foreColor 1 1 1 0.5 + decoration + ownerDraw CG_BUILD_POOL_BARS +} + itemDef { name "stagereport" @@ -228,7 +239,7 @@ itemDef visible 1 decoration textScale .22 - textStyle ITEM_TEXTSTYLE_NORMAL + textStyle ITEM_TEXTSTYLE_SHADOWED ownerdraw CG_STAGE_REPORT_TEXT } -- cgit