diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
commit | 23454acb66be2a88647262d98d50e0f115519ea0 (patch) | |
tree | c593751ce3649be2e502fac3e080d6c0045b9fa0 /phantasia/pathnames.h | |
parent | 08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff) | |
download | bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip |
Use PREFIX now
Diffstat (limited to 'phantasia/pathnames.h')
-rw-r--r-- | phantasia/pathnames.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/phantasia/pathnames.h b/phantasia/pathnames.h index af287785..5bfc3bc0 100644 --- a/phantasia/pathnames.h +++ b/phantasia/pathnames.h @@ -31,12 +31,14 @@ * @(#)pathnames.h 8.2 (Berkeley) 4/2/94 */ -#define _PATH_GAMEPROG "/usr/games/phantasia" -#define _PATH_GOLD "/var/games/phantasia/gold" -#define _PATH_LASTDEAD "/var/games/phantasia/lastdead" -#define _PATH_MESS "/var/games/phantasia/mess" -#define _PATH_MONST "/var/games/phantasia/monsters" -#define _PATH_MOTD "/var/games/phantasia/motd" -#define _PATH_PEOPLE "/var/games/phantasia/characs" -#define _PATH_SCORE "/var/games/phantasia/scoreboard" -#define _PATH_VOID "/var/games/phantasia/void" +#include "config.h" + +#define _PATH_GAMEPROG PREFIX"/games/phantasia" +#define _PATH_GOLD LOCALSTATEDIR"/games/phantasia/gold" +#define _PATH_LASTDEAD LOCALSTATEDIR"/games/phantasia/lastdead" +#define _PATH_MESS LOCALSTATEDIR"/games/phantasia/mess" +#define _PATH_MONST LOCALSTATEDIR"/games/phantasia/monsters" +#define _PATH_MOTD LOCALSTATEDIR"/games/phantasia/motd" +#define _PATH_PEOPLE LOCALSTATEDIR"/games/phantasia/characs" +#define _PATH_SCORE LOCALSTATEDIR"/games/phantasia/scoreboard" +#define _PATH_VOID LOCALSTATEDIR"/games/phantasia/void" |