pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r3603 - trunk/pingus/src


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3603 - trunk/pingus/src
Date: Tue, 1 Jul 2008 01:11:53 +0200

Author: grumbel
Date: 2008-07-01 01:11:51 +0200 (Tue, 01 Jul 2008)
New Revision: 3603

Modified:
   trunk/pingus/src/game_session.cpp
   trunk/pingus/src/game_session.hpp
Log:
Removed some old junk

Modified: trunk/pingus/src/game_session.cpp
===================================================================
--- trunk/pingus/src/game_session.cpp   2008-06-30 23:09:26 UTC (rev 3602)
+++ trunk/pingus/src/game_session.cpp   2008-06-30 23:11:51 UTC (rev 3603)
@@ -40,7 +40,6 @@
   // the world is initially on time
   world_delay = 0;
 
-  left_over_time = 0;
   pout(PINGUS_DEBUG_LOADING) << "GameSession" << std::endl;
 }
 
@@ -109,7 +108,6 @@
       // how much time each world update represents
       int update_time = game_speed;
 
-      //left_over_time = 0;
       if (0){
         int i;
         for (i = 0;
@@ -138,9 +136,6 @@
       // so that we can account for that while updating in the next frame
       world_delay = time_passed - (world_updates*update_time);
 
-      // Time that got not used for updates
-      //left_over_time = time_passed - (i * update_time);
-
       // Client is independend of the update limit, well, not completly...
       client->update(delta);
     }

Modified: trunk/pingus/src/game_session.hpp
===================================================================
--- trunk/pingus/src/game_session.hpp   2008-06-30 23:09:26 UTC (rev 3602)
+++ trunk/pingus/src/game_session.hpp   2008-06-30 23:11:51 UTC (rev 3603)
@@ -44,10 +44,6 @@
   /// The client
   std::auto_ptr<Client> client;
 
-  /** Time in 1/1000 second's that was not used in the last
-      update() */
-  int left_over_time;
-
   int world_delay; ///< how many milliseconds is the world behind the actual 
time
 
 public:





reply via email to

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