More updates to level listing

This commit is contained in:
Rob Pearce 2008-12-02 22:10:47 +00:00
parent d89f4954ba
commit 626e4ba05e
1 changed files with 14 additions and 1 deletions

View File

@ -9,7 +9,20 @@ nethack.net - ratcatcher level screenshots
<br>
<table border=1 align=center>
<script language="php">
for ($w = 1; $w <= 3; $w++) {
function getworldname($wld) {
if ($wld == 1) {
return "Forest";
} else if ($wld == 2) {
return "Beach";
} else if ($wld == 3) {
return "Kitchen";
} else if ($wld == 4) {
return "Snow";
}
}
for ($w = 1; $w <= 4; $w++) {
echo "<tr>\n";
printf("<th colspan=4>World %d</th>\n",$w);
echo "</tr>\n";