|
|
|
@ -74,10 +74,17 @@ void debug_ingameinfo() {
|
|
|
|
|
for (i = 0; i < map.size.x; i++)
|
|
|
|
|
stonelist_add (i, map.size.y-1);
|
|
|
|
|
|
|
|
|
|
redraw_logo (0, gfx.res.y-font[0].size.y, gfx.res.y, gfx.res.x);
|
|
|
|
|
redraw_logo (0, gfx.res.y-font[0].size.y * 2, gfx.res.y, gfx.res.x);
|
|
|
|
|
sprintf (text, "TDiff: %2.3f TFactor: %2.3f", timediff, timefactor);
|
|
|
|
|
font_gfxdraw (0, gfx.res.y-font[0].size.y, text, 0, 0, (map.size.y*256)+10);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sprintf (text, "P:");
|
|
|
|
|
for (i = 0; i < MAX_PLAYERS; i++)
|
|
|
|
|
if (PS_IS_playing (players[i].state))
|
|
|
|
|
sprintf (text, "%s %2.2f,%2.2f[%2.2f]", text, players[i].pos.x, players[i].pos.y, players[i].frame);
|
|
|
|
|
font_gfxdraw (0, gfx.res.y-font[0].size.y*2, text, 0, 0, (map.size.y*256)+10);
|
|
|
|
|
|
|
|
|
|
if (bman.p_nr >= 0 && bman.p_nr < MAX_PLAYERS) {
|
|
|
|
|
sprintf (text, "Pos: %2.3f,%2.3f", players[bman.p_nr].pos.x, players[bman.p_nr].pos.y);
|
|
|
|
|
font_gfxdraw (350, gfx.res.y-font[0].size.y, text, 0, 0, (map.size.y*256)+10);
|
|
|
|
|