From 8990eed8c172b848c5e743c3d9fd182a9a23e501 Mon Sep 17 00:00:00 2001 From: q3rally Date: Tue, 21 Sep 2021 14:44:27 +0000 Subject: [PATCH] tweaked the chat position a little bit --- engine/code/client/cl_console.c | 6 +++--- engine/code/client/client.h | 1 - engine/code/qcommon/q_shared.h | 2 +- q3rallycode.ppr | 12 ++++++++---- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/engine/code/client/cl_console.c b/engine/code/client/cl_console.c index 9a471472..bccf1026 100644 --- a/engine/code/client/cl_console.c +++ b/engine/code/client/cl_console.c @@ -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; } diff --git a/engine/code/client/client.h b/engine/code/client/client.h index 0d3e1c33..1a86af75 100644 --- a/engine/code/client/client.h +++ b/engine/code/client/client.h @@ -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 // diff --git a/engine/code/qcommon/q_shared.h b/engine/code/qcommon/q_shared.h index 0ea55d49..37d62f31 100644 --- a/engine/code/qcommon/q_shared.h +++ b/engine/code/qcommon/q_shared.h @@ -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 diff --git a/q3rallycode.ppr b/q3rallycode.ppr index 424543df..8e4f5a60 100644 --- a/q3rallycode.ppr +++ b/q3rallycode.ppr @@ -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