Hi, this solves nonrepeating liquids. In the level files, there is specified number of repeats of liquid image in the <width> tag, but program expects width in px here. I have adjusted level files to px unit, but it can be alternatively solved by changing worldobjs/liquid.cxx. If so (i.e. better for the editor), let me know.
-- Tomáš Bláha e-mail: tomas.blaha at kapsa.cz JabberID: tomiiik at jabber.cz ICQ: 76239430
diff -Nur trunk/data/levels/tutorial/digger-tutorial2-grumbel.pingus trunk.new/data/levels/tutorial/digger-tutorial2-grumbel.pingus --- trunk/data/levels/tutorial/digger-tutorial2-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/digger-tutorial2-grumbel.pingus 2005-10-06 21:49:10.000000000 +0200 @@ -55,7 +55,7 @@ <y>629</y> <z>-50</z> </position> - <width>23</width> + <width>1472</width> <speed>55</speed> </liquid> <hotspot> @@ -766,7 +766,7 @@ <y>643</y> <z>50</z> </position> - <width>23</width> + <width>1472</width> <speed>60</speed> </liquid> <hotspot> diff -Nur trunk/data/levels/tutorial/jumper-tutorial-grumbel.pingus trunk.new/data/levels/tutorial/jumper-tutorial-grumbel.pingus --- trunk/data/levels/tutorial/jumper-tutorial-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/jumper-tutorial-grumbel.pingus 2005-10-06 21:52:55.000000000 +0200 @@ -81,7 +81,7 @@ <y>526</y> <z>-50</z> </position> - <width>20</width> + <width>1280</width> <speed>60</speed> </liquid> <hotspot> @@ -1222,7 +1222,7 @@ <y>538</y> <z>100</z> </position> - <width>21</width> + <width>1344</width> <speed>55</speed> </liquid> <hotspot> diff -Nur trunk/data/levels/tutorial/snow14-grumbel.pingus trunk.new/data/levels/tutorial/snow14-grumbel.pingus --- trunk/data/levels/tutorial/snow14-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow14-grumbel.pingus 2005-10-06 21:46:42.000000000 +0200 @@ -69,7 +69,7 @@ <y>935</y> <z>-50</z> </position> - <width>20</width> + <width>1280</width> <speed>55</speed> </liquid> <groundpiece> @@ -1270,7 +1270,7 @@ <y>944</y> <z>100</z> </position> - <width>20</width> + <width>1280</width> <speed>60</speed> </liquid> </objects> diff -Nur trunk/data/levels/tutorial/snow16-grumbel.pingus trunk.new/data/levels/tutorial/snow16-grumbel.pingus --- trunk/data/levels/tutorial/snow16-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow16-grumbel.pingus 2005-10-06 21:54:33.000000000 +0200 @@ -1029,7 +1029,7 @@ <y>522</y> <z>-50</z> </position> - <width>22</width> + <width>1408</width> <speed>55</speed> </liquid> <groundpiece> @@ -1067,7 +1067,7 @@ <y>537</y> <z>100</z> </position> - <width>22</width> + <width>1408</width> <speed>60</speed> </liquid> </objects> diff -Nur trunk/data/levels/tutorial/snow19-grumbel.pingus trunk.new/data/levels/tutorial/snow19-grumbel.pingus --- trunk/data/levels/tutorial/snow19-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow19-grumbel.pingus 2005-10-06 21:39:56.000000000 +0200 @@ -1792,7 +1792,7 @@ <y>927</y> <z>-50</z> </position> - <width>34</width> + <width>2176</width> <speed>55</speed> </liquid> <liquid> @@ -1805,7 +1805,7 @@ <y>940</y> <z>100</z> </position> - <width>34</width> + <width>2176</width> <speed>60</speed> </liquid> <hotspot> diff -Nur trunk/data/levels/tutorial/snow20-grumbel.pingus trunk.new/data/levels/tutorial/snow20-grumbel.pingus --- trunk/data/levels/tutorial/snow20-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow20-grumbel.pingus 2005-10-06 21:51:50.000000000 +0200 @@ -1136,7 +1136,7 @@ <y>526</y> <z>-50</z> </position> - <width>33</width> + <width>2112</width> <speed>55</speed> </liquid> <liquid> @@ -1149,7 +1149,7 @@ <y>539</y> <z>100</z> </position> - <width>33</width> + <width>2112</width> <speed>60</speed> </liquid> <hotspot> diff -Nur trunk/data/levels/tutorial/snow21-grumbel.pingus trunk.new/data/levels/tutorial/snow21-grumbel.pingus --- trunk/data/levels/tutorial/snow21-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow21-grumbel.pingus 2005-10-06 21:47:43.000000000 +0200 @@ -800,7 +800,7 @@ <y>527</y> <z>-50</z> </position> - <width>25</width> + <width>1600</width> <speed>55</speed> </liquid> <liquid> @@ -813,7 +813,7 @@ <y>540</y> <z>100</z> </position> - <width>25</width> + <width>1600</width> <speed>60</speed> </liquid> <hotspot> diff -Nur trunk/data/levels/tutorial/snow7-grumbel.pingus trunk.new/data/levels/tutorial/snow7-grumbel.pingus --- trunk/data/levels/tutorial/snow7-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow7-grumbel.pingus 2005-10-06 21:56:10.000000000 +0200 @@ -792,7 +792,7 @@ <y>525</y> <z>-50</z> </position> - <width>30</width> + <width>1920</width> <speed>55</speed> </liquid> <liquid> @@ -805,7 +805,7 @@ <y>538</y> <z>100</z> </position> - <width>30</width> + <width>1920</width> <speed>60</speed> </liquid> </objects> diff -Nur trunk/data/levels/tutorial/snow9-grumbel.pingus trunk.new/data/levels/tutorial/snow9-grumbel.pingus --- trunk/data/levels/tutorial/snow9-grumbel.pingus 2005-10-04 20:37:02.000000000 +0200 +++ trunk.new/data/levels/tutorial/snow9-grumbel.pingus 2005-10-06 21:50:18.000000000 +0200 @@ -82,7 +82,7 @@ <y>523</y> <z>-50</z> </position> - <width>25</width> + <width>1600</width> <speed>50</speed> </liquid> <hotspot> @@ -120,7 +120,7 @@ <y>537</y> <z>0</z> </position> - <width>25</width> + <width>1600</width> <speed>50</speed> </liquid> <groundpiece> diff -Nur trunk/data/levels/tutorial/solid-tutorial-grumbel.pingus trunk.new/data/levels/tutorial/solid-tutorial-grumbel.pingus --- trunk/data/levels/tutorial/solid-tutorial-grumbel.pingus 2005-09-27 11:17:52.000000000 +0200 +++ trunk.new/data/levels/tutorial/solid-tutorial-grumbel.pingus 2005-10-06 21:43:53.000000000 +0200 @@ -694,7 +694,7 @@ <y>625</y> <z>-50</z> </position> - <width>17</width> + <width>1088</width> <speed>55</speed> </liquid> <liquid> @@ -707,7 +707,7 @@ <y>638</y> <z>100</z> </position> - <width>17</width> + <width>1088</width> <speed>60</speed> </liquid> <hotspot>
_______________________________________________ Pingus-Devel mailing list Pingus-Devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/pingus-devel