diff -u -r tworld-1.2.1/gen.h tworld-1.2.1-godmode/gen.h --- tworld-1.2.1/gen.h 2004-10-10 16:34:20.000000000 +0100 +++ tworld-1.2.1-godmode/gen.h 2005-12-30 14:22:20.000000000 +0000 @@ -40,6 +40,11 @@ #define CXGRID 32 #define CYGRID 32 +/* The dimensions of the visible area of the map (in tiles). + */ +extern int NXTILES; +extern int NYTILES; + /* The four directions plus one non-direction. */ #define NIL 0 diff -u -r tworld-1.2.1/oshw-sdl/sdlout.c tworld-1.2.1-godmode/oshw-sdl/sdlout.c --- tworld-1.2.1/oshw-sdl/sdlout.c 2004-10-21 08:42:24.000000000 +0100 +++ tworld-1.2.1-godmode/oshw-sdl/sdlout.c 2005-12-30 14:20:24.000000000 +0000 @@ -23,11 +23,6 @@ #define PROMPTICONW 16 #define PROMPTICONH 10 -/* The dimensions of the visible area of the map (in tiles). - */ -#define NXTILES 9 -#define NYTILES 9 - /* Erase a rectangle (useful for when a surface is locked). */ #define fillrect(r) (puttext((r), NULL, 0, PT_MULTILINE)) diff -u -r tworld-1.2.1/tworld.c tworld-1.2.1-godmode/tworld.c --- tworld-1.2.1/tworld.c 2004-10-21 20:25:20.000000000 +0100 +++ tworld-1.2.1-godmode/tworld.c 2005-12-30 14:42:42.000000000 +0000 @@ -58,6 +58,11 @@ tablespec table; /* table for displaying the array */ } seriesdata; +/* The dimensions of the visible area of the map (in tiles). + */ +int NXTILES = 9; +int NYTILES = 9; + /* TRUE suppresses sound and the console bell. */ static int silence = FALSE; @@ -1207,7 +1212,7 @@ soundbufsize = 0; volumelevel = -1; - initoptions(&opts, argc - 1, argv + 1, "aD:dFfHhL:lm:n:pqR:rS:stVv"); + initoptions(&opts, argc - 1, argv + 1, "aD:dFfHhL:lm:n:GpqR:rS:stVv"); while ((ch = readoption(&opts)) >= 0) { switch (ch) { case 0: @@ -1238,6 +1243,7 @@ case 't': start->listtimes = TRUE; break; case 'm': mudsucking = atoi(opts.val); break; case 'n': volumelevel = atoi(opts.val); break; + case 'G': NXTILES = CXGRID; NYTILES = CYGRID; break; case 'h': printtable(stdout, yowzitch); exit(EXIT_SUCCESS); case 'v': puts(VERSION); exit(EXIT_SUCCESS); case 'V': printtable(stdout, vourzhon); exit(EXIT_SUCCESS);