From 4c9fafc4c126af2466dc6c56b9c952f901a1c726 Mon Sep 17 00:00:00 2001 From: kartofen Date: Thu, 22 Dec 2022 14:53:44 +0200 Subject: better tileset configuration --- download-tilesets.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'download-tilesets.sh') 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" -- cgit v1.2.3