]> git.cworth.org Git - kub/commitdiff
Resized blanktile now drawn in corner
authorKevin Worth <kworth@mac-mini.(none)>
Wed, 14 Feb 2007 19:59:58 +0000 (14:59 -0500)
committerKevin Worth <kworth@mac-mini.(none)>
Wed, 14 Feb 2007 19:59:58 +0000 (14:59 -0500)
kub.c
tiles/blanktile.svg

diff --git a/kub.c b/kub.c
index e11b87ecf29b117f30ff398c7632e9f89fea832c..d54021e0b3b2094eed1462ae39efc97d5aebd504 100644 (file)
--- 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);
 
index 64e07d68b44d6eaef3689c4265493dfb7fed12f1..08080def13f8e57900f3511b7b995601e23df658 100644 (file)
@@ -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>