Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2006, 3:07:45 PM (18 years ago)
Author:
amaechler
Message:

branches/atmosphere_engine: wind, rain changes

File:
1 edited

Legend:

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

    r7682 r7685  
    88#include "vector.h"
    99#include "vector2D.h"
     10#include <string>
    1011
    1112#include "particle_system.h"
     
    4142                inline void setRainLife(float life) { this->rainLife = life; }
    4243                inline void setRainWind(int force) { this->rainWindForce = force; }
    43 
    44                 inline void setRainOption(string option) {
    45                         PRINTF(0)( "setting move true\n");
    46                         this->rainMove = true;
    47                 }
     44                inline void setRainOption(const std::string& option) { if (option == "moverain") this->rainMove = true; }
    4845
    4946
Note: See TracChangeset for help on using the changeset viewer.