X-Git-Url: https://git.jsancho.org/?p=dungeon-master.git;a=blobdiff_plain;f=src%2Fpaths.h;h=38cb13aa1a05337f1ef3ac045f026a0df430b1a7;hp=c8ecc8eb8b9c433e48cbf7c0697e8af74d2475b6;hb=652177d7027e9a9fe6c6b8394042bdaabf5ada76;hpb=c4a0774d367b5e8ff7a2aeebf1bbe4386621b51f diff --git a/src/paths.h b/src/paths.h index c8ecc8e..38cb13a 100644 --- a/src/paths.h +++ b/src/paths.h @@ -1,7 +1,31 @@ +/* Dungeon Master --- RPG Adventure Generator + 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 Dungeon Master. 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_dmaster_paths ();