button-animation.patch:

We need to loop animation on a button (affects animations, that are not
normally looped via xml resource description).

tinygettext.patch:

Without this patch, compilation fails on linux.


--

Tomáš Bláha

e-mail:   tomas.blaha at kapsa.cz
JabberID: tomiiik at jabber.cz
ICQ:      76239430
diff -Nur trunk/src/tinygettext.cxx trunk.new/src/tinygettext.cxx
--- trunk/src/tinygettext.cxx   2005-09-29 22:39:23.000000000 +0200
+++ trunk.new/src/tinygettext.cxx       2005-10-04 00:35:25.000000000 +0200
@@ -86,7 +86,7 @@
                size_t in_size = text.size();
                size_t out_size = 4*in_size; // Worst case scenario: ASCII -> 
UTF-32?
                std::string result(out_size, ' ');
-               const char* in_str = &text[0];
+               char* in_str = &text[0];
                char* out_str = &result[0];
  
                // Try to convert the text.
diff -Nur trunk/src/action_button.cxx trunk.new/src/action_button.cxx
--- trunk/src/action_button.cxx 2005-09-27 11:17:39.000000000 +0200
+++ trunk.new/src/action_button.cxx     2005-10-04 01:27:52.000000000 +0200
@@ -50,6 +50,7 @@
   font_b = Fonts::pingus_large;
 
   sprite = Resource::load_sprite("pingus/" + action_to_string(name) + 
"/right");
+  sprite.set_play_loop(true);
 }
 
 bool
_______________________________________________
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pingus-devel

Reply via email to