]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/path.c.in
Make econfig keys data and info work for relative names
[empserver] / src / lib / global / path.c.in
index 5a4fbc3eba43720e7af17ff31f5a640b7ea9ab73..47ff1d46abbb5242f851fbdb87bb0f1b3f683479 100644 (file)
@@ -53,15 +53,19 @@ char *custom_tables = "";
 char *schedulefil;
 
 /* Where to find built-in configuration tables (relative to configdir) */
+char *builtindir_conf = "@builtindir@";
+/* Where to find built-in configuration tables (absolute) */
 char *builtindir = "@builtindir@";
 
-/* Where to find info pages (relative to gamedir) */
-/* TODO UI wart, make it relative to configdir */
-char *infodir  = "@einfodir@";
+/* Where to find info pages (relative to configdir) */
+char *infodir_conf = "@einfodir@";
+/* Where to find info pages (absolute) */
+char *infodir;
 
 /* Where this game's data is stored (relative to configdir) */
-/* FIXME relative broken in utility programs */
-char *gamedir  = "@gamedir@";
+char *gamedir_conf = "@gamedir@";
+/* Where this game's data is stored (absolute) */
+char *gamedir;
 
 /* These are relative to gamedir: */
 char teldir[]  = "tel";