diff options
Diffstat (limited to 'source/blender/editors/physics/physics_intern.h')
-rw-r--r-- | source/blender/editors/physics/physics_intern.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_intern.h b/source/blender/editors/physics/physics_intern.h index ef07d73826a..e8270c7a4aa 100644 --- a/source/blender/editors/physics/physics_intern.h +++ b/source/blender/editors/physics/physics_intern.h @@ -32,6 +32,7 @@ struct Scene; struct wmOperatorType; /* particle_edit.c */ + void PARTICLE_OT_select_all(struct wmOperatorType *ot); void PARTICLE_OT_select_roots(struct wmOperatorType *ot); void PARTICLE_OT_select_tips(struct wmOperatorType *ot); @@ -60,18 +61,28 @@ void PARTICLE_OT_edited_clear(struct wmOperatorType *ot); void PARTICLE_OT_unify_length(struct wmOperatorType *ot); +/** + * Initialize needed data for bake edit. + */ void PE_create_particle_edit(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct PointCache *cache, struct ParticleSystem *psys); +/** + * Set current distances to be kept between neighboring keys. + */ void recalc_lengths(struct PTCacheEdit *edit); +/** + * Calculate a tree for finding nearest emitter's vertice. + */ void recalc_emitter_field(struct Depsgraph *depsgraph, struct Object *ob, struct ParticleSystem *psys); void update_world_cos(struct Object *ob, struct PTCacheEdit *edit); /* particle_object.c */ + void OBJECT_OT_particle_system_add(struct wmOperatorType *ot); void OBJECT_OT_particle_system_remove(struct wmOperatorType *ot); @@ -92,6 +103,7 @@ void PARTICLE_OT_dupliob_move_down(struct wmOperatorType *ot); void PARTICLE_OT_dupliob_refresh(struct wmOperatorType *ot); /* particle_boids.c */ + void BOID_OT_rule_add(struct wmOperatorType *ot); void BOID_OT_rule_del(struct wmOperatorType *ot); void BOID_OT_rule_move_up(struct wmOperatorType *ot); @@ -103,6 +115,7 @@ void BOID_OT_state_move_up(struct wmOperatorType *ot); void BOID_OT_state_move_down(struct wmOperatorType *ot); /* physics_fluid.c */ + void FLUID_OT_bake_all(struct wmOperatorType *ot); void FLUID_OT_free_all(struct wmOperatorType *ot); void FLUID_OT_bake_data(struct wmOperatorType *ot); @@ -118,13 +131,21 @@ void FLUID_OT_free_guides(struct wmOperatorType *ot); void FLUID_OT_pause_bake(struct wmOperatorType *ot); /* dynamicpaint.c */ + void DPAINT_OT_bake(struct wmOperatorType *ot); +/** + * Add surface slot. + */ void DPAINT_OT_surface_slot_add(struct wmOperatorType *ot); +/** + * Remove surface slot. + */ void DPAINT_OT_surface_slot_remove(struct wmOperatorType *ot); void DPAINT_OT_type_toggle(struct wmOperatorType *ot); void DPAINT_OT_output_toggle(struct wmOperatorType *ot); /* physics_pointcache.c */ + void PTCACHE_OT_bake_all(struct wmOperatorType *ot); void PTCACHE_OT_free_bake_all(struct wmOperatorType *ot); void PTCACHE_OT_bake(struct wmOperatorType *ot); @@ -134,6 +155,7 @@ void PTCACHE_OT_add(struct wmOperatorType *ot); void PTCACHE_OT_remove(struct wmOperatorType *ot); /* rigidbody_object.c */ + void RIGIDBODY_OT_object_add(struct wmOperatorType *ot); void RIGIDBODY_OT_object_remove(struct wmOperatorType *ot); @@ -144,10 +166,12 @@ void RIGIDBODY_OT_shape_change(struct wmOperatorType *ot); void RIGIDBODY_OT_mass_calculate(struct wmOperatorType *ot); /* rigidbody_constraint.c */ + void RIGIDBODY_OT_constraint_add(struct wmOperatorType *ot); void RIGIDBODY_OT_constraint_remove(struct wmOperatorType *ot); /* rigidbody_world.c */ + void RIGIDBODY_OT_world_add(struct wmOperatorType *ot); void RIGIDBODY_OT_world_remove(struct wmOperatorType *ot); void RIGIDBODY_OT_world_export(struct wmOperatorType *ot); |