Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 8:03:04 AM (18 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: ups, forgot that

File:
1 edited

Legend:

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

    r8119 r8180  
    3939                inline void activateRain() { this->activate(); }
    4040                inline void deactivateRain() { this->deactivate(); }
     41                void startRaining();
    4142
    4243                inline void setRainCoord(float x, float y, float z) { this->rainCoord = Vector(x, y, z); }
     
    4647                inline void setRainLife(float life) { this->rainLife = life; }
    4748                inline void setRainWind(int force) { this->rainWindForce = force; }
     49                inline void setRainStart(float duration) { this->rainStartDuration = duration; }
     50
    4851                inline void setRainOption(const std::string& option) {
    4952                        if (option == "moverain") this->rainMove = true;
     
    5154                }
    5255
    53                 void startRaining(float duration);
    5456
    5557        private:
    5658                static SparkParticles*                  rainParticles;
    5759                ParticleEmitter*                        emitter;
     60
     61                float                                   localTimer;
    5862
    5963                Vector                                  rainCoord;
     
    6468                GLfloat                                 rainMaxParticles;
    6569                int                                     rainWindForce;
     70                GLfloat                                 rainStartDuration;
    6671                bool                                    rainMove;
    6772                bool                                    rainActivate;
     
    7176                OrxSound::SoundBuffer*                  windBuffer;
    7277
     78                float                                   soundRainVolume;
     79
    7380                LightManager* lightMan;
    7481};
Note: See TracChangeset for help on using the changeset viewer.