# HG changeset patch # User Adrianna PiƄska # Date 1315748936 -7200 # Node ID fb21519471e7e5a7c3f8a1920bc42932a68750a9 # Parent d09f63429b8010ee68391b4a1e986740e4e8df0a moved things around diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-body-h.png Binary file data/tiles/common/snake-body-h.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-body-v.png Binary file data/tiles/common/snake-body-v.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-corner-bl.png Binary file data/tiles/common/snake-corner-bl.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-corner-br.png Binary file data/tiles/common/snake-corner-br.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-corner-tl.png Binary file data/tiles/common/snake-corner-tl.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-corner-tr.png Binary file data/tiles/common/snake-corner-tr.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-d.png Binary file data/tiles/common/snake-head-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-l.png Binary file data/tiles/common/snake-head-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-mouth-open-d.png Binary file data/tiles/common/snake-head-mouth-open-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-mouth-open-l.png Binary file data/tiles/common/snake-head-mouth-open-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-mouth-open-r.png Binary file data/tiles/common/snake-head-mouth-open-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-mouth-open-u.png Binary file data/tiles/common/snake-head-mouth-open-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-r.png Binary file data/tiles/common/snake-head-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-tongue-d.png Binary file data/tiles/common/snake-head-tongue-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-tongue-l.png Binary file data/tiles/common/snake-head-tongue-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-tongue-r.png Binary file data/tiles/common/snake-head-tongue-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-tongue-u.png Binary file data/tiles/common/snake-head-tongue-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-head-u.png Binary file data/tiles/common/snake-head-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-tail-d.png Binary file data/tiles/common/snake-tail-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-tail-l.png Binary file data/tiles/common/snake-tail-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-tail-r.png Binary file data/tiles/common/snake-tail-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake-tail-u.png Binary file data/tiles/common/snake-tail-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-body-h.png Binary file data/tiles/common/snake/snake-body-h.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-body-v.png Binary file data/tiles/common/snake/snake-body-v.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-corner-bl.png Binary file data/tiles/common/snake/snake-corner-bl.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-corner-br.png Binary file data/tiles/common/snake/snake-corner-br.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-corner-tl.png Binary file data/tiles/common/snake/snake-corner-tl.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-corner-tr.png Binary file data/tiles/common/snake/snake-corner-tr.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-d.png Binary file data/tiles/common/snake/snake-head-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-l.png Binary file data/tiles/common/snake/snake-head-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-mouth-open-d.png Binary file data/tiles/common/snake/snake-head-mouth-open-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-mouth-open-l.png Binary file data/tiles/common/snake/snake-head-mouth-open-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-mouth-open-r.png Binary file data/tiles/common/snake/snake-head-mouth-open-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-mouth-open-u.png Binary file data/tiles/common/snake/snake-head-mouth-open-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-r.png Binary file data/tiles/common/snake/snake-head-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-tongue-d.png Binary file data/tiles/common/snake/snake-head-tongue-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-tongue-l.png Binary file data/tiles/common/snake/snake-head-tongue-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-tongue-r.png Binary file data/tiles/common/snake/snake-head-tongue-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-tongue-u.png Binary file data/tiles/common/snake/snake-head-tongue-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-head-u.png Binary file data/tiles/common/snake/snake-head-u.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-tail-d.png Binary file data/tiles/common/snake/snake-tail-d.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-tail-l.png Binary file data/tiles/common/snake/snake-tail-l.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-tail-r.png Binary file data/tiles/common/snake/snake-tail-r.png has changed diff -r d09f63429b80 -r fb21519471e7 data/tiles/common/snake/snake-tail-u.png Binary file data/tiles/common/snake/snake-tail-u.png has changed diff -r d09f63429b80 -r fb21519471e7 scripts/make_pngs.sh --- a/scripts/make_pngs.sh Sun Sep 11 15:47:47 2011 +0200 +++ b/scripts/make_pngs.sh Sun Sep 11 15:48:56 2011 +0200 @@ -2,15 +2,18 @@ tilesize=20 svgdir=source/svg -common=data/tiles/common +pngdir=data/tiles -for x in $svgdir/*.svg +for subdir in common/snake do - filename=`basename $x` - rsvg-convert $x -w $tilesize -h $tilesize -o $common/${filename/svg/png} + for x in $svgdir/$subdir/*.svg + do + filename=`basename $x` + rsvg-convert $x -w $tilesize -h $tilesize -o $pngdir/$subdir/${filename/svg/png} + done done -for tiledir in $common +for tiledir in $pngdir/common/snake do for hv in $tiledir/*-v.png do diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-body-v.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-body-v.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-corner-tl.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-corner-tl.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-head-mouth-open-r.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-head-mouth-open-r.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-head-r.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-head-r.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-head-tongue-r.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-head-tongue-r.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/common/snake/snake-tail-r.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/snake/snake-tail-r.svg Sun Sep 11 15:48:56 2011 +0200 @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-body-v.svg --- a/source/svg/snake-body-v.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-corner-tl.svg --- a/source/svg/snake-corner-tl.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-head-mouth-open-r.svg --- a/source/svg/snake-head-mouth-open-r.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-head-r.svg --- a/source/svg/snake-head-r.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-head-tongue-r.svg --- a/source/svg/snake-head-tongue-r.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - diff -r d09f63429b80 -r fb21519471e7 source/svg/snake-tail-r.svg --- a/source/svg/snake-tail-r.svg Sun Sep 11 15:47:47 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - -