aboutsummaryrefslogtreecommitdiff
path: root/download-tilesets.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-12-22 14:53:44 +0200
committerkartofen <mladenovnasko0@gmail.com>2022-12-22 14:53:44 +0200
commit4c9fafc4c126af2466dc6c56b9c952f901a1c726 (patch)
tree16a7590ff005b1e49344836675731e86e2283bd7 /download-tilesets.sh
parent407e1bdc46fc3b4983aa95b3b270a017d631dc42 (diff)
better tileset configuration
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"