summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:50:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:16 +0000
commit443b49d8ce6aabd6c8290275fc3eef05b3374dd3 (patch)
tree378ed5f07866e2145c73741e0c3cf56c1b99fae6 /assets
parent3a27b7a39cb02be967e504ad3f8ed56be9de1eb1 (diff)
* add CG_PLAYER_CREDITS_FRACTION to display partial frags
Diffstat (limited to 'assets')
-rw-r--r--assets/ui/menudef.h1
-rw-r--r--assets/ui/tremulous_alien_common_hud.h13
2 files changed, 14 insertions, 0 deletions
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
{