diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 14:53:44 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 14:53:44 +0200 |
commit | 4c9fafc4c126af2466dc6c56b9c952f901a1c726 (patch) | |
tree | 16a7590ff005b1e49344836675731e86e2283bd7 /download-tilesets.sh | |
parent | 407e1bdc46fc3b4983aa95b3b270a017d631dc42 (diff) |
better tileset configuration
Diffstat (limited to 'download-tilesets.sh')
-rwxr-xr-x | download-tilesets.sh | 3 |
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" |