Remove a couple of archaic scripts.
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 14 Mar 2008 00:37:12 +0000 (00:37 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Fri, 14 Mar 2008 00:37:12 +0000 (00:37 +0000)
git-svn-id: https://s.snth.net/svn/neverball/trunk@1885 78b8d119-cf0a-0410-b17c-f493084dd1d7

scripts/gen-map-deps.sh [deleted file]
scripts/import-metadada.sh [deleted file]

diff --git a/scripts/gen-map-deps.sh b/scripts/gen-map-deps.sh
deleted file mode 100644 (file)
index 1c9d519..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-test -n "$1" && test -n "$2" || exit 1
-
-MAP=$1
-SOL=$(echo $1 | sed -e "s/\.map$/\.sol/")
-DATA=$2
-
-OBJS=$(grep -E "^\"model\"" $MAP | cut -d \" -f 4 | sort | uniq | \
-    sed -e "s,\\\\,/,g" -e "s,^,$DATA/,")
-
-echo "$SOL :" $OBJS
-echo
-echo "$OBJS" | sed -e "s/$/ :\n/"
-
diff --git a/scripts/import-metadada.sh b/scripts/import-metadada.sh
deleted file mode 100644 (file)
index 5bee79b..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-level=$1
-scores=$2
-author=$3
-tag=$4
-
-cat $level | while read sol back shot grad time goal song; do
-       echo -n "$file: "
-       file=data/${sol/.sol/}
-       name=`basename $file`
-       echo "name=$name$tag"
-
-       grep $name $scores > .t
-       read t0 c0 t1 c1 t2 c2 rest < .t
-       rm .t
-       echo "scores $t0 $c0 $t1 $c1 $t2 $c2"
-
-       if [ "$c2" == "$goal" ]; then
-               c2=$c1
-       fi
-
-       if grep -q '"back"' $file.map; then
-               echo skip ;
-       else
-               echo ok ;
-               ed $file.map <<FIN
-/"worldspawn"/
-a
-"author"    "$author"
-"levelname" "$name$tag"
-"version"   "1"
-
-"back"      "$back"
-"grad"      "$grad"
-"shot"      "$shot"
-"song"      "$song"
-"time"      "$time"
-"goal"      "$goal"
-
-"time_hs"   "$t0 $t2"
-"coin_hs"   "$c0 $c2"
-.
-w
-q
-FIN
-       fi
-done