pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.4,1.5 bomber.hxx


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.4,1.5 bomber.hxx,1.5,1.6
Date: 2 Jul 2002 21:46:38 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv23315/src/actions

Modified Files:
        bomber.cxx bomber.hxx 
Log Message:
Removed obsolet file

Index: bomber.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- bomber.cxx  2 Jul 2002 13:36:06 -0000       1.4
+++ bomber.cxx  2 Jul 2002 21:46:36 -0000       1.5
@@ -113,4 +113,13 @@
     }
 }
 
+void
+Bomber::update_position(float delta)
+{
+  // Apply all forces
+  pingu->velocity = ForcesHolder::apply_forces(pingu->pos, pingu->velocity);
+  // FIXME:
+  pingu->pos += pingu->velocity;
+}
+
 /* EOF */

Index: bomber.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bomber.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- bomber.hxx  28 Jun 2002 15:12:22 -0000      1.5
+++ bomber.hxx  2 Jul 2002 21:46:36 -0000       1.6
@@ -49,6 +49,7 @@
   ActionType get_activation_mode() const { return COUNTDOWN_TRIGGERED; }
   void   draw_offset(int x, int y, float s);
   void   update(float delta);
+  void   update_position(float delta);
   int    activation_time() { return 50; }
 };
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]