Some minor changes.

This commit is contained in:
spartanj
2011-03-09 13:59:11 -03:00
parent 89dc42c352
commit a8a61e4f16
14 changed files with 73 additions and 68 deletions

View File

@@ -1429,6 +1429,8 @@ void cEETest::End() {
eeSAFE_DELETE( mBoxSprite );
eeSAFE_DELETE( mCircleSprite );
mResLoad.Unload();
cLog::instance()->Save();
cEngine::DestroySingleton();
@@ -1440,7 +1442,7 @@ void cEETest::ParticlesCallback(cParticle* P, cParticleSystem* Me) {
x = Me->X() + radio * cos( (eeFloat)P->Id() );
y = Me->Y() + radio * sin( (eeFloat)P->Id() );
P->Reset(x, y, eeRandf(-10.f, 10.f), eeRandf(-10.f, 10.f), eeRandf(-10.f, 10.f), eeRandf(-10.f, 10.f));
P->SetColor( eeColorAf(1.f, 0.6f, 0.3f, 1.f), 0.02f + eeRandf() * 0.3f );
P->Color( eeColorAf(1.f, 0.6f, 0.3f, 1.f), 0.02f + eeRandf() * 0.3f );
}
void cEETest::Particles() {