if (i == me)
{
V_DrawPatch(x-SHORT(p[i]->width)/2,
DM_MATRIXY - WI_SPACINGY,
FB,
bstar);
V_DrawPatch(DM_MATRIXX-SHORT(p[i]->width)/2,
y,
FB,
star);
}
}
else
{
//V_DrawPatch(x-SHORT(bp[i]->width)/2,
//DM_MATRIXY - WI_SPACINGY, FB, bp[i]);
//V_DrawPatch(DM_MATRIXX-SHORT(bp[i]->width)/2,
//y, FB, bp[i]);
}
x += DM_SPACINGX; y += WI_SPACINGY;
}
// draw stats
y = DM_MATRIXY+10;
w = SHORT(num[0]->width);
for (i=0 ; i<MAXPLAYERS ; i++)
{
x = DM_MATRIXX + DM_SPACINGX;
if (playeringame[i])
{
for (j=0 ; j<MAXPLAYERS ; j++)
{
if (playeringame[j])
WI_drawNum(x+w, y, dm_frags[i][j], 2);
x += DM_SPACINGX;
}
WI_drawNum(DM_TOTALSX+w, y, dm_totals[i], 2);
}
y += WI_SPACINGY;
}
} |
|
static int |
cnt_frags[MAXPLAYERS]; |
static int |
dofrags; |
static int |
ng_state; |
void WI_initNetgameStats(void)
{
int i;
state = StatCount; acceleratestage = 0; ng_state = 1;
cnt_pause = TICRATE;
for (i=0 ; i<MAXPLAYERS ; i++)
{