]> git.pond.sub.org Git - empserver/blobdiff - include/econfig-spec.h
Make econfig keys data and info work for relative names
[empserver] / include / econfig-spec.h
index 03d5416288f58540f259bd1be2f3b30ec7314108..5f0ad91a0119613bdd767c3bc5f7859b3a177b24 100644 (file)
@@ -73,17 +73,13 @@ EMPCFBOTH((fvname), (vname), int, NSC_INT, KM_OPTION, (descr))
 EMPCF_COMMENT("\n### Server configuration and information")
 EMPCFBOTH("custom_tables", custom_tables, char *, NSC_STRING, KM_INTERNAL,
     "Custom configuration table files, separated by space")
-EMPCFBOTH("data", gamedir, char *, NSC_STRING, KM_INTERNAL,
+EMPCFBOTH("data", gamedir_conf, char *, NSC_STRING, KM_INTERNAL,
     "Directory where this game's data is stored")
-EMPCF_COMMENT("# Note: Use an absolute name here, the interpretation of a relative\n"
-             "# name may change.")
-EMPCFBOTH("info", infodir, char *, NSC_STRING, KM_INTERNAL,
+EMPCFBOTH("info", infodir_conf, char *, NSC_STRING, KM_INTERNAL,
     "Directory where info pages are stored, can be shared among games")
 EMPCF_COMMENT("# Set this to your build tree's info.nr to run the server without\n"
-             "# installing it.\n"
-             "# Note: Use an absolute name here, the interpretation of a relative\n"
-             "# name may change.")
-EMPCFBOTH("builtin", builtindir, char *, NSC_STRING, KM_INTERNAL,
+             "# installing it.")
+EMPCFBOTH("builtin", builtindir_conf, char *, NSC_STRING, KM_INTERNAL,
     "Directory where builtin files are stored")
 EMPCF_COMMENT("# Set this to your source tree's src/lib/global to run the server\n"
              "# without installing it, else leave it alone.")