- Move highscore file into /var/games PR: 193852 Submitted by: lifanov@mail.lifanov.com (maintainer)
26 lines
733 B
C
26 lines
733 B
C
--- sokoban.h.orig 1992-05-15 05:15:26 UTC
|
|
+++ sokoban.h
|
|
@@ -1,6 +1,14 @@
|
|
/***********************************************************************
|
|
You may wish to alter the following directory paths
|
|
***********************************************************************/
|
|
+
|
|
+#ifdef PREFIX
|
|
+#define SCREENPATH PREFIX "/share/sokoban/screens"
|
|
+#define SAVEPATH "/var/games/sokoban"
|
|
+#define LOCKFILE "/tmp/sok.tmp"
|
|
+#define SCOREFILE "/var/games/sokoban/scores"
|
|
+#else
|
|
+
|
|
/**/
|
|
/* SCREENPATH: the name of the directioy where the screen file are held */
|
|
/**/
|
|
@@ -24,6 +32,8 @@
|
|
/**/
|
|
#define SCOREFILE "/usr/games/sokob/highscore"
|
|
|
|
+#endif
|
|
+
|
|
/**/
|
|
/* MAXUSERNAME: defines the maximum length of a system's user name */
|
|
/**/
|