tweaked the chat position a little bit

This commit is contained in:
q3rally 2021-09-21 14:44:27 +00:00
parent 84d8c60a4e
commit 8990eed8c1
4 changed files with 12 additions and 9 deletions

View file

@ -598,7 +598,7 @@ void Con_DrawNotify (void)
currentColor = ColorIndexForNumber( text[x]>>8 );
re.SetColor( g_color_table[currentColor] );
}
SCR_DrawSmallChar( cl_conXOffset->integer + con.xadjust + (x+1)*SMALLCHAR_WIDTH, v-336, text[x] & 0xff );
SCR_DrawSmallChar( cl_conXOffset->integer + con.xadjust + (x+1)*SMALLCHAR_WIDTH, v+300, text[x] & 0xff );
}
v += SMALLCHAR_HEIGHT;
@ -615,12 +615,12 @@ void Con_DrawNotify (void)
{
if (chat_team)
{
SCR_DrawBigString (8, v, "Team Chat:", 1.0f, qfalse );
SCR_DrawBigString (8, v, "Team Chat: ", 1.0f, qfalse );
skip = 10;
}
else
{
SCR_DrawBigString (8, v, "Chat:", 1.0f, qfalse );
SCR_DrawBigString (8, v, "Chat: ", 1.0f, qfalse );
skip = 5;
}

View file

@ -580,7 +580,6 @@ void SCR_DrawBigStringColor( int x, int y, const char *s, vec4_t color, qboolean
void SCR_DrawSmallStringExt( int x, int y, const char *string, float *setColor, qboolean forceColor, qboolean noColorEscape );
void SCR_DrawSmallChar( int x, int y, int ch );
//
// cl_cin.c
//

View file

@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack"
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.3c_r436"
#define PRODUCT_VERSION "v0.3c_r438"
#endif

View file

@ -892,6 +892,7 @@ q3rallycode
4=engine\code\cgame\cg_local.h
5=engine\code\client\cl_console.c
6=engine\code\client\cl_scrn.c
7=engine\code\client\client.h
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
@ -911,8 +912,11 @@ Caret=31,2597
TopLine=732
Caret=1,748
[engine\code\client\cl_console.c]
TopLine=559
Caret=9,576
TopLine=603
Caret=36,623
[engine\code\client\cl_scrn.c]
TopLine=231
Caret=1,191
TopLine=198
Caret=1,216
[engine\code\client\client.h]
TopLine=563
Caret=48,581