X-Git-Url: https://git.deb.at/w?p=pkg%2Fnetris.git;a=blobdiff_plain;f=debian%2Fpatches%2F01_multi-games-with-scoring;fp=debian%2Fpatches%2F01_multi-games-with-scoring;h=727bab2eb9169477b6b8c6d4775438eb2b5bbe4e;hp=8501b129222f2a293abf985bc3110861e9bc34fa;hb=5bb19ac4385e5871ef004ecd049561698d8dd8d5;hpb=614219dca397988b0c2003148ced5570026926df diff --git a/debian/patches/01_multi-games-with-scoring b/debian/patches/01_multi-games-with-scoring index 8501b12..727bab2 100644 --- a/debian/patches/01_multi-games-with-scoring +++ b/debian/patches/01_multi-games-with-scoring @@ -1,10 +1,10 @@ Author: Tomas Berndtsson vim:ft=diff: Description: Add multi game support with scoring -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 @@ -201,6 +201,8 @@ ExtFunc void InitScreen(int scr) for (y = boardVisible[scr] - 1; y >= 0; --y) { move(boardYPos[scr] - y, boardXPos[scr] - 1); @@ -38,10 +38,10 @@ Index: netris-0.52/curses.c move(statusYPos - 9, statusXPos); printw("Seed: %d", initSeed); clrtoeol(); -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 @@ -65,7 +65,7 @@ typedef long netint4; #define DEFAULT_PORT 9284 /* Very arbitrary */ @@ -75,10 +75,10 @@ Index: netris-0.52/netris.h EXT char scratch[1024]; extern ShapeOption stdOptions[]; -Index: netris-0.52/util.c +Index: b/util.c =================================================================== ---- netris-0.52.orig/util.c -+++ netris-0.52/util.c +--- a/util.c ++++ b/util.c @@ -74,7 +74,7 @@ ExtFunc void Usage(void) " -p Set port number (default is %d)\n" " -k Remap keys. The argument is a prefix of the string\n" @@ -88,10 +88,10 @@ Index: netris-0.52/util.c " \"^\" prefixes controls. (default is \"%s\")\n" " -i Set the step-down interval, in seconds\n" " -r Execute (a command) as a robot controlling\n" -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 @@ -28,11 +28,11 @@ #include @@ -384,10 +384,10 @@ Index: netris-0.52/game.c return 0; } -Index: netris-0.52/board.c +Index: b/board.c =================================================================== ---- netris-0.52.orig/board.c -+++ netris-0.52/board.c +--- a/board.c ++++ b/board.c @@ -36,6 +36,18 @@ static int oldFalling[MAX_SCREENS][MAX_B ExtFunc void InitBoard(int scr)