// ----------------------------------------------------------------------------
// Blitz-Irrlicht 1.8.3 Wrapper by Ed Musolino 2015
// Based off of Frank Dodd's Irrlicht 1.7 Freebasic Wrapper (2006-2010)
// ----------------------------------------------------------------------------

//  This software is provided 'as-is', without any express Or implied
//  warranty.  In no event will the authors be held liable For any damages
//  arising from the use of this software.

//  Permission is granted To anyone To use this software For any purpose,
//  including commercial applications, And To alter it And redistribute it
//  freely, subject To the following restrictions:

//  1. The Origin of this software must Not be misrepresented; you must not
//     claim that you wrote the original software. If you use this software
//     in a product, an acknowledgement in the product documentation would be
//     appreciated but is Not required.
//  2. Altered source versions must be clearly marked as such, And must Not be
//     misrepresented as being the original software.
//  3. This notice may Not be removed Or altered from any source distribution.
//
// /////////////////////////////////////////////////////////////////////////////

/*
  IWindGenerator.h - thank you Klasker :)

  http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=10762&start=15
*/

#ifndef IWINDGENERATOR_H_INCLUDED
#define IWINDGENERATOR_H_INCLUDED

#include <irrlicht.h>
#include <cstdlib>
 
namespace irr
{
namespace scene
{

  class IWindGenerator : public IReferenceCounted
  {
    public:
      virtual void setStrength( f32 strength )     = 0;
      virtual void setRegularity( f32 regularity ) = 0;
      virtual f32 getStrength()                    = 0;
      virtual f32 getRegularity()                  = 0;
      virtual core::vector2df getWind( const core::vector3df& position, u32 timeMs ) = 0;
  };

  IWindGenerator* createWindGenerator(f32 strength=3.0f, f32 regularity=1.0f);

} // scene
} // irr

#endif
