--- cfmaps/cfmap2html 2005/11/20 08:30:36 1.16
+++ cfmaps/cfmap2html 2005/11/22 17:54:41 1.19
@@ -62,7 +62,7 @@
my (@path) = split /\//, $path;
print "",
- "",
+ '',
"",
"
",
"Crossfire Map \"$path\"",
@@ -121,9 +121,9 @@
if (my $as = $meta->{map}[$x][$y]) {
my @class;
- push @class, "fishy" if grep $_->{invisible} || $_->{face} || exists $_->{no_pass}, @$as;
- push @class, "exit" if grep $is_exit{$arch->{$_->{_name}}{type}} && $_->{slaying}, @$as;
- push @class, "npc" if grep $_->{msg}, @$as;
+ push @class, "fishy" if grep $_->{invisible} || $_->{face} || exists $_->{no_pass}, @$as;
+ push @class, "exit" if grep $is_exit{$arch->{$_->{_name}}{type}} && $_->{slaying}, @$as;
+ push @class, "dialog" if grep $_->{msg} =~ /^\@match/m, @$as;
print "";
print " ";
@@ -182,6 +182,6 @@
close $fh;
- system "gzip", "-7f", "$path.xhtml";
+ #system "gzip", "-7f", "$path.xhtml";
}
|