summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/ui/assets/alien/build_pool_bar.tgabin0 -> 9757 bytes
-rw-r--r--assets/ui/assets/alien/nobp_flash.tgabin0 -> 7649 bytes
-rw-r--r--assets/ui/assets/human/build_pool_bar.tgabin0 -> 8222 bytes
-rw-r--r--assets/ui/assets/human/nobp_flash.tgabin0 -> 8383 bytes
-rw-r--r--assets/ui/assets/neutral/build_pool_bg.tgabin0 -> 13458 bytes
-rw-r--r--assets/ui/menudef.h5
-rw-r--r--assets/ui/tremulous_common_hud.h113
7 files changed, 94 insertions, 24 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/alien/nobp_flash.tga b/assets/ui/assets/alien/nobp_flash.tga
new file mode 100644
index 0000000..fa79fc0
--- /dev/null
+++ b/assets/ui/assets/alien/nobp_flash.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/human/nobp_flash.tga b/assets/ui/assets/human/nobp_flash.tga
new file mode 100644
index 0000000..387e070
--- /dev/null
+++ b/assets/ui/assets/human/nobp_flash.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/menudef.h b/assets/ui/menudef.h
index 3e7796f..9ab2c4f 100644
--- a/assets/ui/menudef.h
+++ b/assets/ui/menudef.h
@@ -196,6 +196,11 @@ enum
CG_SPEEDOMETER,
CG_PLAYER_CROSSHAIRNAMES,
CG_STAGE_REPORT_TEXT,
+ CG_ALIEN_BUILD_POOL,
+ CG_HUMAN_BUILD_POOL,
+ CG_BUILD_POOL_BARS,
+ CG_ALIEN_NOBP_FLASH,
+ CG_HUMAN_NOBP_FLASH,
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 57427b1..705bfd4 100644
--- a/assets/ui/tremulous_common_hud.h
+++ b/assets/ui/tremulous_common_hud.h
@@ -205,28 +205,93 @@ itemDef
ownerdraw CG_FOLLOW
}
- itemDef
- {
- name "stage_add"
- style WINDOW_STYLE_SHADER
- rect 253 -1 140 35
- visible 1
- background "scripts/stage_add"
- decoration
- }
-
- itemDef
- {
- name "stagereport"
- rect 200 2 240 25
- foreColor 1 1 1 1
- aspectBias ALIGN_CENTER
- textalign ALIGN_CENTER
- textvalign VALIGN_TOP
- visible 1
- decoration
- textScale .22
- textStyle ITEM_TEXTSTYLE_NORMAL
- ownerdraw CG_STAGE_REPORT_TEXT
- }
+itemDef
+{
+ name "bpbackground"
+ style WINDOW_STYLE_SHADER
+ rect 160 -5 320 40
+ aspectBias ALIGN_CENTER
+ visible 1
+ foreColor 1 1 1 0.5
+ 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
+ aspectBias ALIGN_CENTER
+ textalign ALIGN_CENTER
+ textvalign VALIGN_TOP
+ visible 1
+ decoration
+ textScale .22
+ textStyle ITEM_TEXTSTYLE_SHADOWED
+ ownerdraw CG_STAGE_REPORT_TEXT
+}
+
+itemDef
+{
+ name "bpalien"
+ rect 194 8.5 20 25
+ foreColor 1 0 0 1
+ aspectBias ALIGN_CENTER
+ textalign ALIGN_RIGHT
+ textvalign VALIGN_TOP
+ visible 1
+ decoration
+ textScale .4
+ textStyle ITEM_TEXTSTYLE_NORMAL
+ ownerdraw CG_ALIEN_BUILD_POOL
+}
+
+
+itemDef
+{
+ name "bphuman"
+ rect 430 8.5 20 25
+ foreColor 0.5 0.9 1 1
+ aspectBias ALIGN_CENTER
+ textalign ALIGN_LEFT
+ textvalign VALIGN_TOP
+ visible 1
+ decoration
+ textScale .4
+ textStyle ITEM_TEXTSTYLE_NORMAL
+ ownerdraw CG_HUMAN_BUILD_POOL
+}
+
+itemDef
+{
+ name "aliennobpflash"
+ rect 160 -5 320 40
+ aspectBias ALIGN_CENTER
+ visible 1
+ foreColor 1 1 1 1
+ decoration
+ ownerDraw CG_ALIEN_NOBP_FLASH
+}
+
+itemDef
+{
+ name "humannobpflash"
+ rect 160 -5 320 40
+ aspectBias ALIGN_CENTER
+ visible 1
+ foreColor 1 1 1 1
+ decoration
+ ownerDraw CG_HUMAN_NOBP_FLASH
+}