From 443b49d8ce6aabd6c8290275fc3eef05b3374dd3 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:50:39 +0000 Subject: * add CG_PLAYER_CREDITS_FRACTION to display partial frags --- assets/ui/menudef.h | 1 + assets/ui/tremulous_alien_common_hud.h | 13 +++++++++++++ 2 files changed, 14 insertions(+) (limited to 'assets') diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index fd1f1e5f..116bc590 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -178,5 +178,6 @@ #define CG_PLAYER_CHARGE_BAR 77 #define CG_PLAYER_CROSSHAIR 78 #define CG_PLAYER_LOCATION 79 +#define CG_PLAYER_CREDITS_FRACTION 80 #endif diff --git a/assets/ui/tremulous_alien_common_hud.h b/assets/ui/tremulous_alien_common_hud.h index 5b731faa..9860e73b 100644 --- a/assets/ui/tremulous_alien_common_hud.h +++ b/assets/ui/tremulous_alien_common_hud.h @@ -189,6 +189,19 @@ itemDef ownerdraw CG_PLAYER_CREDITS_VALUE_NOPAD } +//CREDITS FRACTION +itemDef +{ + name "credits-background" + rect 567 410 25 25 + aspectBias ALIGN_RIGHT + visible MENU_TRUE + decoration + forecolor 0.375 0 0 0.375 + background "ui/assets/neutral/circle.tga" + ownerdraw CG_PLAYER_CREDITS_FRACTION +} + //ALIENSENSE itemDef { -- cgit