X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_noise%2Fnoise.cpp;h=797c4306deb0b93d438f5553e0f61e71c7e9b68e;hb=2996b84ecd9cd8776441ac0388dc30257cd21929;hp=ece2728d0e7761514f43abd42dcefd84e19f7e64;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_noise/noise.cpp b/synfig-core/trunk/src/modules/mod_noise/noise.cpp index ece2728..797c430 100644 --- a/synfig-core/trunk/src/modules/mod_noise/noise.cpp +++ b/synfig-core/trunk/src/modules/mod_noise/noise.cpp @@ -2,7 +2,7 @@ /*! \file noise.cpp ** \brief blehh ** -** $Id: noise.cpp,v 1.2 2005/01/13 06:48:39 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -55,7 +55,7 @@ SYNFIG_LAYER_SET_NAME(Noise,"noise"); SYNFIG_LAYER_SET_LOCAL_NAME(Noise,_("Noise Gradient")); SYNFIG_LAYER_SET_CATEGORY(Noise,_("Gradients")); SYNFIG_LAYER_SET_VERSION(Noise,"0.0"); -SYNFIG_LAYER_SET_CVS_ID(Noise,"$Id: noise.cpp,v 1.2 2005/01/13 06:48:39 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(Noise,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -79,7 +79,7 @@ Noise::Noise(): inline Color -Noise::color_func(const Point &point, float pixel_size,Context context)const +Noise::color_func(const Point &point, float pixel_size,Context /*context*/)const { Color ret(0,0,0,0); @@ -169,7 +169,7 @@ Noise::color_func(const Point &point, float pixel_size,Context context)const } inline float -Noise::calc_supersample(const synfig::Point &x, float pw,float ph)const +Noise::calc_supersample(const synfig::Point &/*x*/, float /*pw*/,float /*ph*/)const { return 0.0f; } @@ -203,7 +203,7 @@ Noise::hit_check(synfig::Context context, const synfig::Point &point)const bool Noise::set_param(const String & param, const ValueBase &value) { - if(param=="seed" && value.same_as(int())) + if(param=="seed" && value.same_type_as(int())) { random.set_seed(value.get(int())); return true;