--- cfmaps/cfmap2html 2005/11/18 23:43:12 1.8 +++ cfmaps/cfmap2html 2005/11/20 00:58:57 1.9 @@ -1,5 +1,22 @@ #!/opt/bin/perl +# cfmap2html - convert crossfire maps to html +# Copyright (C) 2005 Marc Lehmann +# +# CFMAP2HTML 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 2 of the License, or +# (at your option) any later version. +# +# This program 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 gvpe; if not, write to the Free Software +# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + use Storable; my $LIBDIR = $ENV{CROSSFIRE_LIBDIR} @@ -11,7 +28,7 @@ umask 022; -our $VERSION = '1.02'; +our $VERSION = '1.04'; sub escape_html($) { local $_ = shift; @@ -49,37 +66,39 @@ "", "Crossfire Map \"$path\"", "", "", ""; - print "", - "

created by cfmap2html version $VERSION

", "

"; close $fh;