+ float timer;
+
+ move(6, statusXPos); addstr("Next: ");
+ move(7, statusXPos + 7); addstr(" ");
+ ShapeIterate(Players[scr].nextShape, scr,
+ ShapeToNetNum(Players[scr].nextShape) == 15 ? 13 : 14,
+ statusXPos / 2 + 5, 1, GlanceFunc, NULL);
+ move(statusYPos - 21 + 1, statusXPos);
+ printw("Score:%6d level: %2d", score.score, score.level);
+ move(statusYPos - 20 + 1, statusXPos);
+ timer = CurTimeval() / 1e6;
+ printw("Lines:%6d", score.lines);
+ if (timer > 4) {
+ printw(" ppm:%5.1f", score.drops * 60 / timer);
+ move(statusYPos - 18, statusXPos);
+ if (score.lines > 0)
+ printw("yield: %3d%%", 100 * score.adds / score.lines);
+ else addstr(" ");
+ printw(" apm:%5.1f", score.adds * 60 / timer);
+ }