… | |
… | |
15 | # |
15 | # |
16 | # You should have received a copy of the GNU General Public License |
16 | # You should have received a copy of the GNU General Public License |
17 | # along with cfmaps; if not, write to the Free Software |
17 | # along with cfmaps; if not, write to the Free Software |
18 | # Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | # Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | |
19 | |
20 | our $VERSION = '2.11'; |
20 | our $VERSION = '2.111'; |
21 | |
21 | |
22 | use strict; |
22 | use strict; |
23 | |
23 | |
24 | use List::Util qw(min max); |
24 | use List::Util qw(min max); |
25 | use Deliantra; |
25 | use Deliantra; |
… | |
… | |
124 | |
124 | |
125 | print "<p class='m'>", |
125 | print "<p class='m'>", |
126 | escape_html delete $info->{msg}, |
126 | escape_html delete $info->{msg}, |
127 | "</p>"; |
127 | "</p>"; |
128 | |
128 | |
129 | print "<p class='i'><table>", |
129 | print "<table class='i'>", |
130 | (map "<tr><td>" . (escape_html $_) . "</td><td>" . (escape_html $info->{$_}) . "</td></tr>", |
130 | (map "<tr><td>" . (escape_html $_) . "</td><td>" . (escape_html $info->{$_}) . "</td></tr>", |
131 | grep !/^_/, keys %$info), |
131 | grep !/^_/, keys %$info), |
132 | "</table></p>"; |
132 | "</table>", |
|
|
133 | "<p />"; |
133 | |
134 | |
134 | print "<table class='map'>"; |
135 | print "<table class='map'>"; |
135 | |
136 | |
136 | my %ignore = map +($_ => 1), qw(name _name _atype x y); |
137 | my %ignore = map +($_ => 1), qw(name _name _atype x y); |
137 | my %is_exit = map +($_ => 1), 41, 57, 66; |
138 | my %is_exit = map +($_ => 1), 41, 57, 66; |