[abe] 18/30: Drop 01_resolutions.diff

Markus Koschany apo at moszumanska.debian.org
Sat Jun 11 10:41:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository abe.

commit 79ad5ef0ee87c242e4b98a29b9165f44a341f095
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jun 11 10:51:00 2016 +0200

    Drop 01_resolutions.diff
---
 debian/patches/01_resolutions.diff | 77 --------------------------------------
 debian/patches/series              |  1 -
 2 files changed, 78 deletions(-)

diff --git a/debian/patches/01_resolutions.diff b/debian/patches/01_resolutions.diff
deleted file mode 100644
index abac0cc..0000000
--- a/debian/patches/01_resolutions.diff
+++ /dev/null
@@ -1,77 +0,0 @@
---- ../orig/abe-1.1/src/Main.c	2005-03-05 17:20:04.000000000 +0100
-+++ src/Main.c	2007-12-25 12:04:02.000000000 +0100
-@@ -84,7 +84,9 @@
- main(int argc, char *argv[])
- {
-   Uint32 flags = SDL_DOUBLEBUF;
--  int i;
-+  int i, j;
-+  static int available_resolution_width [] = { 320, 320, 640, 640, 800, 1024, 1280, 1600, 1280, 1280, 1440, 1400, 0 };
-+  static int available_resolution_height[] = { 200, 240, 400, 480, 600,  768, 1024, 1200,  768,  800,  900, 1050, 0 };
-   int w, h, bpp, n;
-   int hw_mem = 1;
-   int intro = 0;
-@@ -129,43 +131,13 @@
-       runmode = RUNMODE_GAME;
-     } else if(!strcmp(argv[i], "--size") && i < argc - 1) {
-       n = atoi(argv[i + 1]);
--      switch (n) {
--      case 0:
--        w = 320;
--        h = 200;
--        break;
--      case 1:
--        w = 320;
--        h = 240;
--        break;
--      case 2:
--        w = 640;
--        h = 400;
--        break;
--      case 3:
--        w = 640;
--        h = 480;
--        break;
--      case 4:
--        w = 800;
--        h = 600;
--        break;
--      case 5:
--        w = 1024;
--        h = 768;
--        break;
--      case 6:
--        w = 1280;
--        h = 1024;
--        break;
--      case 7:
--        w = 1600;
--        h = 1200;
--        break;
--      default:
--        w = 640;
--        h = 480;
--      }
-+      for( j = 0 ; available_resolution_width[j] != 0 ; j++ )
-+        if( j == n )
-+        {
-+          w = available_resolution_width[j];
-+          h = available_resolution_height[j];
-+          break;
-+        }
-     } else if((!strcmp(argv[i], "--bpp") || !strcmp(argv[i], "-b"))
-               && i < argc - 1) {
-       n = atoi(argv[i + 1]);
-@@ -191,7 +163,11 @@
-       printf
-         ("--size #           Use this width/height for the video mode.\n");
-       printf
--        ("\tModes: 0-320/200 1-320/240 2-640/400 3-640/480 4-800/600 5-1024/768 6-1280/1024 7-1600/1200\n");
-+        ("\tModes:\n");
-+      for( j = 0 ; available_resolution_width[j] != 0 ; j++ )
-+        printf( "\t  %2d: %4d/%4d (%1.2f)\n", j,
-+          available_resolution_width[j], available_resolution_height[j],
-+          (float)available_resolution_width[j] / (float)available_resolution_height[j] );
-       printf("-b --bpp #         Use this bpp for the video mode.\n");
-       printf("--nosound          Don't use sound.\n");
-       printf("-? -h --help       Show this help message.\n");
diff --git a/debian/patches/series b/debian/patches/series
index 63f9a4d..6677327 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-01_resolutions.diff
 02_enter_keys.diff
 03_truncate_menu.diff
 04_default_reso.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/abe.git



More information about the Pkg-games-commits mailing list