[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.6,1.7
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.6,1.7 particle_holder.hxx,1.5,1.6 |
Date: |
1 Oct 2002 19:53:47 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/particles
In directory dark:/tmp/cvs-serv24138/particles
Modified Files:
particle_holder.cxx particle_holder.hxx
Log Message:
- riped 'float delta' out of the engine code
- some worldmap stuff
Index: particle_holder.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/particles/particle_holder.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- particle_holder.cxx 29 Sep 2002 20:45:31 -0000 1.6
+++ particle_holder.cxx 1 Oct 2002 19:53:45 -0000 1.7
@@ -36,8 +36,10 @@
}
void
-ParticleHolder::update (float delta)
+ParticleHolder::update ()
{
+ float delta = 0.025f;
+
for(std::list<Particle*>::iterator i = this->begin(); i != this->end(); ++i)
{
if ((*i)->is_alive())
Index: particle_holder.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/particles/particle_holder.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- particle_holder.hxx 27 Sep 2002 11:26:49 -0000 1.5
+++ particle_holder.hxx 1 Oct 2002 19:53:45 -0000 1.6
@@ -37,7 +37,7 @@
ParticleHolder ();
virtual ~ParticleHolder ();
- void update (float delta);
+ void update ();
void draw_offset (int, int, float); /// const;
void draw (GraphicContext& gc); /// const;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.6,1.7 particle_holder.hxx,1.5,1.6,
grumbel <=
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap graph.hxx,1.12,1.13 worldmap.cxx,1.14,1.15 worldmap.hxx,1.13,1.14
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldmap graph.hxx,1.12,1.13 worldmap.cxx,1.14,1.15 worldmap.hxx,1.13,1.14
- Index(es):