]> git.jsancho.org Git - dungeon-master.git/blob - src/generators.h
b07637da642d7ba57825be3250a65623d0ae0055
[dungeon-master.git] / src / generators.h
1 /* Dungeon Master --- Adventure generator for GNU Guile
2    Copyright © 2019 Javier Sancho <jsf@jsancho.org>
3
4    Dungeon Master is free software; you can redistribute it and/or modify it
5    under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 3 of the License, or
7    (at your option) any later version.
8
9    Dungeon Master is distributed in the hope that it will be useful, but
10    WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with Haunt.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #include <libguile.h>
19
20 struct SceneGenerator
21 {
22   std::string name;
23   std::string type;
24   SCM proc;
25 };
26
27 int register_generator(SceneGenerator generator);