summaryrefslogtreecommitdiff
path: root/assets/ui
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-07 20:53:38 +0100
committerenneract <trem.redman@gmail.com>2014-12-07 20:53:38 +0100
commit9d1b014b113ae04fe2d15ea12bf2e21b74f7df60 (patch)
tree718d72697a0e3cf3c897663a341ca1f79380194f /assets/ui
parent1ef4e75f4ed8093e1fbbfe5e91289bc0652c99a0 (diff)
Further improve on-HUD BP display.
Diffstat (limited to 'assets/ui')
-rw-r--r--assets/ui/assets/alien/build_pool_bar.tgabin0 -> 9757 bytes
-rw-r--r--assets/ui/assets/human/build_pool_bar.tgabin0 -> 8222 bytes
-rw-r--r--assets/ui/assets/neutral/build_pool_bg.tgabin0 -> 13458 bytes
-rw-r--r--assets/ui/assets/neutral/stagebar.tgabin13458 -> 0 bytes
-rw-r--r--assets/ui/assets/neutral/stagebar_add.jpgbin5787 -> 0 bytes
-rw-r--r--assets/ui/menudef.h1
-rw-r--r--assets/ui/tremulous_common_hud.h15
7 files changed, 14 insertions, 2 deletions
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
--- /dev/null
+++ b/assets/ui/assets/alien/build_pool_bar.tga
Binary files 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
--- /dev/null
+++ b/assets/ui/assets/human/build_pool_bar.tga
Binary files 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
--- /dev/null
+++ b/assets/ui/assets/neutral/build_pool_bg.tga
Binary files differ
diff --git a/assets/ui/assets/neutral/stagebar.tga b/assets/ui/assets/neutral/stagebar.tga
deleted file mode 100644
index a21ec7e..0000000
--- a/assets/ui/assets/neutral/stagebar.tga
+++ /dev/null
Binary files 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
--- a/assets/ui/assets/neutral/stagebar_add.jpg
+++ /dev/null
Binary files 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,12 +213,23 @@ 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"
rect 200 11 240 25
foreColor 1 1 1 1
@@ -228,7 +239,7 @@ itemDef
visible 1
decoration
textScale .22
- textStyle ITEM_TEXTSTYLE_NORMAL
+ textStyle ITEM_TEXTSTYLE_SHADOWED
ownerdraw CG_STAGE_REPORT_TEXT
}