X-Git-Url: https://git.jsancho.org/?p=dungeon-master.git;a=blobdiff_plain;f=src%2Fmods.cpp;h=c6fa4b6d7f0c29cc67e33250e912c7f32cb59b0e;hp=63a3a8b3321af917d693764935d6f1686e109291;hb=9d35c3ae2a2571bb3fb47d359f70ac43f0f2427d;hpb=fbd191437dc6e137521891bcddf0e75731f026fe diff --git a/src/mods.cpp b/src/mods.cpp index 63a3a8b..c6fa4b6 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -1,3 +1,20 @@ +/* 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 #include @@ -11,7 +28,7 @@ SCM register_scene_generator(SCM name, SCM type, SCM proc) SceneGenerator generator {scm_to_locale_string(name), scm_to_locale_string(type), proc }; register_generator(generator); printf ("Register: %s (%s)\n", generator.name.c_str(), generator.type.c_str()); - //scm_call_1(proc, scm_from_int(-1)); + scm_call_1(proc, scm_from_int(-1)); return SCM_UNSPECIFIED; }