Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2006, 10:34:43 AM (19 years ago)
Author:
amaechler
Message:


File:
1 edited

Legend:

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

    r8495 r8521  
    3939
    4040/* TODO:
    41   - test multiple rain emitters
     41  - test multiple rain emitters <-- doesn't work
    4242  - Think about what happens with building poss. to hang movewithcam off
    4343  - Possible to activate lightening
     
    207207        // increase sound volume
    208208        // this->soundSource.fadein(this->rainBuffer, 10);
     209
    209210    } else if ( this->rainFadeOutDuration != 0 ) {
    210211        if ( this->localTimer < this->rainFadeOutDuration ) {
     
    227228            // decrease sound volume
    228229            // this->soundSource.fadeout(this->rainBuffer, 10);
     230
    229231        } else
    230232            this->deactivate();
     
    258260
    259261}
     262
     263void RainEffect::hideRain() {
     264
     265  RainEffect::rainParticles->setColor(0, 0,0,0, 0);
     266  RainEffect::rainParticles->setColor(0, 0,0,0, 0);
     267
     268}
Note: See TracChangeset for help on using the changeset viewer.