Author: Piotr Krukowiecki <piotrwww@krukowiecki.net> vim:ft=diff:
Description: patch to display line counter, BTS #304224
-Index: netris-0.52/curses.c
+Index: b/curses.c
===================================================================
---- netris-0.52.orig/curses.c
-+++ netris-0.52/curses.c
+--- a/curses.c
++++ b/curses.c
@@ -258,6 +258,12 @@ ExtFunc void PlotUnderline(int scr, int
ExtFunc void ShowDisplayInfo(void)
if (opponentFlags & SCF_fairRobot)
addstr("The opponent is a fair robot");
else
-Index: netris-0.52/game.c
+Index: b/game.c
===================================================================
---- netris-0.52.orig/game.c
-+++ netris-0.52/game.c
+--- a/game.c
++++ b/game.c
@@ -103,6 +103,7 @@ ExtFunc void OneGame(int scr, int scr2)
int key;
char *p, *cmd;
if (linesCleared > 0 && spied)
SendPacket(NP_clear, 0, NULL);
if (game == GT_classicTwo && linesCleared > 1) {
-Index: netris-0.52/netris.h
+Index: b/netris.h
===================================================================
---- netris-0.52.orig/netris.h
-+++ netris-0.52/netris.h
+--- a/netris.h
++++ b/netris.h
@@ -182,6 +182,11 @@ EXT char scratch[1024];
extern ShapeOption stdOptions[];
extern char *version_string;