From: <the...@us...> - 2008-06-01 22:06:28
|
Revision: 141 http://qonk.svn.sourceforge.net/qonk/?rev=141&view=rev Author: thebohemian Date: 2008-06-01 15:06:26 -0700 (Sun, 01 Jun 2008) Log Message: ----------- - revert some silly debug code Modified Paths: -------------- trunk/src/engine/Makefile trunk/src/engine/planets.cpp Modified: trunk/src/engine/Makefile =================================================================== --- trunk/src/engine/Makefile 2008-06-01 21:56:50 UTC (rev 140) +++ trunk/src/engine/Makefile 2008-06-01 22:06:26 UTC (rev 141) @@ -220,9 +220,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/engine/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/engine/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/engine/Makefile + $(AUTOMAKE) --gnu src/engine/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ Modified: trunk/src/engine/planets.cpp =================================================================== --- trunk/src/engine/planets.cpp 2008-06-01 21:56:50 UTC (rev 140) +++ trunk/src/engine/planets.cpp 2008-06-01 22:06:26 UTC (rev 141) @@ -19,10 +19,8 @@ Planet::Planet() : nearestPlanet(false), owner(), mother() { -// rotationSpeed = ( ( rand() % 2 ) * 2 - 1 ) * ( rand() % 60000 + 20000 ); - rotationSpeed = 1000; -// rotationDistance = 0.05 + 0.4 * ( double )rand() / RAND_MAX; - rotationDistance = 0.1; + rotationSpeed = ( ( rand() % 2 ) * 2 - 1 ) * ( rand() % 60000 + 20000 ); + rotationDistance = 0.05 + 0.4 * ( double )rand() / RAND_MAX; rotationOffset = rand() % 10000000; size = 4 + rand() % 4; // [4 ... 8) isAMoon = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |