summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-12 20:45:09 +0100
committerenneract <trem.redman@gmail.com>2014-12-12 20:45:09 +0100
commit964371805c751877c99ed2faeb8214355c2b3d6b (patch)
tree60cce1719928b9d8a376e0040841748e99cf3b84 /assets
parent9d1b014b113ae04fe2d15ea12bf2e21b74f7df60 (diff)
Flash BP display when MOD_NOBP kills a building.
Diffstat (limited to 'assets')
-rw-r--r--assets/ui/assets/alien/nobp_flash.tgabin0 -> 7649 bytes
-rw-r--r--assets/ui/assets/human/nobp_flash.tgabin0 -> 8383 bytes
-rw-r--r--assets/ui/menudef.h2
-rw-r--r--assets/ui/tremulous_common_hud.h21
4 files changed, 23 insertions, 0 deletions
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/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/menudef.h b/assets/ui/menudef.h
index 411f987..9ab2c4f 100644
--- a/assets/ui/menudef.h
+++ b/assets/ui/menudef.h
@@ -199,6 +199,8 @@ enum
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 5c0029a..705bfd4 100644
--- a/assets/ui/tremulous_common_hud.h
+++ b/assets/ui/tremulous_common_hud.h
@@ -274,3 +274,24 @@ itemDef
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
+}