[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/input axis_scroller.cxx,1.3,1.4 multi
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/input axis_scroller.cxx,1.3,1.4 multiple_pointer.cxx,1.5,1.6 |
Date: |
17 Aug 2002 17:56:27 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/input
In directory dark:/tmp/cvs-serv28473/input
Modified Files:
axis_scroller.cxx multiple_pointer.cxx
Log Message:
changed some postfix increments to prefix increments
Index: axis_scroller.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/axis_scroller.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- axis_scroller.cxx 14 Aug 2002 12:41:22 -0000 1.3
+++ axis_scroller.cxx 17 Aug 2002 17:56:24 -0000 1.4
@@ -34,7 +34,7 @@
AxisScroller::~AxisScroller ()
{
- for (unsigned int i=0; i < axes.size(); i++)
+ for (unsigned int i=0; i < axes.size(); ++i)
delete axes[i];
}
Index: multiple_pointer.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/multiple_pointer.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- multiple_pointer.cxx 14 Aug 2002 12:41:22 -0000 1.5
+++ multiple_pointer.cxx 17 Aug 2002 17:56:24 -0000 1.6
@@ -31,7 +31,7 @@
MultiplePointer::~MultiplePointer ()
{
- for (unsigned int i = 0; i < pointers.size(); i++)
+ for (unsigned int i = 0; i < pointers.size(); ++i)
delete pointers[i];
}
@@ -50,7 +50,7 @@
void
MultiplePointer::set_pos (float x_pos, float y_pos)
{
- for (unsigned int i = 0; i < pointers.size(); i++)
+ for (unsigned int i = 0; i < pointers.size(); ++i)
pointers[i]->set_pos(x_pos, y_pos);
}
@@ -59,10 +59,10 @@
{
unsigned int do_break = UINT_MAX;
- for (unsigned int i = 0; i < pointers.size(); i++)
+ for (unsigned int i = 0; i < pointers.size(); ++i)
pointers[i]->update(delta);
- for (unsigned int i = 0; i < pointers.size(); i++)
+ for (unsigned int i = 0; i < pointers.size(); ++i)
{
if (pointers[i]->get_x_pos() != old_x_pos)
{
@@ -86,7 +86,7 @@
if (do_break == UINT_MAX)
return;
- for (unsigned int n = 0; n < pointers.size(); n++)
+ for (unsigned int n = 0; n < pointers.size(); ++n)
if (n != do_break)
pointers[n]->set_pos(x_pos, y_pos);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/input axis_scroller.cxx,1.3,1.4 multiple_pointer.cxx,1.5,1.6,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/generic list_helper.hxx,1.3,1.4
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/particles particle_cache.cxx,1.2,1.3 particle_holder.cxx,1.1,1.2
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/generic list_helper.hxx,1.3,1.4
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/particles particle_cache.cxx,1.2,1.3 particle_holder.cxx,1.1,1.2
- Index(es):