Make flakes smaller by popular demand.
authorPalewolf
Fri, 31 Dec 2010 19:31:37 +0100
changeset 4795 d2f9f71b4491
parent 4794 71f636d91ecf
child 4796 40f29f4300aa
Make flakes smaller by popular demand.
hedgewars/GSHandlers.inc
share/hedgewars/Data/Graphics/Snow.png
share/hedgewars/Data/Graphics/Snow.svg
--- a/hedgewars/GSHandlers.inc	Fri Dec 31 04:08:57 2010 +0100
+++ b/hedgewars/GSHandlers.inc	Fri Dec 31 19:31:37 2010 +0100
@@ -629,7 +629,7 @@
                     begin
     ////////////////////////////////// TODO - ASK UNC0RR FOR A GOOD HOME FOR THIS ////////////////////////////////////
                     dec(yy,3);
-                    dec(xx,2);
+                    dec(xx,1);
                     s:= SpritesData[sprSnow].Surface;
                     p:= s^.pixels;
                     allpx:= true;
@@ -653,13 +653,8 @@
                         p:= @(p^[s^.pitch shr 2])
                         end;
                     
-                    for py:= (yy) to (yy+1) do
-                        begin
-                        for px:= (xx+2) to (xx+3) do
-                            begin
-                            Land[py, px]:= lfBasic;
-                            end;
-                        end;
+                    
+                    Land[py, px+1]:= lfBasic;
                     
                     if allpx then UpdateLandTexture(xx, Pred(s^.h), yy, Pred(s^.w))
                     else
Binary file share/hedgewars/Data/Graphics/Snow.png has changed
--- a/share/hedgewars/Data/Graphics/Snow.svg	Fri Dec 31 04:08:57 2010 +0100
+++ b/share/hedgewars/Data/Graphics/Snow.svg	Fri Dec 31 19:31:37 2010 +0100
@@ -13,8 +13,8 @@
    id="svg2"
    version="1.1"
    inkscape:version="0.48.0 r9654"
-   width="5"
-   height="5"
+   width="3"
+   height="3"
    sodipodi:docname="Snow.svg"
    inkscape:export-filename="/mnt/y/src/hedgewars/share/hedgewars/Data/Graphics/Snow.png"
    inkscape:export-xdpi="90"
@@ -27,7 +27,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title />
+        <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -36,15 +36,15 @@
     <linearGradient
        id="linearGradient3757">
       <stop
-         style="stop-color:#ffffff;stop-opacity:1;"
+         style="stop-color:#dce6f0;stop-opacity:1;"
          offset="0"
          id="stop3759" />
       <stop
          id="stop3765"
-         offset="0.47515857"
-         style="stop-color:#ffffff;stop-opacity:1;" />
+         offset="0.2429187"
+         style="stop-color:#dce6f0;stop-opacity:1;" />
       <stop
-         style="stop-color:#cedcea;stop-opacity:1;"
+         style="stop-color:#ffffff;stop-opacity:1;"
          offset="1"
          id="stop3761" />
     </linearGradient>
@@ -52,12 +52,13 @@
        inkscape:collect="always"
        xlink:href="#linearGradient3757"
        id="radialGradient3763"
-       cx="2.9785273"
-       cy="2.015959"
-       fx="2.9785273"
-       fy="2.015959"
+       cx="2.6450942"
+       cy="3.2419963"
+       fx="2.6450942"
+       fy="3.2419963"
        r="2.6945455"
-       gradientUnits="userSpaceOnUse" />
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1,0,0,0.95584669,0,0.10793976)" />
   </defs>
   <sodipodi:namedview
      pagecolor="#ffffff"
@@ -72,9 +73,9 @@
      inkscape:window-height="770"
      id="namedview4"
      showgrid="false"
-     inkscape:zoom="45.254834"
-     inkscape:cx="3.4892683"
-     inkscape:cy="1.3238902"
+     inkscape:zoom="64"
+     inkscape:cx="1.8295265"
+     inkscape:cy="0.046304751"
      inkscape:window-x="169"
      inkscape:window-y="99"
      inkscape:window-maximized="0"
@@ -88,5 +89,5 @@
      sodipodi:rx="2.6945455"
      sodipodi:ry="2.6945455"
      d="m 5.4545455,2.8036363 a 2.6945455,2.6945455 0 1 1 -5.38909102,0 2.6945455,2.6945455 0 1 1 5.38909102,0 z"
-     transform="matrix(0.92780025,0,0,0.92780025,-0.06072869,-0.10121454)" />
+     transform="matrix(0.55668015,0,0,0.55668015,-0.03643721,-0.06072873)" />
 </svg>