Revision: 8283
http://playerstage.svn.sourceforge.net/playerstage/?rev=8283&view=rev
Author: rtv
Date: 2009-10-07 22:17:06 +0000 (Wed, 07 Oct 2009)
Log Message:
-----------
tidying up
Modified Paths:
--------------
code/stage/trunk/libstage/world.cc
Modified: code/stage/trunk/libstage/world.cc
===================================================================
--- code/stage/trunk/libstage/world.cc 2009-10-07 22:12:06 UTC (rev 8282)
+++ code/stage/trunk/libstage/world.cc 2009-10-07 22:17:06 UTC (rev 8283)
@@ -463,10 +463,10 @@
FOR_EACH( it, cb_list )
{
if( (*it) == p )
- {
- cb_list.erase( it );
- break;
- }
+ {
+ cb_list.erase( it );
+ break;
+ }
}
// return the number of callbacks now in the list. Useful for
@@ -490,6 +490,8 @@
if( queue.empty() )
return;
+ printf( "event queue len %d\n", (int)queue.size() );
+
// update everything on the event queue that happens at this time or earlier
Event ev( queue.top() );
while( ev.time <= sim_time )
@@ -663,7 +665,6 @@
double globy( r.origin.y * ppm );
// record our starting position
- //const stg_point_t start( glob.x, glob.y );
const double startx( globx );
const double starty( globy );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit