[Top][All Lists]
[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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs snow_generator.cxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable basher-tutorial-grumbel.xml,1.2,1.3 miner-tutorial2-grumbel.xml,1.1,1.2 snow11-grumbel.xml,1.1,1.2 snow15-grumbel.xml,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx,1.6,1.7 ice_block_obj.cxx,1.5,1.6
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/data/levels/playable basher-tutorial-grumbel.xml,1.2,1.3 miner-tutorial2-grumbel.xml,1.1,1.2 snow11-grumbel.xml,1.1,1.2 snow15-grumbel.xml,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx,1.6,1.7 ice_block_obj.cxx,1.5,1.6
- Index(es):