summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorkai <kai@zittrig.eu>2020-04-27 19:58:43 +0100
committerkai <kai@zittrig.eu>2020-04-27 19:58:43 +0100
commit45725bd88afe805abec87ef1085105b727e18ff6 (patch)
tree8c164afdf0ac242c4632c3deb108e052df3dbcdf /src/cgame
parentc192919a8fe2afb3c2c74b9dcdc3e7b64e89a423 (diff)
further vote improvements
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_draw.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index b4673c6..bdaa20b 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -3148,7 +3148,7 @@ CG_DrawVote
*/
static void CG_DrawVote( void )
{
- char *s;
+ char *s, *s2;
int sec;
vec4_t white = { 1.0f, 1.0f, 1.0f, 1.0f };
char yeskey[ 32 ], nokey[ 32 ];
@@ -3169,9 +3169,10 @@ static void CG_DrawVote( void )
sec = 0;
Q_strncpyz( yeskey, CG_KeyBinding( "vote yes" ), sizeof( yeskey ) );
Q_strncpyz( nokey, CG_KeyBinding( "vote no" ), sizeof( nokey ) );
- s = va( "VOTE(%i): \"%s\" [%s]Yes:%i [%s]No:%i", sec, cgs.voteString,
- yeskey, cgs.voteYes, nokey, cgs.voteNo );
+ s = va( "^9Vote called! ^7- ^C%s^7", cgs.voteString );
+ s2 = va( "^9Status ^7- ^7[^2%s^7]^ZYes: %i ^7- ^7[^1%s^7]^ANo: %i^7 - ^9%i^7 seconds remaining,", yeskey, cgs.voteYes, nokey, cgs.voteNo, sec );
CG_Text_Paint( 8, 340, 0.3f, white, s, 0, 0, ITEM_TEXTSTYLE_NORMAL );
+ CG_Text_Paint( 8, 360, 0.3f, white, s2, 0, 0, ITEM_TEXTSTYLE_NORMAL );
}
/*