forked from mtcontrib/leaftest
Print information about what it currently does
This commit is contained in:
parent
a5d3d2d9ec
commit
a470106c84
@ -84,7 +84,7 @@ rm -f ${tiledir}/20/*
|
|||||||
|
|
||||||
jobparam="-P$JOBNUM"
|
jobparam="-P$JOBNUM"
|
||||||
|
|
||||||
#create tile images
|
echo "Creating tile images with minetestmapper…"
|
||||||
for x in $(seq 0 $tilenum)
|
for x in $(seq 0 $tilenum)
|
||||||
do
|
do
|
||||||
for y in $(seq 0 $tilenum)
|
for y in $(seq 0 $tilenum)
|
||||||
@ -107,10 +107,12 @@ if [ $xargs_exit -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#join the images and make them smaller
|
# images are joined together and downscaled
|
||||||
|
echo "Generating lower resolution tile images…"
|
||||||
mult=1
|
mult=1
|
||||||
for s in $(seq 1 $zoomlevelnum)
|
for s in $(seq 1 $zoomlevelnum)
|
||||||
do
|
do
|
||||||
|
echo "$s/$zoomlevelnum …"
|
||||||
mult=$(($mult*2))
|
mult=$(($mult*2))
|
||||||
tnum=$(($tilenum/$mult-1))
|
tnum=$(($tilenum/$mult-1))
|
||||||
zoomlevel=$((20-$s))
|
zoomlevel=$((20-$s))
|
||||||
|
Loading…
Reference in New Issue
Block a user