[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.3,1.4
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.3,1.4 |
Date: |
4 Sep 2002 19:40:22 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/particles
In directory dark:/tmp/cvs-serv28686/particles
Modified Files:
particle_holder.cxx
Log Message:
some more GC adds
Index: particle_holder.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/particles/particle_holder.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- particle_holder.cxx 4 Sep 2002 17:49:48 -0000 1.3
+++ particle_holder.cxx 4 Sep 2002 19:40:20 -0000 1.4
@@ -66,7 +66,10 @@
{
for(std::list<Particle*>::iterator i = this->begin(); i != this->end(); ++i)
{
- (*i)->draw_offset (int(gc.get_x_offset ()), int(gc.get_y_offset ()),
gc.get_zoom ());
+ // FIXME: ugly... should use gc instead
+ (*i)->draw_offset (int(gc.get_x_offset () + (gc.get_width ()/2)),
+ int(gc.get_y_offset () + (gc.get_height ()/2)),
+ gc.get_zoom ());
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/particles particle_holder.cxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src display_graphic_context.cxx,NONE,1.1 display_graphic_context.hxx,NONE,1.1 graphic_context.hxx,NONE,1.1 Makefile.am,1.92,1.93 console.hxx,1.8,1.9 playfield_view.hxx,1.3,1.4 view.cxx,1.7,1.8 view.hxx,1.6,1.7 world.cxx,1.19,1.20 world.hxx,1.8,1.9 worldobj.cxx,1.4,1.5 worldobj.hxx,1.5,1.6
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds surface_background.cxx,1.5,1.6 surface_background.hxx,1.5,1.6
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src display_graphic_context.cxx,NONE,1.1 display_graphic_context.hxx,NONE,1.1 graphic_context.hxx,NONE,1.1 Makefile.am,1.92,1.93 console.hxx,1.8,1.9 playfield_view.hxx,1.3,1.4 view.cxx,1.7,1.8 view.hxx,1.6,1.7 world.cxx,1.19,1.20 world.hxx,1.8,1.9 worldobj.cxx,1.4,1.5 worldobj.hxx,1.5,1.6
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds surface_background.cxx,1.5,1.6 surface_background.hxx,1.5,1.6
- Index(es):