freebsd-ports/games/sokoban/files/patch-ab
Mark Pulford e56553d416 Improved high score handling
Prompted by PR:	37338
2002-06-05 09:59:57 +00:00

31 lines
892 B
Plaintext

*** sokoban.h Fri May 15 05:15:26 1992
--- /home/andy/tmp/wrk/sokoban.h Tue Apr 29 19:02:00 1997
***************
*** 1,6 ****
--- 1,14 ----
/***********************************************************************
You may wish to alter the following directory paths
***********************************************************************/
+
+ #ifdef PREFIX
+ #define SCREENPATH PREFIX "/share/sokoban/screens"
+ #define SAVEPATH PREFIX "/share/sokoban"
+ #define LOCKFILE "/tmp/sok.tmp"
+ #define SCOREFILE "/var/games/sokoban"
+ #else
+
/**/
/* SCREENPATH: the name of the directioy where the screen file are held */
/**/
***************
*** 23,28 ****
--- 31,38 ----
/* SCOREFILE: the full pathname of the score file */
/**/
#define SCOREFILE "/usr/games/sokob/highscore"
+
+ #endif
/**/
/* MAXUSERNAME: defines the maximum length of a system's user name */