From 964371805c751877c99ed2faeb8214355c2b3d6b Mon Sep 17 00:00:00 2001 From: enneract Date: Fri, 12 Dec 2014 20:45:09 +0100 Subject: Flash BP display when MOD_NOBP kills a building. --- assets/ui/assets/alien/nobp_flash.tga | Bin 0 -> 7649 bytes assets/ui/assets/human/nobp_flash.tga | Bin 0 -> 8383 bytes assets/ui/menudef.h | 2 ++ assets/ui/tremulous_common_hud.h | 21 +++++++++++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 assets/ui/assets/alien/nobp_flash.tga create mode 100644 assets/ui/assets/human/nobp_flash.tga (limited to 'assets') 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 Binary files /dev/null and b/assets/ui/assets/alien/nobp_flash.tga 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 Binary files /dev/null and b/assets/ui/assets/human/nobp_flash.tga 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 +} -- cgit