diff options
Diffstat (limited to 'games/block/files')
-rw-r--r-- | games/block/files/patch-aa | 19 | ||||
-rw-r--r-- | games/block/files/patch-ab | 53 |
2 files changed, 72 insertions, 0 deletions
diff --git a/games/block/files/patch-aa b/games/block/files/patch-aa new file mode 100644 index 000000000000..22c48551dd81 --- /dev/null +++ b/games/block/files/patch-aa @@ -0,0 +1,19 @@ +*** makefile Tue Nov 28 03:47:05 1995 +--- /home/andy/tmp/wrk/Makefile Sat May 10 20:47:07 1997 +*************** +*** 13,19 **** + + #makes the game - this is default (has colors and keyboard flushing) + block : block.c +! $(CC) $(INCLUDE) -DUCOL -DNEW -s -o block block.c $(LL) + + #make the editor + bed : bed.c +--- 13,19 ---- + + #makes the game - this is default (has colors and keyboard flushing) + block : block.c +! $(CC) $(INCLUDE) -DUCOL -DNEW -DPREFIX=\"$(PREFIX)\" -s -o block block.c $(LL) + + #make the editor + bed : bed.c diff --git a/games/block/files/patch-ab b/games/block/files/patch-ab new file mode 100644 index 000000000000..2496d7e70910 --- /dev/null +++ b/games/block/files/patch-ab @@ -0,0 +1,53 @@ +*** block.c Mon Nov 20 19:02:24 1995 +--- /home/andy/tmp/wrk/block.c Sat May 10 22:57:08 1997 +*************** +*** 31,37 **** + #define FF_HOME 4 + #define FF_OVEN 5 + +! #define DEFGAME "/usr/games/lib/default.block" + + /* uncomment if you like lots of diagnostic garbage */ + /* #define DEBUG 1 */ +--- 31,37 ---- + #define FF_HOME 4 + #define FF_OVEN 5 + +! #define DEFGAME PREFIX "/share/block/default.block" + + /* uncomment if you like lots of diagnostic garbage */ + /* #define DEBUG 1 */ +*************** +*** 140,146 **** + break; + case 1 : + case 2 : printf("Hmmm... trouble reading file %s\n",lname); +! sprintf(tmp,"/usr/games/lib/%s.block",lname); + if(loadnext(&cw,tmp)){ + printf("Could not read %s either\n",tmp); + if(loadnext(&cw,"default")){ +--- 140,146 ---- + break; + case 1 : + case 2 : printf("Hmmm... trouble reading file %s\n",lname); +! sprintf(tmp, PREFIX "/share/block/%s.block",lname); + if(loadnext(&cw,tmp)){ + printf("Could not read %s either\n",tmp); + if(loadnext(&cw,"default")){ +*************** +*** 495,501 **** + } + /*Hope they come back again*/ + +! sprintf(lname,"/usr/games/lib/%s.block",cw.fname); + /* yuck - a messy kludge - the fname stores the name of the next game*/ + moves=0; + if(looper)looper=2; +--- 495,501 ---- + } + /*Hope they come back again*/ + +! sprintf(lname,"/share/block/%s.block",cw.fname); + /* yuck - a messy kludge - the fname stores the name of the next game*/ + moves=0; + if(looper)looper=2; |