X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_noise%2Fmain.cpp;h=f9ef6dd467c2f4cc1e8741d20150f9537663ff62;hb=42e8c5afa54079c8289957632e20c0ddc427bd35;hp=ac5f657b809fdc0ff3af780a7a2beaa8150b08fb;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_noise/main.cpp b/synfig-core/trunk/src/modules/mod_noise/main.cpp index ac5f657..f9ef6dd 100644 --- a/synfig-core/trunk/src/modules/mod_noise/main.cpp +++ b/synfig-core/trunk/src/modules/mod_noise/main.cpp @@ -1,18 +1,22 @@ -/*! ======================================================================== -** Sinfg -** bleh -** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file mod_noise/main.cpp +** \brief Template Header ** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** $Id$ ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -20,7 +24,7 @@ /* === H E A D E R S ======================================================= */ -#define SINFG_MODULE +#define SYNFIG_MODULE #ifdef USING_PCH # include "pch.h" @@ -29,14 +33,15 @@ # include #endif -#include -#include -#include -#include +#include +#include +#include +#include #include "noise.h" #include "distort.h" #include "random.h" +#include "valuenode_random.h" #endif @@ -47,7 +52,7 @@ MODULE_DESC_BEGIN(libmod_noise) MODULE_DESCRIPTION("writeme") MODULE_AUTHOR("Robert B. Quattlebaum") MODULE_VERSION("1.0") - MODULE_COPYRIGHT(SINFG_COPYRIGHT) + MODULE_COPYRIGHT(SYNFIG_COPYRIGHT) MODULE_DESC_END MODULE_INVENTORY_BEGIN(libmod_noise) @@ -55,4 +60,8 @@ MODULE_INVENTORY_BEGIN(libmod_noise) LAYER(Noise) LAYER(NoiseDistort) END_LAYERS + + BEGIN_VALUENODES + VALUENODE(synfig::ValueNode_Random, "random", _("Random")) + END_VALUENODES MODULE_INVENTORY_END