|
|
|
@ -68,7 +68,7 @@ void d_fatal (char *fmt,...) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void debug_ingameinfo() {
|
|
|
|
|
int i, j;
|
|
|
|
|
int i;
|
|
|
|
|
float fl;
|
|
|
|
|
char text[255];
|
|
|
|
|
|
|
|
|
@ -83,11 +83,7 @@ void debug_ingameinfo() {
|
|
|
|
|
sprintf (text, "P:");
|
|
|
|
|
for (i = 0; i < MAX_PLAYERS; i++)
|
|
|
|
|
if (PS_IS_playing (players[i].state)) {
|
|
|
|
|
for (j = 0, fl = 0.0f; j < PI_max; j++)
|
|
|
|
|
if (fl < players[i].ill[j].to)
|
|
|
|
|
fl = players[i].ill[j].to;
|
|
|
|
|
|
|
|
|
|
sprintf (text, "%s TO:%2.2f ", text, fl);
|
|
|
|
|
sprintf (text, "%s Pos:%f,%f ", text, players[i].pos.x, players[i].pos.y);
|
|
|
|
|
}
|
|
|
|
|
font_gfxdraw (0, gfx.res.y-font[0].size.y*2, text, 0, 0, (map.size.y*256)+10);
|
|
|
|
|
|
|
|
|
|