Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2006, 1:43:24 PM (18 years ago)
Author:
amaechler
Message:

atmospheric: void etc bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.cc

    r8455 r8457  
    9696        this->particles = 12000;
    9797        this->texture = "maps/snow_flake_01_32x32.png";
    98         this->life = 8;
     98        this->snowLife = 8;
    9999        this->randomLife = 2;
    100100        this->snowRadius = 3.5;
     
    122122        SnowEffect::snowParticles->setName("SnowEffectTrailParticles");
    123123        SnowEffect::snowParticles->setMaterialTexture(texture);
    124         SnowEffect::snowParticles->setLifeSpan(life, randomLife);
     124        SnowEffect::snowParticles->setLifeSpan(snowLife, randomLife);
    125125        SnowEffect::snowParticles->setRadius(0.0, snowRadius, randomRadius);
    126126        SnowEffect::snowParticles->setRadius(0.2, snowRadius, randomRadius*0.8);
     
    139139        this->emitter->setSize(snowSize);
    140140
    141         // SnowEffect::snowParticles->precache(8);
     141  SnowEffect::snowParticles->precache((int) this->snowLife);
    142142
    143143        if (this->snowWindForce > 1)
Note: See TracChangeset for help on using the changeset viewer.