]> 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 8501b129222f2a293abf985bc3110861e9bc34fa..727bab2eb9169477b6b8c6d4775438eb2b5bbe4e 100644 (file)
@@ -1,10 +1,10 @@
 Author: Tomas Berndtsson <tomas@nocrew.org>    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 <port>  Set port number (default is %d)\n"
          "  -k <keys>  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 <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>
  
@@ -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)