From e9ec9b4d7519f3b0c337626f3328beaa56e80eda Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 3 May 2011 18:13:19 +0300 Subject: [PATCH] Some small tweaks and fixes --- data/qcsrc/client/sbar.qc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index f8775459..ade2c076 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -1987,27 +1987,26 @@ void Sbar_Ring() ring_pos_x = vid_conwidth / 2; ring_pos_y = vid_conheight / 1.375; - ring_pos_z = 0; - ring1_size = 60; - ring2_size = 40; + ring1_size = 100; + ring2_size = 60; ring_alpha = sbar_alpha_fg * 1; text_size = '10 10 0'; ring1_clip = 0.85; ring2_clip = 0.95; - ring1_color = '1 0 0'; - ring2_color = '0 1 0'; + ring1_color = '1 0.25 0.25'; + ring2_color = '0.25 1 0.25'; text1_msg = "Text 1 ssdfsdfdsfsdf"; text2_msg = "Text 2 3453rf234f"; DrawCircleClippedPic(ring_pos, ring1_size, "gfx/hud/sb_ring.tga", ring1_clip, ring1_color, ring_alpha, DRAWFLAG_ADDITIVE); text_pos_x = ring_pos_x - stringwidth(text1_msg, FALSE, text_size) / 2; - text_pos_y = ring_pos_y - ring1_size / 2 - vlen(text_size); + text_pos_y = ring_pos_y - ring1_size / 2; drawstring(text_pos, text1_msg, text_size, ring1_color, sbar_alpha_fg, DRAWFLAG_NORMAL); DrawCircleClippedPic(ring_pos, ring2_size, "gfx/hud/sb_ring.tga", ring2_clip, ring2_color, ring_alpha, DRAWFLAG_ADDITIVE); text_pos_x = ring_pos_x - stringwidth(text2_msg, FALSE, text_size) / 2; - text_pos_y = ring_pos_y + ring1_size / 2 + vlen(text_size); + text_pos_y = ring_pos_y + ring1_size / 2; drawstring(text_pos, text2_msg, text_size, ring2_color, sbar_alpha_fg, DRAWFLAG_NORMAL); } -- 2.39.2