X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_noise%2Fnoise.h;h=d4540d857e4b7159b941c9bb8417a3e5e54decfe;hb=c5b77a538a92291a663bdc9bf50c7f10dbeae1ea;hp=3bdec02844fd59220824f357ceea43435737b00c;hpb=e8a065f2385c219c511b57dac52786120bfa097d;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_noise/noise.h b/synfig-core/trunk/src/modules/mod_noise/noise.h index 3bdec02..d4540d8 100644 --- a/synfig-core/trunk/src/modules/mod_noise/noise.h +++ b/synfig-core/trunk/src/modules/mod_noise/noise.h @@ -2,7 +2,7 @@ /*! \file noise.h ** \brief Template Header ** -** $Id: noise.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -50,7 +50,7 @@ private: synfig::Vector size; Random random; - int smooth; + Random::SmoothType smooth; int detail; bool do_alpha; synfig::Gradient gradient; @@ -58,10 +58,10 @@ private: bool turbulent; bool do_displacement; synfig::Vector displacement; - + //void sync(); mutable synfig::Time curr_time; - + bool super_sample; synfig::Color color_func(const synfig::Point &x, float supersample,synfig::Context context)const; @@ -70,12 +70,12 @@ private: public: Noise(); - + virtual bool set_param(const synfig::String ¶m, const synfig::ValueBase &value); virtual synfig::ValueBase get_param(const synfig::String ¶m)const; virtual synfig::Color get_color(synfig::Context context, const synfig::Point &pos)const; virtual bool accelerated_render(synfig::Context context,synfig::Surface *surface,int quality, const synfig::RendDesc &renddesc, synfig::ProgressCallback *cb)const; - synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; + synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; virtual void set_time(synfig::Context context, synfig::Time time)const; virtual void set_time(synfig::Context context, synfig::Time time, const synfig::Point &point)const;