does that download the TEI_SHOWLMP2 stuff better?

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@110 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-02 00:34:10 +00:00
parent d6b2210e12
commit 4925c0953b
1 changed files with 19 additions and 2 deletions

View File

@ -221,6 +221,8 @@ void SCR_DrawCenterString (int pnum)
vrect_t rect;
int telejanostyle = 0;
if (cl.splitclients)
hd = cl.splitclients;
@ -242,6 +244,14 @@ void SCR_DrawCenterString (int pnum)
y += rect.y;
if (start[0] == '/')
{
if (start[1] == 'O')
telejanostyle = start[1];
}
if (telejanostyle)
start+=2;
do
{
// scan the width of the line
@ -258,7 +268,14 @@ void SCR_DrawCenterString (int pnum)
x = rect.x + (rect.width - l*8)/2;
for (j=0 ; j<l ; j++, x+=8)
{
Draw_Character (x, y, start[j]);
switch(telejanostyle)
{
case 'O':
Draw_Character (x, y+vid.height/2, start[j]);
break;
default:
Draw_Character (x, y, start[j]);
}
if (!remaining--)
return;
}
@ -452,7 +469,7 @@ void SCR_ShowPic_Create(void)
sp->x = MSG_ReadShort();
sp->y = MSG_ReadShort();
CL_CheckOrDownloadFile(sp->picname, false);
CL_CheckOrDownloadFile(sp->picname, -1);
}
void SCR_ShowPic_Hide(void)