aboutsummaryrefslogtreecommitdiff
path: root/download-tilesets.sh
diff options
context:
space:
mode:
Diffstat (limited to 'download-tilesets.sh')
-rwxr-xr-xdownload-tilesets.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/download-tilesets.sh b/download-tilesets.sh
index 2354890..f6e477b 100755
--- a/download-tilesets.sh
+++ b/download-tilesets.sh
@@ -4,6 +4,7 @@ cd ${0%/*} # go to project root
URL="https://ftp.batnako.net/tilesets"
+mkdir -p "files"
mkdir -p "files/tilesets"
function download {
@@ -15,6 +16,8 @@ function download {
for ((i=0; i<${#tiles[@]}; i++)); do image="${tiles[$i]}.ppm"
wget -O "$path/$image" "$URL/$name/$image"
done
+
+ wget -O "$path/tileset.h" "$URL/$name/tileset.h"
}
name="black-white"