mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-24 08:51:58 +00:00
FS_.*PATH have been eliminated as fs_userpath and fs_sharepath default to . and
can be configured by ${sysconfdir}/quakeforge.conf
This commit is contained in:
parent
28d0df55d3
commit
72ff6cb80b
4 changed files with 0 additions and 49 deletions
|
@ -19,12 +19,6 @@
|
|||
/* Define this to the location of the global config file */
|
||||
#undef FS_GLOBALCFG
|
||||
|
||||
/* Define this to the shared game directory root */
|
||||
#undef FS_SHAREPATH
|
||||
|
||||
/* Define this to the unshared game directory root */
|
||||
#undef FS_USERPATH
|
||||
|
||||
/* Define this to the base game for the engine to load */
|
||||
#undef BASEGAME
|
||||
|
||||
|
|
25
configure.in
25
configure.in
|
@ -632,31 +632,6 @@ else
|
|||
AC_DEFINE_UNQUOTED(FS_GLOBALCFG, $globalconf)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(sharepath,
|
||||
[ --with-sharepath=DIR Use DIR for shared game data, defaults to
|
||||
\${datadir}/games/quakeforge],
|
||||
SHAREPATH=$withval, SHAREPATH="auto")
|
||||
if test "x$SHAREPATH" = "xauto" -o "x$SHAREPATH" = "xyes" -o "x$SHAREPATH" = "x"; then
|
||||
eval foo="$datadir"
|
||||
AC_DEFINE_UNQUOTED(FS_SHAREPATH, "$foo/games/quakeforge")
|
||||
elif test "x$SHAREPATH" = xno; then
|
||||
AC_DEFINE_UNQUOTED(FS_SHAREPATH, ".")
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(FS_SHAREPATH, "$SHAREPATH")
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(userpath,
|
||||
[ --with-userpath=DIR Use DIR for unshared game data, defaults to
|
||||
\${HOME}/.quakeforge],
|
||||
USERPATH=$withval, USERPATH="auto")
|
||||
if test "x$USERPATH" = "xauto" -o "x$USERPATH" = "xyes" -o "x$USERPATH" = "x"; then
|
||||
AC_DEFINE_UNQUOTED(FS_USERPATH, "~/.quakeforge")
|
||||
elif test "x$USERPATH" = xno; then
|
||||
AC_DEFINE_UNQUOTED(FS_USERPATH, ".")
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(FS_USERPATH, "$USERPATH")
|
||||
fi
|
||||
|
||||
dnl CFLAGS for release and devel versions
|
||||
AC_ARG_ENABLE(release,
|
||||
[ --enable-release compile release (with optimizations)],
|
||||
|
|
|
@ -254,9 +254,6 @@
|
|||
/* Define if you want the QSG standards */
|
||||
#define QSG_VERSION "1"
|
||||
|
||||
/* Define what the base path should be */
|
||||
#define FS_BASEPATH "."
|
||||
|
||||
/* Define the name of the global config file */
|
||||
#define GLOBAL_CFG_FILE ".\\qforge.cfg"
|
||||
|
||||
|
@ -266,12 +263,6 @@
|
|||
/* Define if we've scitech MGL library and mgraph.h */
|
||||
#define HAVE_MGRAPH_H 1
|
||||
|
||||
/* Dir used for shared game data */
|
||||
#define FS_SHAREPATH "."
|
||||
|
||||
/* Dir used for shared game data */
|
||||
#define FS_USERPATH "."
|
||||
|
||||
#define FS_GLOBALCFG ".\\qforge.cfg"
|
||||
|
||||
#define strcasecmp(s1, s2) stricmp((s1), (s2))
|
||||
|
|
|
@ -260,9 +260,6 @@
|
|||
/* Define if you want the QSG standards */
|
||||
#define QSG_VERSION "1"
|
||||
|
||||
/* Define what the base path should be */
|
||||
#define FS_BASEPATH "."
|
||||
|
||||
/* Define the name of the global config file */
|
||||
#define GLOBAL_CFG_FILE ".\\qforge.cfg"
|
||||
|
||||
|
@ -272,12 +269,6 @@
|
|||
/* Define if we've scitech MGL library and mgraph.h */
|
||||
#define HAVE_MGRAPH_H 1
|
||||
|
||||
/* Dir used for shared game data */
|
||||
#define FS_SHAREPATH "."
|
||||
|
||||
/* Dir used for shared game data */
|
||||
#define FS_USERPATH "."
|
||||
|
||||
#define FS_GLOBALCFG ".\\qforge.cfg"
|
||||
|
||||
#define strcasecmp(s1, s2) stricmp((s1), (s2))
|
||||
|
|
Loading…
Reference in a new issue