Mercurial > hg > batmud > maputils
changeset 791:7da5b551d9e2
Use ImageMagick for scaling the world map image.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 13 Jun 2009 08:40:42 +0000 |
parents | 543e6a5e8637 |
children | f94c1d20de91 |
files | maps/Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/maps/Makefile Sat Jun 13 08:16:22 2009 +0000 +++ b/maps/Makefile Sat Jun 13 08:40:42 2009 +0000 @@ -25,7 +25,7 @@ for i in $(MAPLISTOFFS); do $(MKLOC_BIN) -v -L -l `echo "$$i"|sed "s/^\([^\.]*\).map:.*/\1.loc/"` -m `echo "$$i"|sed "s/^\([^:]*\):\([0-9]*\):\([0-9]*\)/\1 -x \2 -y \3/"`; done > $@ world.ppm: world.map - $(MAP2PPM_BIN) -s $(WORLDMAPSCALE) -v $< -o $@ + $(MAP2PPM_BIN) $< | convert ppm:- -resize "50%" $@ world.script: world.map world.loc $(MKLOC_BIN) -vnS -m $< -l $(patsubst %.map,%.loc,$<) -u $(WORLDUNITSIZE) -s $(WORLDMAPSCALE) | \