From: Kevin Worth <kworth@mac-mini.(none)> Date: Wed, 14 Feb 2007 19:59:58 +0000 (-0500) Subject: Resized blanktile now drawn in corner X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=80b6a1c597be60ae3c068041a72a8cfa9430032e;p=kub Resized blanktile now drawn in corner --- diff --git a/kub.c b/kub.c index e11b87e..d54021e 100644 --- a/kub.c +++ b/kub.c @@ -358,7 +358,7 @@ int main(int argc, char *argv[]) game_init(&game); deck_print(&game.deck); - deck_deal(&game, &game.deck); + //deck_deal(&game, &game.deck); hand_print(&game); deck_print(&game.deck); diff --git a/tiles/blanktile.svg b/tiles/blanktile.svg index 64e07d6..08080de 100644 --- a/tiles/blanktile.svg +++ b/tiles/blanktile.svg @@ -1,35 +1,75 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg xmlns="http://www.w3.org/2000/svg" - width="744.09448819" - height="1052.3622047" > - <rect - id="tile" - style="fill:#ffffe4;fill-opacity:0.75;stroke:#b2964a;stroke-width:1" - width="74.751289" - height="103.03556" - x="86.016472" - y="66.4533" /> - <g - id="sun" - style="fill:#ffffe4;fill-opacity:0.75;stroke:#b2964a;stroke-width:1" - transform="translate(-2.348433,-2.818119)"> - <!-- Triangular rays around the sun --> - <path - d="M 139.38034,162.33228 L 132.916,161.60434 L 131.18921,168.5345 L 125.8984,164.2523 L 120.91689,168.73756 L 119.6583,162.38682 L 112.48703,162.86394 L 114.80783,156.12386 L 109.11958,153.15712 L 114.8007,149.75492 L 112.10076,143.3248 L 119.03117,143.60194 L 120.29189,137.12259 L 125.36176,141.10086 L 130.56421,136.91952 L 132.1242,143.32475 L 138.99407,142.79315 L 136.39722,148.95452 L 142.36152,152.49996 L 136.64051,156.25356 L 139.38034,162.33228 z " /> - <!-- The circle of the sun itself --> - <path - transform="matrix(0.98685,-0.161642,0.161642,0.98685,-19.31536,24.84557)" - d="M 133.69581 149.74696 A 11.234941 11.234941 0 1 1 111.22593,149.74696 A 11.234941 11.234941 0 1 1 133.69581 149.74696 z" /> - <!-- The right eye of the sun --> - <path - transform="translate(9.112005,3.852231)" - d="M 121.49343 146.01378 A 1.5186679 1.6668305 0 1 1 118.45609,146.01378 A 1.5186679 1.6668305 0 1 1 121.49343 146.01378 z" /> - <!-- The left eye of the sun --> - <path - transform="translate(2.407652,3.667036)" - d="M 121.49343 146.01378 A 1.5186679 1.6668305 0 1 1 118.45609,146.01378 A 1.5186679 1.6668305 0 1 1 121.49343 146.01378 z" /> - <!-- The sun's grumpy mouth --> - <path - d="M 119.78955,156.19997 C 119.78296,156.70099 120.16156,156.94238 120.60445,157.38527 C 120.83248,157.61331 121.18299,157.78567 121.41934,157.90384 C 122.00513,158.19674 122.87596,158.05201 123.5677,158.05201 C 124.43595,158.05201 124.64727,157.91967 125.41974,157.53344 C 125.86375,157.31143 126.22871,157.01783 126.67912,156.79262 C 127.13862,156.56287 127.62672,156.57811 128.08667,156.34813 C 128.38261,156.20017 129.25716,156.34443 129.56829,156.42222 C 130.05387,156.54361 130.68093,156.8231 131.124,157.08895 C 131.41598,157.26413 131.6912,157.59827 131.86482,157.82976 C 131.97287,157.97384 132.09156,158.06099 132.16115,158.20017" /> - </g> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://web.resource.org/cc/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="544" + height="852" + id="svg1421" + sodipodi:version="0.32" + inkscape:version="0.43" + sodipodi:docname="blanktile.svg" + sodipodi:docbase="/home/kworth/kub/tiles"> + <metadata + id="metadata1438"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs1436" /> + <sodipodi:namedview + inkscape:window-height="543" + inkscape:window-width="791" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base" + inkscape:zoom="7.3333333" + inkscape:cx="38.113495" + inkscape:cy="827" + inkscape:window-x="5" + inkscape:window-y="25" + inkscape:current-layer="svg1421" /> + <rect + id="tile" + style="fill:#ffffe4;fill-opacity:0.75;stroke:#b2964a;stroke-width:1" + width="35" + height="50" + x="0" + y="0" /> + <g + id="sun" + style="fill:#ffffe4;fill-opacity:0.75;stroke:#b2964a;stroke-width:1" + transform="matrix(0.5905,0,0,0.5905,-56.74979,-52.44054)"> +<!-- Triangular rays around the sun --> <path + d="M 139.38034,162.33228 L 132.916,161.60434 L 131.18921,168.5345 L 125.8984,164.2523 L 120.91689,168.73756 L 119.6583,162.38682 L 112.48703,162.86394 L 114.80783,156.12386 L 109.11958,153.15712 L 114.8007,149.75492 L 112.10076,143.3248 L 119.03117,143.60194 L 120.29189,137.12259 L 125.36176,141.10086 L 130.56421,136.91952 L 132.1242,143.32475 L 138.99407,142.79315 L 136.39722,148.95452 L 142.36152,152.49996 L 136.64051,156.25356 L 139.38034,162.33228 z " + id="path1425" /> +<!-- The circle of the sun itself --> <path + transform="matrix(0.98685,-0.161642,0.161642,0.98685,-19.31536,24.84557)" + d="M 133.69581,149.74696 C 133.69843,155.9537 128.66761,160.98664 122.46087,160.98664 C 116.25413,160.98664 111.22331,155.9537 111.22593,149.74696 C 111.22331,143.54022 116.25413,138.50728 122.46087,138.50728 C 128.66761,138.50728 133.69843,143.54022 133.69581,149.74696 z " + id="path1427" /> +<!-- The right eye of the sun --> <path + transform="translate(9.112005,3.852231)" + d="M 121.49343,146.01378 C 121.49343,146.93435 120.8135,147.68061 119.97476,147.68061 C 119.13602,147.68061 118.45609,146.93435 118.45609,146.01378 C 118.45609,145.09321 119.13602,144.34695 119.97476,144.34695 C 120.8135,144.34695 121.49343,145.09321 121.49343,146.01378 z " + id="path1429" /> +<!-- The left eye of the sun --> <path + transform="translate(2.407652,3.667036)" + d="M 121.49343,146.01378 C 121.49343,146.93435 120.8135,147.68061 119.97476,147.68061 C 119.13602,147.68061 118.45609,146.93435 118.45609,146.01378 C 118.45609,145.09321 119.13602,144.34695 119.97476,144.34695 C 120.8135,144.34695 121.49343,145.09321 121.49343,146.01378 z " + id="path1431" /> +<!-- The sun's grumpy mouth --> <path + d="M 119.78955,156.19997 C 119.78296,156.70099 120.16156,156.94238 120.60445,157.38527 C 120.83248,157.61331 121.18299,157.78567 121.41934,157.90384 C 122.00513,158.19674 122.87596,158.05201 123.5677,158.05201 C 124.43595,158.05201 124.64727,157.91967 125.41974,157.53344 C 125.86375,157.31143 126.22871,157.01783 126.67912,156.79262 C 127.13862,156.56287 127.62672,156.57811 128.08667,156.34813 C 128.38261,156.20017 129.25716,156.34443 129.56829,156.42222 C 130.05387,156.54361 130.68093,156.8231 131.124,157.08895 C 131.41598,157.26413 131.6912,157.59827 131.86482,157.82976 C 131.97287,157.97384 132.09156,158.06099 132.16115,158.20017" + id="path1433" /> + </g> </svg>