Added files for new website area
This commit is contained in:
parent
e4d7e24a4e
commit
dfaf70f6cb
|
@ -0,0 +1,21 @@
|
||||||
|
# Shows name for given level
|
||||||
|
|
||||||
|
if [ $# -ne 2 ]; then
|
||||||
|
echo "usage: ./getname world_num level_num"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
WORLD=$1
|
||||||
|
LEVEL=$2
|
||||||
|
|
||||||
|
ADJWORLD=`expr $WORLD - 1`
|
||||||
|
ADJLEVEL=`expr $LEVEL - 1`
|
||||||
|
|
||||||
|
LINE1=`expr $ADJWORLD \* 20 + $ADJLEVEL`
|
||||||
|
LINE=`expr $LINE1 + 1`
|
||||||
|
|
||||||
|
NAMELINE=`head -n $LINE data/map.dat | tail -n 1`
|
||||||
|
NAME=`echo $NAMELINE | awk -F',' '{print $3}'`
|
||||||
|
|
||||||
|
#echo Level $WORLD-$LEVEL is $NAME
|
||||||
|
echo $NAME
|
1
pub.sh
1
pub.sh
|
@ -4,5 +4,6 @@ echo "<script language=\"php\">" >website/currentrev.php
|
||||||
echo "echo \"$VER\"; " >>website/currentrev.php
|
echo "echo \"$VER\"; " >>website/currentrev.php
|
||||||
echo "</script>" >>website/currentrev.php
|
echo "</script>" >>website/currentrev.php
|
||||||
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
|
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
|
||||||
|
cp data/map.dat website/
|
||||||
cd website
|
cd website
|
||||||
svn commit -m "Published new app to web site"
|
svn commit -m "Published new app to web site"
|
||||||
|
|
|
@ -13,9 +13,6 @@ nethack.net - ratcatcher
|
||||||
A platform game inspired by Bubble Bubble, Rodland, Snow Bros and the like.
|
A platform game inspired by Bubble Bubble, Rodland, Snow Bros and the like.
|
||||||
<h2>Screenshots</h2>
|
<h2>Screenshots</h2>
|
||||||
<table border=1 align=center>
|
<table border=1 align=center>
|
||||||
<tr>
|
|
||||||
<td colspan=3><center><b>Current Version</b></center></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<center>
|
<center>
|
||||||
|
@ -45,6 +42,9 @@ A platform game inspired by Bubble Bubble, Rodland, Snow Bros and the like.
|
||||||
</center>
|
</center>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan=3><center><a href="levels.php">See all levels</a></center></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h2>Download</h2>
|
<h2>Download</h2>
|
||||||
This game is currently still incomplete, however the latest version of the OSX application (<b>r<?php include("currentrev.php"); ?></b>) is here:<br>
|
This game is currently still incomplete, however the latest version of the OSX application (<b>r<?php include("currentrev.php"); ?></b>) is here:<br>
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
<html>
|
||||||
|
<title>
|
||||||
|
nethack.net - ratcatcher level screenshots
|
||||||
|
</title>
|
||||||
|
<body bgcolor="#99BB99">
|
||||||
|
<center>
|
||||||
|
<br>
|
||||||
|
<h1>Rat Catcher Levels</h1>
|
||||||
|
<br>
|
||||||
|
<table border=1 align=center>
|
||||||
|
<script language="php">
|
||||||
|
for ($w = 1; $w <= 3; $w++) {
|
||||||
|
echo "<tr>\n";
|
||||||
|
echo "<th colspan=4>World %d</th>\n",$w;
|
||||||
|
echo "</tr>\n";
|
||||||
|
for ($l = 1; $l <= 20;) {
|
||||||
|
echo "<tr>\n";
|
||||||
|
for ($i = 0 ; $i < 4; $i++) {
|
||||||
|
if ($i > 20) break;
|
||||||
|
echo "<td>\n";
|
||||||
|
echo "<center>\n";
|
||||||
|
printf("<img src=\"levels/level_%d_%d.png\">\n",$w,$l);
|
||||||
|
echo "</center>\n";
|
||||||
|
echo "</td>\n";
|
||||||
|
$l++;
|
||||||
|
}
|
||||||
|
echo "</tr>\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</table>
|
||||||
|
</html>
|
|
@ -0,0 +1,69 @@
|
||||||
|
1,level1.dat,Ratcatching School
|
||||||
|
2,level2.dat,Powerup School
|
||||||
|
3,level3.dat,Spike School
|
||||||
|
4,level4.dat,Bridge School
|
||||||
|
5,level5.dat,Hole in the Hill
|
||||||
|
6,level6.dat,Roller School
|
||||||
|
8,level9.dat,The Garden
|
||||||
|
9,level10.dat,Planks
|
||||||
|
11,level5.5.dat,Spike Pit
|
||||||
|
12,level7.5.dat,Slithering Cliffs
|
||||||
|
13,level11.5.dat,Underground Lake
|
||||||
|
7,level7.dat,Platforms and Ladders
|
||||||
|
17,level8.dat,Smile!
|
||||||
|
19,theisland.dat,The Island
|
||||||
|
15,level13.dat,Bee Caverns
|
||||||
|
10,level11.dat,The Hive
|
||||||
|
107,level107.dat,Mountaineering
|
||||||
|
108,level108.dat,Backyard One
|
||||||
|
14,level12.dat,Bee Pods
|
||||||
|
20,level20.dat,King Rat
|
||||||
|
105,level105.dat,The Beach
|
||||||
|
111,level111.dat,Observation Post
|
||||||
|
21,level21.dat,Beach Complex
|
||||||
|
100,level100.dat,Snails and Slugs
|
||||||
|
22,level22.dat,Platforms in the Sand
|
||||||
|
104,level104.dat,Sand Bars
|
||||||
|
103,level103.dat,Fishbowls
|
||||||
|
23,level23.dat,Twisty Little Passages
|
||||||
|
114,level114.dat,Loopy Plants
|
||||||
|
102,level102.dat,Diving Pool
|
||||||
|
110,level110.dat,Portrait Gallery #1
|
||||||
|
16,level14.dat,The Chimney
|
||||||
|
115,level115.dat,Fine and sunny
|
||||||
|
113,level113.dat,Mine Shaft
|
||||||
|
101,level101.dat,Sand Castle
|
||||||
|
112,level112.dat,Divide and Conquer
|
||||||
|
117,level117.dat,Beware the rapids!
|
||||||
|
106,level106.dat,Bunkers
|
||||||
|
18,level8.5.dat,Look out above...
|
||||||
|
40,level40.dat,King Snail
|
||||||
|
41,level41.dat,Basic Kitchen
|
||||||
|
407,level407.dat,The Fly
|
||||||
|
404,level404.dat,Off Cuts
|
||||||
|
408,level408.dat,Around and Around
|
||||||
|
419,level419.dat,Snakes and Ladders
|
||||||
|
403,level403.dat,Delayed Release
|
||||||
|
405,level405.dat,Pitfalls
|
||||||
|
413,level413.dat,Three Parts
|
||||||
|
418,level418.dat,Grilled
|
||||||
|
415,level415.dat,Half Way
|
||||||
|
422,level422.dat,Hanging Gardens
|
||||||
|
421,level421.dat,Upwards and Onwards
|
||||||
|
406,level406.dat,The Kitchen Sink
|
||||||
|
411,level411.dat,Infested Pipes
|
||||||
|
42,level42.dat,Precarious Jumps
|
||||||
|
416,level416.dat,A Busy Day
|
||||||
|
414,level414.dat,Zig Zag
|
||||||
|
412,level412.dat,Test Tubes
|
||||||
|
420,level420.dat,Water Feature
|
||||||
|
60,level60.dat,King Fly
|
||||||
|
603,level603.dat,Ooooh!
|
||||||
|
604,level604.dat,Icy Poles
|
||||||
|
606,level606.dat,Icicle
|
||||||
|
601,level601.dat,Windswept Peak
|
||||||
|
602,level602.dat,Igloo
|
||||||
|
605,level605.dat,Frosty Towers
|
||||||
|
109,level109.dat,THE END SO FAR
|
||||||
|
99,level99.dat,TEST LEVEL
|
||||||
|
0,intro.dat,INTRO
|
Loading…
Reference in New Issue