2 * blenlib/BKE_effect.h (mar-2001 nzc)
6 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version. The Blender
12 * Foundation also sells licenses for use in proprietary software under
13 * the Blender License. See http://www.blender.org/BL/ for information
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software Foundation,
23 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
26 * All rights reserved.
28 * The Original Code is: all of this file.
30 * Contributor(s): none yet.
32 * ***** END GPL/BL DUAL LICENSE BLOCK *****
46 struct Effect *add_effect(int type);
47 void free_effect(struct Effect *eff);
48 void free_effects(struct ListBase *lb);
49 struct Effect *copy_effect(struct Effect *eff);
50 void copy_act_effect(struct Object *ob);
51 void copy_effects(struct ListBase *lbn, struct ListBase *lb);
52 void deselectall_eff(struct Object *ob);
53 void set_buildvars(struct Object *ob, int *start, int *end);
54 struct Particle *new_particle(struct PartEff *paf);
55 struct PartEff *give_parteff(struct Object *ob);
56 void where_is_particle(struct PartEff *paf, struct Particle *pa, float ctime, float *vec);
57 void particle_tex(struct MTex *mtex, struct PartEff *paf, float *co, float *no);
58 void make_particle_keys(int depth, int nr, struct PartEff *paf, struct Particle *part, float *force, int deform, struct MTex *mtex);
59 void init_mv_jit(float *jit, int num,float seed2);
60 void give_mesh_mvert(struct Mesh *me, int nr, float *co, short *no,float seed2);
61 void build_particle_system(struct Object *ob);
62 void calc_wave_deform(struct WaveEff *wav, float ctime, float *co);
63 void object_wave(struct Object *ob);