[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,1.5,1.6 |
Date: |
17 Aug 2002 17:56:25 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/backgrounds
In directory dark:/tmp/cvs-serv28473/backgrounds
Modified Files:
starfield_background.cxx
Log Message:
changed some postfix increments to prefix increments
Index: starfield_background.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/backgrounds/starfield_background.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- starfield_background.cxx 2 Jul 2002 10:42:38 -0000 1.5
+++ starfield_background.cxx 17 Aug 2002 17:56:23 -0000 1.6
@@ -179,13 +179,13 @@
int i = 0;
- for (i=0; i < small_stars_count; i++)
+ for (i=0; i < small_stars_count; ++i)
stars.push_back (StarfieldBackgroundStars
(StarfieldBackgroundStars::SMALL_STAR));
- for (i=0; i < middle_stars_count; i++)
+ for (i=0; i < middle_stars_count; ++i)
stars.push_back (StarfieldBackgroundStars
(StarfieldBackgroundStars::MIDDLE_STAR));
- for (i=0; i < large_stars_count; i++)
+ for (i=0; i < large_stars_count; ++i)
stars.push_back (StarfieldBackgroundStars
(StarfieldBackgroundStars::LARGE_STAR));
}
@@ -200,7 +200,7 @@
StarfieldBackground::update(float delta)
{
for (std::vector<StarfieldBackgroundStars>::iterator i = stars.begin ();
- i != stars.end (); i++)
+ i != stars.end (); ++i)
{
i->update (delta);
}
@@ -210,7 +210,7 @@
StarfieldBackground::draw_offset(int x_of, int y_of, float /*s*/)
{
for (std::vector<StarfieldBackgroundStars>::iterator i = stars.begin ();
- i != stars.end (); i++)
+ i != stars.end (); ++i)
{
i->draw_offset (x_of, y_of);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/backgrounds starfield_background.cxx,1.5,1.6,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src console.cxx,1.5,1.6 console.hxx,1.5,1.6 debug_stream.cxx,1.3,1.4 debug_stream.hxx,1.6,1.7
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.8,1.9
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src console.cxx,1.5,1.6 console.hxx,1.5,1.6 debug_stream.cxx,1.3,1.4 debug_stream.hxx,1.6,1.7
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.8,1.9
- Index(es):