From dfaf70f6cb232c58423c8cb72b4e8d8910b0cc18 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Tue, 2 Dec 2008 22:05:17 +0000 Subject: [PATCH] Added files for new website area --- getname.sh | 21 ++++++++++++++ pub.sh | 1 + website/index.php | 6 ++-- website/levels.php | 32 +++++++++++++++++++++ website/map.dat | 69 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 126 insertions(+), 3 deletions(-) create mode 100755 getname.sh create mode 100644 website/levels.php create mode 100644 website/map.dat diff --git a/getname.sh b/getname.sh new file mode 100755 index 0000000..558fb28 --- /dev/null +++ b/getname.sh @@ -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 diff --git a/pub.sh b/pub.sh index 9b427a9..e781747 100755 --- a/pub.sh +++ b/pub.sh @@ -4,5 +4,6 @@ echo "" >>website/currentrev.php scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/ +cp data/map.dat website/ cd website svn commit -m "Published new app to web site" diff --git a/website/index.php b/website/index.php index e92fb02..b045da7 100644 --- a/website/index.php +++ b/website/index.php @@ -13,9 +13,6 @@ nethack.net - ratcatcher A platform game inspired by Bubble Bubble, Rodland, Snow Bros and the like.

Screenshots

- - - + + +
Current Version
@@ -45,6 +42,9 @@ A platform game inspired by Bubble Bubble, Rodland, Snow Bros and the like.
See all levels

Download

This game is currently still incomplete, however the latest version of the OSX application (r) is here:
diff --git a/website/levels.php b/website/levels.php new file mode 100644 index 0000000..a406a04 --- /dev/null +++ b/website/levels.php @@ -0,0 +1,32 @@ + + +nethack.net - ratcatcher level screenshots + + +
+
+

Rat Catcher Levels

+
+ + +
+ diff --git a/website/map.dat b/website/map.dat new file mode 100644 index 0000000..9fa64f0 --- /dev/null +++ b/website/map.dat @@ -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