]> git.jsancho.org Git - dungeon-master.git/blobdiff - src/paths.h
Some things
[dungeon-master.git] / src / paths.h
index c8ecc8eb8b9c433e48cbf7c0697e8af74d2475b6..e1e7bec4ce16631f139d4d3b7f298ea096b1e451 100644 (file)
@@ -1,7 +1,31 @@
+/* Dungeon Master --- Adventure generator for GNU Guile
+   Copyright © 2019 Javier Sancho <jsf@jsancho.org>
+
+   Dungeon Master is free software; you can redistribute it and/or modify it
+   under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   Dungeon Master is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with Haunt.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <set>
 #include <iostream>
 
-#define DIR_DELIM "/"
+#define PATH_DELIM "/"
+
+#ifndef DATA_PATH
+#define DATA_PATH ""
+#endif
+
+#ifndef PROGRAM_NAME
+#define PROGRAM_NAME "dmaster"
+#endif
 
-std::string get_exec_path();
-std::set<std::string> get_dm_paths();
+std::set<std::string> get_data_paths();