Enlightenment CVS committal

Author  : davemds
Project : e_modules
Module  : penguins

Dir     : e_modules/penguins/themes/default


Modified Files:
        default.edc 


Log Message:
Add bomber animation

===================================================================
RCS file: /cvs/e/e_modules/penguins/themes/default/default.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- default.edc 20 Oct 2007 13:14:50 -0000      1.1
+++ default.edc 13 Nov 2007 15:51:17 -0000      1.2
@@ -142,7 +142,7 @@
    item: "Floater" "30 30 300"; //600
    item: "Walker" "30 30 150"; //90
    item: "Climber" "30 30 150";
-   //item: "Bomber" "30 30 0";
+   item: "Bomber" "32 32 0";
    item: "Splatter" "30 30 0";
    item: "Flyer" "30 30 200";
    
@@ -222,7 +222,7 @@
                        {
                                name: "penguins";
                                type: IMAGE;
-                               mouse_events: 0;
+                               mouse_events: 1;
                                description
                                {
                                        state: "default" 0.0;
@@ -357,8 +357,9 @@
                                {
                state: "bomber" 0.0;
                                        image { 
-                  normal: "bomber0.png";
-                                               tween: "bomber1.png";
+                  normal: "bomber15.png";
+                                               tween: "bomber0.png";
+                  tween: "bomber1.png";
                                                tween: "bomber2.png";
                                                tween: "bomber3.png";
                                                tween: "bomber4.png";
@@ -372,16 +373,15 @@
                                                tween: "bomber12.png";
                                                tween: "bomber13.png";
                                                tween: "bomber14.png";
-                                               tween: "bomber15.png";
-                                               
                                        }
                                }
             description
                                {
                                        state: "bomber" 1.0;
                                        image { 
-                  normal: "bomber0.png";
-                                               tween: "bomber1.png";
+                  normal: "bomber15.png";
+                                               tween: "bomber0.png";
+                  tween: "bomber1.png";
                                                tween: "bomber2.png";
                                                tween: "bomber3.png";
                                                tween: "bomber4.png";
@@ -395,7 +395,6 @@
                                                tween: "bomber12.png";
                                                tween: "bomber13.png";
                                                tween: "bomber14.png";
-                                               tween: "bomber15.png";
                                        }
                                }
             description
@@ -540,6 +539,30 @@
          target: "floating_right";
          }
       /****************************
+       * Mouse click
+       ****************************/
+      program
+                       {
+                               name: "left_click";
+                               signal: "mouse,down,1";
+                               source: "penguins";
+                               action: SIGNAL_EMIT "click_l" "penguins";
+         }
+      program
+                       {
+                               name: "center_click";
+                               signal: "mouse,down,2";
+                               source: "penguins";
+                               action: SIGNAL_EMIT "click_c" "penguins";
+         }
+      program
+                       {
+                               name: "right_click";
+                               signal: "mouse,down,3";
+                               source: "penguins";
+                               action: SIGNAL_EMIT "click_r" "penguins";
+         }
+      /****************************
        * Faller
        ****************************/
       program 
@@ -753,18 +776,10 @@
                                signal: "start_bombing_right";
                                source: "epenguins";
                                action: STATE_SET "bomber" 0.0;
-                               transition: LINEAR 0;
-                               target: "penguins";
-            after: "stop_all";
-                               after: "bombing_right";
-         }
-      program
-                       {
-                               name: "bombing_right";
-                               action: STATE_SET "bomber" 0.0;
                                transition: LINEAR 1;
                                target: "penguins";
-                               after: "bombing_right";
+            after: "stop_all";
+                               after: "bombing_done";
          }
       program
                        {
@@ -772,18 +787,15 @@
                                signal: "start_bombing_left";
                                source: "epenguins";
                                action: STATE_SET "bomber" 1.0;
-                               transition: LINEAR 0;
+                               transition: LINEAR 1;
                                target: "penguins";
             after: "stop_all";
-                               after: "bombing_left";
+                               after: "bombing_done";
          }
       program
-                       {
-                               name: "bombing_left";
-                               action: STATE_SET "bomber" 1.0;
-                               transition: LINEAR 1;
-                               target: "penguins";
-                               after: "bombing_left";
+         {
+            name: "bombing_done";
+            action: SIGNAL_EMIT "bombing_done" "edje";
          }
       /****************************
        * Splatter
@@ -817,7 +829,7 @@
          }
       /*****************************************
        * Customs programs
-       * Every teme must have this program set
+       * Every theme must have this program set
        *****************************************/ 
       program
          {



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to