diff options
author | Roman Tetelman <kevlarman@gmail.com> | 2009-10-03 12:01:05 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:36 +0000 |
commit | 485227330f8c2ec2ea8969b76a324815d357952a (patch) | |
tree | cceef99056d4495580f3a4cacbbbd41d720ffa72 /ui | |
parent | 9671a190ea89feb7103a31c878e31a65494e6736 (diff) |
* basic hud that uses CG_PLAYER_LOCATION (Exclamation)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/tremulous_common_hud.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/ui/tremulous_common_hud.h b/ui/tremulous_common_hud.h index c4dfcf1c..b01da14e 100644 --- a/ui/tremulous_common_hud.h +++ b/ui/tremulous_common_hud.h @@ -58,6 +58,7 @@ itemDef textstyle ITEM_TEXTSTYLE_NORMAL ownerdraw CG_FPS } + //TIMER itemDef { @@ -74,6 +75,7 @@ itemDef textstyle ITEM_TEXTSTYLE_NORMAL ownerdraw CG_TIMER } + //LAGOMETER itemDef { @@ -87,6 +89,7 @@ itemDef textscale 0.3 ownerdraw CG_LAGOMETER } + //CLOCK itemDef { @@ -103,11 +106,24 @@ itemDef textstyle ITEM_TEXTSTYLE_NORMAL ownerdraw CG_CLOCK } + +//LOCATION +itemDef +{ + name "location" + rect (STAT_X-20) ((4*BORDER)+(5*STAT_H)) (STAT_W+25) STAT_H + visible MENU_TRUE + decoration + forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 1 + textscale 0.3 + ownerdraw CG_PLAYER_LOCATION +} + //DEMO STATE itemDef { name "demoRecording" - rect (STAT_X+(STAT_W-32)) ((5*BORDER)+(4*STAT_H)) 32 32 + rect (STAT_X+(STAT_W-32)) ((7*BORDER)+(4*STAT_H)) 32 32 aspectBias ALIGN_RIGHT style WINDOW_STYLE_EMPTY visible MENU_TRUE @@ -120,7 +136,7 @@ itemDef itemDef { name "demoPlayback" - rect (STAT_X+(STAT_W-32)) ((5*BORDER)+(4*STAT_H)) 32 32 + rect (STAT_X+(STAT_W-32)) ((7*BORDER)+(4*STAT_H)) 32 32 aspectBias ALIGN_RIGHT style WINDOW_STYLE_EMPTY visible MENU_TRUE @@ -162,7 +178,6 @@ itemDef } //CROSSHAIR - itemDef { name "crosshair" @@ -171,3 +186,4 @@ itemDef forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B .35 ownerdraw CG_PLAYER_CROSSHAIR } + |