]> git.deb.at Git - pkg/netris.git/blobdiff - debian/patches/01_multi-games-with-scoring
refresh them with proper quilt settings
[pkg/netris.git] / debian / patches / 01_multi-games-with-scoring
index 3d08e9c48f6d8333ff1a3c4b0a3b014515e3b7bc..727bab2eb9169477b6b8c6d4775438eb2b5bbe4e 100644 (file)
@@ -1,7 +1,10 @@
-Index: netris-0.52/curses.c
+Author: Tomas Berndtsson <tomas@nocrew.org>    vim:ft=diff:
+Description: Add multi game support with scoring
+
+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);
@@ -11,7 +14,7 @@ Index: netris-0.52/curses.c
                move(boardYPos[scr] - y, boardXPos[scr] + 2 * boardWidth[scr]);
                addch('|');
        }
-@@ -256,6 +258,23 @@ ExtFunc void PlotUnderline(int scr, int 
+@@ -256,6 +258,23 @@ ExtFunc void PlotUnderline(int scr, int
  
  ExtFunc void ShowDisplayInfo(void)
  {
@@ -35,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 */
@@ -72,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 <port>  Set port number (default is %d)\n"
          "  -k <keys>  Remap keys.  The argument is a prefix of the string\n"
@@ -85,10 +88,10 @@ Index: netris-0.52/util.c
          "               \"^\" prefixes controls.  (default is \"%s\")\n"
          "  -i <sec>   Set the step-down interval, in seconds\n"
          "  -r <robot> Execute <robot> (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 <netinet/in.h>
  
@@ -381,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)