X-Git-Url: https://git.jsancho.org/?p=dungeon-master.git;a=blobdiff_plain;f=src%2Fpaths.h;fp=src%2Fpaths.h;h=e1e7bec4ce16631f139d4d3b7f298ea096b1e451;hp=c8ecc8eb8b9c433e48cbf7c0697e8af74d2475b6;hb=9d35c3ae2a2571bb3fb47d359f70ac43f0f2427d;hpb=a4865ebd5fe341be517b9bc8589ed0f818fa9d5f diff --git a/src/paths.h b/src/paths.h index c8ecc8e..e1e7bec 100644 --- a/src/paths.h +++ b/src/paths.h @@ -1,7 +1,31 @@ +/* Dungeon Master --- Adventure generator for GNU Guile + Copyright © 2019 Javier Sancho + + 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 . +*/ + #include #include -#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 get_dm_paths(); +std::set get_data_paths();