pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs snow_generator.cxx,1.6,1.7


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs snow_generator.cxx,1.6,1.7
Date: 4 Mar 2003 12:53:49 -0000

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

Modified Files:
        snow_generator.cxx 
Log Message:
replaced:
EditorObjLst create_EditorObjs()
with
void insertEditorObjs(ObjectManager*)


Index: snow_generator.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/snow_generator.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- snow_generator.cxx  19 Feb 2003 17:17:01 -0000      1.6
+++ snow_generator.cxx  4 Mar 2003 12:53:47 -0000       1.7
@@ -59,12 +59,15 @@
 void
 SnowGenerator::on_startup()
 {
+  // FIXME: if snow should be available from start, this needs to get fixed to 
have the right amount of snow
+#if 0 
   for (int i = 0; i < 500; ++i) // FIXME: 500 is a random value, doesn't work 
very often
     {
       world->get_snow_particle_holder()->add_particle(rand() % 
world->get_width(), rand() % world->get_height());
       world->get_snow_particle_holder()->add_particle(rand() % 
world->get_width(), rand() % world->get_height());
       world->get_snow_particle_holder()->add_particle(rand() % 
world->get_width(), rand() % world->get_height(), true); 
-    }
+      }
+#endif
 }
 
 } // namespace WorldObjs





reply via email to

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