pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r2915 - branches/pingus_sdl/src


From: plouj at BerliOS
Subject: [Pingus-CVS] r2915 - branches/pingus_sdl/src
Date: Tue, 14 Aug 2007 22:25:20 +0200

Author: plouj
Date: 2007-08-14 22:25:19 +0200 (Tue, 14 Aug 2007)
New Revision: 2915

Modified:
   branches/pingus_sdl/src/game_session.cpp
   branches/pingus_sdl/src/pingus_main.cpp
   branches/pingus_sdl/src/world.cpp
Log:
removed some more debug messages


Modified: branches/pingus_sdl/src/game_session.cpp
===================================================================
--- branches/pingus_sdl/src/game_session.cpp    2007-08-14 20:19:45 UTC (rev 
2914)
+++ branches/pingus_sdl/src/game_session.cpp    2007-08-14 20:25:19 UTC (rev 
2915)
@@ -30,6 +30,7 @@
 #include "result_screen.hpp"
 #include "savegame_manager.hpp"
 #include "globals.hpp"
+#include "debug.hpp"
 
 PingusGameSession::PingusGameSession (const PingusLevel& arg_plf, bool 
arg_show_result_screen)
   : plf(arg_plf),
@@ -51,7 +52,7 @@
   number_of_updates = 0;
 
   left_over_time = 0;
-  std::cout << "PingusGameSession" << std::endl;
+  pout(PINGUS_DEBUG_LOADING) << "PingusGameSession" << std::endl;
 }
 
 PingusGameSession::~PingusGameSession ()

Modified: branches/pingus_sdl/src/pingus_main.cpp
===================================================================
--- branches/pingus_sdl/src/pingus_main.cpp     2007-08-14 20:19:45 UTC (rev 
2914)
+++ branches/pingus_sdl/src/pingus_main.cpp     2007-08-14 20:25:19 UTC (rev 
2915)
@@ -761,11 +761,11 @@
     }
   else // start a normal game
     {
-      std::cout << "starting normal game" << std::endl;
+      pout(PINGUS_DEBUG_LOADING) << "starting normal game" << std::endl;
       ScreenManager::instance()->push_screen(PingusMenuManager::instance (), 
false);
       ///ScreenManager::instance()->push_screen(new StoryScreen(), true);
       //ScreenManager::instance()->push_screen(new DummyScreen(), true);
-      std::cout << "done: starting normal game" << std::endl;
+      pout(PINGUS_DEBUG_LOADING) << "done: starting normal game" << std::endl;
     }
 
   if (!render_preview)

Modified: branches/pingus_sdl/src/world.cpp
===================================================================
--- branches/pingus_sdl/src/world.cpp   2007-08-14 20:19:45 UTC (rev 2914)
+++ branches/pingus_sdl/src/world.cpp   2007-08-14 20:25:19 UTC (rev 2915)
@@ -36,6 +36,7 @@
 #include "worldobj_factory.hpp"
 #include "col_map.hpp"
 #include "game_time.hpp"
+#include "debug.hpp"
 
 
 using Actions::Bomber;
@@ -57,7 +58,7 @@
 {
   WorldObj::set_world(this);
 
-  std::cout << "create particle holder" << std::endl;
+  pout(PINGUS_DEBUG_ALL) << "create particle holder" << std::endl;
 
   // These get deleted via the world_obj vector in the destructor
   pingu_particle_holder = new Particles::PinguParticleHolder();





reply via email to

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