From 0ef96cd3922dbc16271f2dbaca0c7752db92a40d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 4 Apr 2022 13:17:03 +1000 Subject: Cleanup: ensure space after file named in headers Add blank lines after file references to avoid them being interpreted as doc-strings the following declarations. --- source/blender/blenfont/intern/blf_internal.h | 1 + source/blender/blenkernel/BKE_action.h | 1 + source/blender/blenkernel/BKE_editmesh.h | 1 + source/blender/blenkernel/BKE_mask.h | 1 + source/blender/blenkernel/BKE_mesh.h | 1 + source/blender/blenkernel/intern/pbvh_intern.h | 2 ++ source/blender/draw/engines/eevee/eevee_private.h | 7 +++++ source/blender/draw/engines/image/image_private.hh | 1 + source/blender/draw/engines/select/select_engine.h | 2 ++ .../blender/draw/engines/select/select_private.h | 1 + .../draw/engines/workbench/workbench_private.h | 13 +++++++++ source/blender/draw/intern/draw_shader.h | 1 + .../draw/intern/mesh_extractors/extract_mesh.h | 1 + source/blender/editors/armature/armature_intern.h | 1 + source/blender/editors/curve/curve_intern.h | 8 ++++++ source/blender/editors/include/ED_armature.h | 2 ++ source/blender/editors/include/ED_gizmo_library.h | 3 +++ source/blender/editors/include/ED_image.h | 2 ++ source/blender/editors/include/ED_info.h | 1 + source/blender/editors/include/ED_mesh.h | 3 +++ source/blender/editors/include/ED_object.h | 6 +++++ source/blender/editors/include/ED_paint.h | 2 ++ source/blender/editors/include/ED_physics.h | 3 +++ source/blender/editors/include/ED_screen.h | 2 ++ source/blender/editors/include/ED_text.h | 1 + source/blender/editors/include/ED_undo.h | 4 ++- source/blender/editors/include/ED_util_imbuf.h | 1 + source/blender/editors/include/ED_view3d.h | 3 +++ source/blender/editors/include/UI_interface.h | 3 +++ .../blender/editors/interface/interface_intern.h | 2 ++ .../editors/interface/interface_regions_intern.h | 1 + source/blender/editors/lattice/lattice_intern.h | 2 ++ source/blender/editors/mask/mask_intern.h | 1 + source/blender/editors/object/object_intern.h | 3 +++ source/blender/editors/render/render_intern.hh | 1 + source/blender/editors/screen/screen_intern.h | 3 +++ source/blender/editors/sculpt_paint/paint_intern.h | 4 +++ .../blender/editors/sculpt_paint/sculpt_intern.h | 1 + .../blender/editors/space_action/action_intern.h | 1 + source/blender/editors/space_clip/clip_intern.h | 5 ++++ .../blender/editors/space_console/console_intern.h | 2 ++ source/blender/editors/space_graph/graph_intern.h | 2 ++ source/blender/editors/space_info/info_intern.h | 2 ++ .../editors/space_outliner/outliner_intern.hh | 1 + .../blender/editors/space_script/script_intern.h | 2 ++ .../editors/space_sequencer/sequencer_intern.h | 12 +++++++++ source/blender/editors/space_text/text_intern.h | 4 +++ .../blender/editors/space_view3d/view3d_intern.h | 11 ++++++++ .../blender/editors/space_view3d/view3d_navigate.h | 10 +++++++ source/blender/editors/transform/transform.h | 1 + .../blender/editors/transform/transform_convert.h | 19 +++++++++++++ source/blender/editors/transform/transform_mode.h | 31 ++++++++++++++++++++++ source/blender/editors/uvedit/uvedit_intern.h | 1 + .../gpencil_modifiers/MOD_gpencil_modifiertypes.h | 1 + source/blender/gpu/GPU_shader.h | 1 + source/blender/gpu/intern/gpu_private.h | 1 + source/blender/makesdna/DNA_scene_types.h | 1 + source/blender/makesrna/intern/rna_wm.c | 1 + .../blender/modifiers/intern/MOD_meshcache_util.h | 3 +++ .../blender/modifiers/intern/MOD_solidify_util.h | 2 ++ source/blender/python/BPY_extern_clog.h | 1 + source/blender/python/intern/bpy.h | 1 + source/blender/render/RE_bake.h | 2 ++ source/blender/shader_fx/FX_shader_types.h | 1 + source/blender/windowmanager/WM_api.h | 1 + source/blender/windowmanager/WM_types.h | 1 + source/blender/windowmanager/gizmo/WM_gizmo_api.h | 3 +++ source/blender/windowmanager/wm.h | 1 + source/blender/windowmanager/wm_draw.h | 1 + .../blender/windowmanager/xr/intern/wm_xr_intern.h | 2 ++ source/blender/windowmanager/xr/wm_xr.h | 2 ++ 71 files changed, 225 insertions(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/blenfont/intern/blf_internal.h b/source/blender/blenfont/intern/blf_internal.h index 81a1460df4d..1018dc09ff8 100644 --- a/source/blender/blenfont/intern/blf_internal.h +++ b/source/blender/blenfont/intern/blf_internal.h @@ -137,6 +137,7 @@ void blf_glyph_draw( #ifdef WIN32 /* blf_font_win32_compat.c */ + # ifdef FT_FREETYPE_H extern FT_Error FT_New_Face__win32_compat(FT_Library library, const char *pathname, diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 328089b14aa..d5487b3558a 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -371,6 +371,7 @@ void BKE_pose_blend_read_lib(struct BlendLibReader *reader, struct Object *ob, s void BKE_pose_blend_read_expand(struct BlendExpander *expander, struct bPose *pose); /* action_mirror.c */ + void BKE_action_flip_with_pose(struct bAction *act, struct Object *ob_arm); #ifdef __cplusplus diff --git a/source/blender/blenkernel/BKE_editmesh.h b/source/blender/blenkernel/BKE_editmesh.h index 4cc9bd97169..5916e7e83fb 100644 --- a/source/blender/blenkernel/BKE_editmesh.h +++ b/source/blender/blenkernel/BKE_editmesh.h @@ -70,6 +70,7 @@ typedef struct BMEditMesh { } BMEditMesh; /* editmesh.c */ + void BKE_editmesh_looptri_calc_ex(BMEditMesh *em, const struct BMeshCalcTessellation_Params *params); void BKE_editmesh_looptri_calc(BMEditMesh *em); diff --git a/source/blender/blenkernel/BKE_mask.h b/source/blender/blenkernel/BKE_mask.h index d126d706c66..40daab41614 100644 --- a/source/blender/blenkernel/BKE_mask.h +++ b/source/blender/blenkernel/BKE_mask.h @@ -27,6 +27,7 @@ struct MovieClip; struct MovieClipUser; /* mask_ops.c */ + typedef enum { MASK_WHICH_HANDLE_NONE = 0, MASK_WHICH_HANDLE_STICK = 1, diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 1ad20c52a4b..602fd47bfd1 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -1067,6 +1067,7 @@ extern void (*BKE_mesh_batch_cache_dirty_tag_cb)(struct Mesh *me, eMeshBatchDirt extern void (*BKE_mesh_batch_cache_free_cb)(struct Mesh *me); /* mesh_debug.c */ + #ifndef NDEBUG char *BKE_mesh_debug_info(const struct Mesh *me) ATTR_NONNULL(1) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT; diff --git a/source/blender/blenkernel/intern/pbvh_intern.h b/source/blender/blenkernel/intern/pbvh_intern.h index 123a6b1b829..a10d09e106c 100644 --- a/source/blender/blenkernel/intern/pbvh_intern.h +++ b/source/blender/blenkernel/intern/pbvh_intern.h @@ -168,6 +168,7 @@ struct PBVH { }; /* pbvh.c */ + void BB_reset(BB *bb); /** * Expand the bounding box to include a new coordinate. @@ -216,6 +217,7 @@ bool ray_face_nearest_tri(const float ray_start[3], void pbvh_update_BB_redraw(PBVH *bvh, PBVHNode **nodes, int totnode, int flag); /* pbvh_bmesh.c */ + bool pbvh_bmesh_node_raycast(PBVHNode *node, const float ray_start[3], const float ray_normal[3], diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index 2518ee53da3..5220bac4e3f 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -1413,6 +1413,7 @@ void EEVEE_cryptomatte_store_metadata(EEVEE_Data *vedata, struct RenderResult *r void EEVEE_cryptomatte_free(EEVEE_Data *vedata); /* eevee_occlusion.c */ + int EEVEE_occlusion_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_occlusion_output_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata, @@ -1424,6 +1425,7 @@ void EEVEE_occlusion_draw_debug(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata) void EEVEE_occlusion_free(void); /* eevee_screen_raytrace.c */ + int EEVEE_screen_raytrace_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_screen_raytrace_cache_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_refraction_compute(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); @@ -1434,6 +1436,7 @@ void EEVEE_reflection_output_init(EEVEE_ViewLayerData *sldata, void EEVEE_reflection_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); /* eevee_subsurface.c */ + void EEVEE_subsurface_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_subsurface_draw_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_subsurface_cache_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); @@ -1450,6 +1453,7 @@ void EEVEE_subsurface_compute(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_subsurface_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); /* eevee_motion_blur.c */ + int EEVEE_motion_blur_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_motion_blur_step_set(EEVEE_Data *vedata, int step); void EEVEE_motion_blur_cache_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); @@ -1464,10 +1468,12 @@ void EEVEE_motion_blur_cache_finish(EEVEE_Data *vedata); void EEVEE_motion_blur_draw(EEVEE_Data *vedata); /* eevee_mist.c */ + void EEVEE_mist_output_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); void EEVEE_mist_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); /* eevee_renderpasses.c */ + void EEVEE_renderpasses_init(EEVEE_Data *vedata); void EEVEE_renderpasses_output_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata, @@ -1501,6 +1507,7 @@ bool EEVEE_renderpasses_only_first_sample_pass_active(EEVEE_Data *vedata); int EEVEE_renderpasses_aov_hash(const ViewLayerAOV *aov); /* eevee_temporal_sampling.c */ + void EEVEE_temporal_sampling_reset(EEVEE_Data *vedata); void EEVEE_temporal_sampling_create_view(EEVEE_Data *vedata); int EEVEE_temporal_sampling_sample_count_get(const Scene *scene, const EEVEE_StorageList *stl); diff --git a/source/blender/draw/engines/image/image_private.hh b/source/blender/draw/engines/image/image_private.hh index a786bd24ffa..8d4b8eee7fb 100644 --- a/source/blender/draw/engines/image/image_private.hh +++ b/source/blender/draw/engines/image/image_private.hh @@ -56,6 +56,7 @@ class AbstractDrawingMode { }; /* image_shader.c */ + GPUShader *IMAGE_shader_image_get(); GPUShader *IMAGE_shader_depth_get(); void IMAGE_shader_free(); diff --git a/source/blender/draw/engines/select/select_engine.h b/source/blender/draw/engines/select/select_engine.h index df4be19c0d3..2151d605578 100644 --- a/source/blender/draw/engines/select/select_engine.h +++ b/source/blender/draw/engines/select/select_engine.h @@ -8,11 +8,13 @@ #pragma once /* select_engine.c */ + extern DrawEngineType draw_engine_select_type; extern RenderEngineType DRW_engine_viewport_select_type; #ifdef WITH_DRAW_DEBUG /* select_debug_engine.c */ + extern DrawEngineType draw_engine_debug_select_type; #endif diff --git a/source/blender/draw/engines/select/select_private.h b/source/blender/draw/engines/select/select_private.h index 4af1db25c40..c25ec144658 100644 --- a/source/blender/draw/engines/select/select_private.h +++ b/source/blender/draw/engines/select/select_private.h @@ -52,6 +52,7 @@ typedef struct SELECTID_PrivateData { } SELECTID_PrivateData; /* Transient data */ /* select_draw_utils.c */ + void select_id_object_min_max(struct Object *obj, float r_min[3], float r_max[3]); short select_id_get_object_select_mode(Scene *scene, Object *ob); void select_id_draw_object(void *vedata, diff --git a/source/blender/draw/engines/workbench/workbench_private.h b/source/blender/draw/engines/workbench/workbench_private.h index 2e310b7f98d..727b771ee08 100644 --- a/source/blender/draw/engines/workbench/workbench_private.h +++ b/source/blender/draw/engines/workbench/workbench_private.h @@ -393,10 +393,12 @@ BLI_INLINE bool workbench_is_specular_highlight_enabled(WORKBENCH_PrivateData *w } /* workbench_opaque.c */ + void workbench_opaque_engine_init(WORKBENCH_Data *data); void workbench_opaque_cache_init(WORKBENCH_Data *data); /* workbench_transparent.c */ + void workbench_transparent_engine_init(WORKBENCH_Data *data); void workbench_transparent_cache_init(WORKBENCH_Data *data); /** @@ -406,11 +408,13 @@ void workbench_transparent_cache_init(WORKBENCH_Data *data); void workbench_transparent_draw_depth_pass(WORKBENCH_Data *data); /* workbench_shadow.c */ + void workbench_shadow_data_update(WORKBENCH_PrivateData *wpd, WORKBENCH_UBO_World *wd); void workbench_shadow_cache_init(WORKBENCH_Data *data); void workbench_shadow_cache_populate(WORKBENCH_Data *data, Object *ob, bool has_transp_mat); /* workbench_shader.c */ + GPUShader *workbench_shader_opaque_get(WORKBENCH_PrivateData *wpd, eWORKBENCH_DataType data); GPUShader *workbench_shader_opaque_image_get(WORKBENCH_PrivateData *wpd, eWORKBENCH_DataType data, @@ -447,6 +451,7 @@ void workbench_shader_depth_of_field_get(GPUShader **prepare_sh, void workbench_shader_free(void); /* workbench_effect_antialiasing.c */ + int workbench_antialiasing_sample_count_get(WORKBENCH_PrivateData *wpd); void workbench_antialiasing_engine_init(WORKBENCH_Data *vedata); void workbench_antialiasing_cache_init(WORKBENCH_Data *vedata); @@ -458,18 +463,22 @@ bool workbench_antialiasing_setup(WORKBENCH_Data *vedata); void workbench_antialiasing_draw_pass(WORKBENCH_Data *vedata); /* workbench_effect_cavity.c */ + void workbench_cavity_data_update(WORKBENCH_PrivateData *wpd, WORKBENCH_UBO_World *wd); void workbench_cavity_samples_ubo_ensure(WORKBENCH_PrivateData *wpd); void workbench_cavity_cache_init(WORKBENCH_Data *data); /* workbench_effect_outline.c */ + void workbench_outline_cache_init(WORKBENCH_Data *data); /* workbench_effect_dof.c */ + void workbench_dof_engine_init(WORKBENCH_Data *vedata); void workbench_dof_cache_init(WORKBENCH_Data *vedata); void workbench_dof_draw_pass(WORKBENCH_Data *vedata); /* workbench_materials.c */ + void workbench_material_ubo_data(WORKBENCH_PrivateData *wpd, Object *ob, Material *mat, @@ -507,6 +516,7 @@ DRWShadingGroup *workbench_image_setup_ex(WORKBENCH_PrivateData *wpd, workbench_image_setup_ex(wpd, ob, mat_nr, ima, iuser, interp, WORKBENCH_DATATYPE_HAIR) /* workbench_data.c */ + void workbench_private_data_alloc(WORKBENCH_StorageList *stl); void workbench_private_data_init(WORKBENCH_PrivateData *wpd); void workbench_update_world_ubo(WORKBENCH_PrivateData *wpd); @@ -514,6 +524,7 @@ void workbench_update_material_ubos(WORKBENCH_PrivateData *wpd); struct GPUUniformBuf *workbench_material_ubo_alloc(WORKBENCH_PrivateData *wpd); /* workbench_volume.c */ + void workbench_volume_engine_init(WORKBENCH_Data *vedata); void workbench_volume_cache_init(WORKBENCH_Data *vedata); void workbench_volume_cache_populate(WORKBENCH_Data *vedata, @@ -525,6 +536,7 @@ void workbench_volume_draw_pass(WORKBENCH_Data *vedata); void workbench_volume_draw_finish(WORKBENCH_Data *vedata); /* workbench_engine.c */ + void workbench_engine_init(void *ved); void workbench_cache_init(void *ved); void workbench_cache_populate(void *ved, Object *ob); @@ -537,6 +549,7 @@ void workbench_draw_sample(void *ved); void workbench_draw_finish(void *ved); /* workbench_render.c */ + void workbench_render(void *ved, struct RenderEngine *engine, struct RenderLayer *render_layer, diff --git a/source/blender/draw/intern/draw_shader.h b/source/blender/draw/intern/draw_shader.h index c27bfcbb73a..65b9cafc1d9 100644 --- a/source/blender/draw/intern/draw_shader.h +++ b/source/blender/draw/intern/draw_shader.h @@ -22,6 +22,7 @@ typedef enum eParticleRefineShaderType { } eParticleRefineShaderType; /* draw_shader.c */ + struct GPUShader *DRW_shader_hair_refine_get(ParticleRefineShader refinement, eParticleRefineShaderType sh_type); void DRW_shaders_free(void); diff --git a/source/blender/draw/intern/mesh_extractors/extract_mesh.h b/source/blender/draw/intern/mesh_extractors/extract_mesh.h index e43646037fc..d55386dfd7d 100644 --- a/source/blender/draw/intern/mesh_extractors/extract_mesh.h +++ b/source/blender/draw/intern/mesh_extractors/extract_mesh.h @@ -290,6 +290,7 @@ void mesh_render_data_update_looptris(MeshRenderData *mr, eMRDataType data_flag); /* draw_cache_extract_mesh_extractors.c */ + typedef struct EditLoopData { uchar v_flag; uchar e_flag; diff --git a/source/blender/editors/armature/armature_intern.h b/source/blender/editors/armature/armature_intern.h index 6fdc8379e41..265a213528d 100644 --- a/source/blender/editors/armature/armature_intern.h +++ b/source/blender/editors/armature/armature_intern.h @@ -217,6 +217,7 @@ void POSELIB_OT_browse_interactive(struct wmOperatorType *ot); void POSELIB_OT_apply_pose(struct wmOperatorType *ot); /* pose_lib_2.c */ + void POSELIB_OT_apply_pose_asset(struct wmOperatorType *ot); void POSELIB_OT_blend_pose_asset(struct wmOperatorType *ot); diff --git a/source/blender/editors/curve/curve_intern.h b/source/blender/editors/curve/curve_intern.h index 0f27f26b458..38fe2d92772 100644 --- a/source/blender/editors/curve/curve_intern.h +++ b/source/blender/editors/curve/curve_intern.h @@ -16,6 +16,7 @@ struct ViewContext; struct wmOperatorType; /* editfont.c */ + enum { DEL_NEXT_CHAR, DEL_PREV_CHAR, @@ -93,6 +94,7 @@ void FONT_OT_textbox_add(struct wmOperatorType *ot); void FONT_OT_textbox_remove(struct wmOperatorType *ot); /* editcurve.c */ + void CURVE_OT_hide(struct wmOperatorType *ot); void CURVE_OT_reveal(struct wmOperatorType *ot); @@ -128,10 +130,12 @@ void CURVE_OT_cyclic_toggle(struct wmOperatorType *ot); void CURVE_OT_match_texture_space(struct wmOperatorType *ot); /* exported for editcurve_undo.c */ + struct GHash *ED_curve_keyindex_hash_duplicate(struct GHash *keyindex); void ED_curve_keyindex_update_nurb(struct EditNurb *editnurb, struct Nurb *nu, struct Nurb *newnu); /* exported for editcurve_pen.c */ + int ed_editcurve_addvert(Curve *cu, EditNurb *editnurb, View3D *v3d, const float location_init[3]); bool curve_toggle_cyclic(View3D *v3d, ListBase *editnurb, int direction); void ed_dissolve_bez_segment(BezTriple *bezt_prev, @@ -161,6 +165,7 @@ bool ed_editnurb_spin(float viewmat[4][4], const float cent[3]); /* editcurve_select.c */ + void CURVE_OT_de_select_first(struct wmOperatorType *ot); void CURVE_OT_de_select_last(struct wmOperatorType *ot); void CURVE_OT_select_all(struct wmOperatorType *ot); @@ -177,6 +182,7 @@ void CURVE_OT_select_similar(struct wmOperatorType *ot); void CURVE_OT_shortest_path_pick(struct wmOperatorType *ot); /* editcurve_add.c */ + void CURVE_OT_primitive_bezier_curve_add(struct wmOperatorType *ot); void CURVE_OT_primitive_bezier_circle_add(struct wmOperatorType *ot); void CURVE_OT_primitive_nurbs_curve_add(struct wmOperatorType *ot); @@ -214,8 +220,10 @@ void ED_curve_nurb_vert_selected_find( Curve *cu, View3D *v3d, Nurb **r_nu, BezTriple **r_bezt, BPoint **r_bp); /* editcurve_paint.c */ + void CURVE_OT_draw(struct wmOperatorType *ot); /* editcurve_pen.c */ + void CURVE_OT_pen(struct wmOperatorType *ot); struct wmKeyMap *curve_pen_modal_keymap(struct wmKeyConfig *keyconf); diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index 84efc875be7..01885911ac4 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -282,6 +282,7 @@ void ED_armature_ebone_selectflag_enable(struct EditBone *ebone, int flag); void ED_armature_ebone_selectflag_disable(struct EditBone *ebone, int flag); /* pose_edit.c */ + struct Object *ED_pose_object_from_context(struct bContext *C); bool ED_object_posemode_exit_ex(struct Main *bmain, struct Object *ob); bool ED_object_posemode_exit(struct bContext *C, struct Object *ob); @@ -357,6 +358,7 @@ void ED_pose_bone_select_tag_update(struct Object *ob); void ED_pose_bone_select(struct Object *ob, struct bPoseChannel *pchan, bool select); /* meshlaplacian.c */ + void ED_mesh_deform_bind_callback(struct Object *object, struct MeshDeformModifierData *mmd, struct Mesh *cagemesh, diff --git a/source/blender/editors/include/ED_gizmo_library.h b/source/blender/editors/include/ED_gizmo_library.h index 33d8dc53897..067e5ba4d7f 100644 --- a/source/blender/editors/include/ED_gizmo_library.h +++ b/source/blender/editors/include/ED_gizmo_library.h @@ -39,6 +39,7 @@ struct wmWindowManager; */ /* gizmo_library_presets.c */ + void ED_gizmo_draw_preset_box(const struct wmGizmo *gz, float mat[4][4], int select_id); void ED_gizmo_draw_preset_arrow(const struct wmGizmo *gz, float mat[4][4], @@ -223,6 +224,7 @@ enum { /* Specific gizmos utils */ /* dial3d_gizmo.c */ + struct Dial3dParams { int draw_options; float angle_ofs; @@ -240,6 +242,7 @@ void ED_gizmotypes_dial_3d_draw_util(const float matrix_basis[4][4], struct Dial3dParams *params); /* snap3d_gizmo.c */ + struct SnapObjectContext *ED_gizmotypes_snap_3d_context_ensure(struct Scene *scene, struct wmGizmo *gz); diff --git a/source/blender/editors/include/ED_image.h b/source/blender/editors/include/ED_image.h index d6b82c7171d..f79d3ce205d 100644 --- a/source/blender/editors/include/ED_image.h +++ b/source/blender/editors/include/ED_image.h @@ -28,6 +28,7 @@ struct wmOperator; struct wmWindowManager; /* image_draw.c */ + float ED_space_image_zoom_level(const struct View2D *v2d, int grid_dimension); void ED_space_image_grid_steps(struct SpaceImage *sima, float grid_steps[SI_GRID_STEPS_LEN], @@ -162,6 +163,7 @@ int ED_image_save_all_modified_info(const struct Main *bmain, struct ReportList bool ED_image_save_all_modified(const struct bContext *C, struct ReportList *reports); /* image_sequence.c */ + typedef struct ImageFrameRange { struct ImageFrameRange *next, *prev; diff --git a/source/blender/editors/include/ED_info.h b/source/blender/editors/include/ED_info.h index e0c4fea32e3..f6ddb1b3ab6 100644 --- a/source/blender/editors/include/ED_info.h +++ b/source/blender/editors/include/ED_info.h @@ -15,6 +15,7 @@ struct Main; struct wmWindowManager; /* info_stats.c */ + void ED_info_stats_clear(struct wmWindowManager *wm, struct ViewLayer *view_layer); const char *ED_info_statusbar_string(struct Main *bmain, struct Scene *scene, diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 03ca4cd062b..59a24ed22b6 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -335,6 +335,7 @@ bool EDBM_selectmode_disable_multi(struct bContext *C, short selectmode_fallback); /* editmesh_preselect_edgering.c */ + struct EditMesh_PreSelEdgeRing; struct EditMesh_PreSelEdgeRing *EDBM_preselect_edgering_create(void); void EDBM_preselect_edgering_destroy(struct EditMesh_PreSelEdgeRing *psel); @@ -347,6 +348,7 @@ void EDBM_preselect_edgering_update_from_edge(struct EditMesh_PreSelEdgeRing *ps const float (*coords)[3]); /* editmesh_preselect_elem.c */ + struct EditMesh_PreSelElem; typedef enum eEditMesh_PreSelPreviewAction { PRESELECT_ACTION_TRANSFORM = 1, @@ -441,6 +443,7 @@ void ED_mesh_mirrtopo_init(struct BMEditMesh *em, void ED_mesh_mirrtopo_free(MirrTopoStore_t *mesh_topo_store); /* object_vgroup.c */ + #define WEIGHT_REPLACE 1 #define WEIGHT_ADD 2 #define WEIGHT_SUBTRACT 3 diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index 54e434e0db5..28452ba8db9 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -66,6 +66,7 @@ Object **ED_object_array_in_mode_or_selected(struct bContext *C, uint *r_objects_len); /* object_utils.c */ + bool ED_object_calc_active_center_for_editmode(struct Object *obedit, bool select_only, float r_center[3]); @@ -126,6 +127,7 @@ void ED_object_xform_skip_child_container_item_ensure(struct XFormObjectSkipChil void ED_object_xform_array_m4(struct Object **objects, uint objects_len, const float matrix[4][4]); /* object_ops.c */ + void ED_operatortypes_object(void); void ED_operatormacros_object(void); void ED_keymap_object(struct wmKeyConfig *keyconf); @@ -581,6 +583,7 @@ bool ED_object_iter_other(struct Main *bmain, bool ED_object_multires_update_totlevels_cb(struct Object *ob, void *totlevel_v); /* object_greasepencil_modifier.c */ + struct GpencilModifierData *ED_object_gpencil_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, @@ -615,6 +618,7 @@ void ED_object_gpencil_modifier_copy_to_object(struct Object *ob_dst, struct GpencilModifierData *md); /* object_shader_fx.c */ + struct ShaderFxData *ED_object_shaderfx_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, @@ -640,6 +644,7 @@ void ED_object_shaderfx_link(struct Object *dst, struct Object *src); void ED_object_shaderfx_copy(struct Object *dst, struct ShaderFxData *fx); /* object_select.c */ + void ED_object_select_linked_by_id(struct bContext *C, struct ID *id); const struct EnumPropertyItem *ED_object_vgroup_selection_itemf_helper( @@ -690,6 +695,7 @@ void ED_object_facemap_face_add(struct Object *ob, struct bFaceMap *fmap, int fa void ED_object_facemap_face_remove(struct Object *ob, struct bFaceMap *fmap, int facenum); /* object_data_transform.c */ + struct XFormObjectData *ED_object_data_xform_create_ex(struct ID *id, bool is_edit_mode); struct XFormObjectData *ED_object_data_xform_create(struct ID *id); struct XFormObjectData *ED_object_data_xform_create_from_edit_mode(ID *id); diff --git a/source/blender/editors/include/ED_paint.h b/source/blender/editors/include/ED_paint.h index ca3b232f51c..2df0b5d2c01 100644 --- a/source/blender/editors/include/ED_paint.h +++ b/source/blender/editors/include/ED_paint.h @@ -20,11 +20,13 @@ struct wmKeyConfig; struct wmOperator; /* paint_ops.c */ + void ED_operatortypes_paint(void); void ED_operatormacros_paint(void); void ED_keymap_paint(struct wmKeyConfig *keyconf); /* paint_image.c */ + void ED_imapaint_clear_partial_redraw(void); void ED_imapaint_dirty_region(struct Image *ima, struct ImBuf *ibuf, diff --git a/source/blender/editors/include/ED_physics.h b/source/blender/editors/include/ED_physics.h index 178b85ec22c..b9772ba4baa 100644 --- a/source/blender/editors/include/ED_physics.h +++ b/source/blender/editors/include/ED_physics.h @@ -19,11 +19,13 @@ struct Object; struct Scene; /* particle_edit.c */ + bool PE_poll(struct bContext *C); bool PE_hair_poll(struct bContext *C); bool PE_poll_view3d(struct bContext *C); /* rigidbody_object.c */ + bool ED_rigidbody_object_add(struct Main *bmain, struct Scene *scene, struct Object *ob, @@ -32,6 +34,7 @@ bool ED_rigidbody_object_add(struct Main *bmain, void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob); /* rigidbody_constraint.c */ + bool ED_rigidbody_constraint_add(struct Main *bmain, struct Scene *scene, struct Object *ob, diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index c89df9c3789..41123aff79f 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -134,6 +134,7 @@ void ED_region_visibility_change_update(struct bContext *C, struct ScrArea *area, struct ARegion *region); /* screen_ops.c */ + /** * \note Assumes that \a region itself is not a split version from previous region. */ @@ -650,6 +651,7 @@ void ED_region_generic_tools_region_message_subscribe( int ED_region_generic_tools_region_snap_size(const struct ARegion *region, int size, int axis); /* area_query.c */ + bool ED_region_overlap_isect_x(const ARegion *region, int event_x); bool ED_region_overlap_isect_y(const ARegion *region, int event_y); bool ED_region_overlap_isect_xy(const ARegion *region, const int event_xy[2]); diff --git a/source/blender/editors/include/ED_text.h b/source/blender/editors/include/ED_text.h index 004f1e562d7..3f1ce8fe0ad 100644 --- a/source/blender/editors/include/ED_text.h +++ b/source/blender/editors/include/ED_text.h @@ -42,6 +42,7 @@ void ED_text_undosys_type(struct UndoType *ut); struct UndoStep *ED_text_undo_push_init(struct bContext *C); /* text_format.c */ + bool ED_text_is_syntax_highlight_supported(struct Text *text); #ifdef __cplusplus diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h index c5a94a3629b..8c5f25e6b67 100644 --- a/source/blender/editors/include/ED_undo.h +++ b/source/blender/editors/include/ED_undo.h @@ -22,6 +22,7 @@ struct wmOperator; struct wmOperatorType; /* undo.c */ + /** * Run from the main event loop, basic checks that undo is left in a correct state. */ @@ -91,7 +92,8 @@ struct Base **ED_undo_editmode_bases_from_view_layer(struct ViewLayer *view_laye */ struct UndoStack *ED_undo_stack_get(void); -/* helpers */ +/* Helpers. */ + void ED_undo_object_set_active_or_warn(struct Scene *scene, struct ViewLayer *view_layer, struct Object *ob, diff --git a/source/blender/editors/include/ED_util_imbuf.h b/source/blender/editors/include/ED_util_imbuf.h index 112c3f3a363..d245fac8f2b 100644 --- a/source/blender/editors/include/ED_util_imbuf.h +++ b/source/blender/editors/include/ED_util_imbuf.h @@ -20,6 +20,7 @@ struct wmEvent; struct wmOperator; /* ed_util_imbuf.c */ + void ED_imbuf_sample_draw(const struct bContext *C, struct ARegion *region, void *arg_info); void ED_imbuf_sample_exit(struct bContext *C, struct wmOperator *op); int ED_imbuf_sample_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event); diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 53591e02f71..c3571bb3788 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -263,11 +263,13 @@ typedef enum { V3D_PROJ_TEST_CLIP_WIN) /* view3d_snap.c */ + bool ED_view3d_snap_selected_to_location(struct bContext *C, const float snap_target_global[3], int pivot_point); /* view3d_cursor_snap.c */ + #define USE_SNAP_DETECT_FROM_KEYMAP_HACK typedef enum { V3D_SNAPCURSOR_TOGGLE_ALWAYS_TRUE = 1 << 0, @@ -939,6 +941,7 @@ int view3d_opengl_select_with_id_filter(struct ViewContext *vc, uint select_id); /* view3d_select.c */ + float ED_view3d_select_dist_px(void); void ED_view3d_viewcontext_init(struct bContext *C, struct ViewContext *vc, diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index a4508cb5b6d..0854b8b5cfa 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -598,6 +598,7 @@ typedef bool (*uiMenuStepFunc)(struct bContext *C, int direction, void *arg1); typedef void (*uiFreeArgFunc)(void *arg); /* interface_query.c */ + bool UI_but_has_tooltip_label(const uiBut *but); bool UI_but_is_tool(const uiBut *but); /* file selectors are exempt from utf-8 checks */ @@ -611,6 +612,7 @@ bool UI_block_can_add_separator(const uiBlock *block); struct uiList *UI_list_find_mouse_over(const struct ARegion *region, const struct wmEvent *event); /* interface_region_menu_popup.c */ + /** * Popup Menus * @@ -676,6 +678,7 @@ struct uiLayout *UI_popover_layout(uiPopover *pup); void UI_popover_once_clear(uiPopover *pup); /* interface_region_menu_pie.c */ + /* Pie menus */ typedef struct uiPieMenu uiPieMenu; diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index e619b14fb69..8bbf95e9e20 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -850,6 +850,7 @@ struct uiPopupBlockHandle { /* exposed as public API in UI_interface.h */ /* interface_region_color_picker.c */ + void ui_color_picker_rgb_to_hsv_compat(const float rgb[3], float r_cp[3]); void ui_color_picker_rgb_to_hsv(const float rgb[3], float r_cp[3]); void ui_color_picker_hsv_to_rgb(const float r_cp[3], float rgb[3]); @@ -1514,6 +1515,7 @@ uiButTreeRow *ui_block_view_find_treerow_in_old_block(const uiBlock *new_block, const uiTreeViewItemHandle *new_item_handle); /* interface_templates.c */ + struct uiListType *UI_UL_cache_file_layers(void); #ifdef __cplusplus diff --git a/source/blender/editors/interface/interface_regions_intern.h b/source/blender/editors/interface/interface_regions_intern.h index f296593c886..2ed2cb3d68b 100644 --- a/source/blender/editors/interface/interface_regions_intern.h +++ b/source/blender/editors/interface/interface_regions_intern.h @@ -13,6 +13,7 @@ extern "C" { #endif /* interface_region_menu_popup.c */ + uint ui_popup_menu_hash(const char *str); /* interface_regions_intern.h */ diff --git a/source/blender/editors/lattice/lattice_intern.h b/source/blender/editors/lattice/lattice_intern.h index bc60d0084c4..6af049d2cbb 100644 --- a/source/blender/editors/lattice/lattice_intern.h +++ b/source/blender/editors/lattice/lattice_intern.h @@ -8,6 +8,7 @@ #pragma once /* editlattice_select.c */ + void LATTICE_OT_select_all(struct wmOperatorType *ot); void LATTICE_OT_select_more(struct wmOperatorType *ot); void LATTICE_OT_select_less(struct wmOperatorType *ot); @@ -16,5 +17,6 @@ void LATTICE_OT_select_random(struct wmOperatorType *ot); void LATTICE_OT_select_mirror(struct wmOperatorType *ot); /* editlattice_tools.c */ + void LATTICE_OT_make_regular(struct wmOperatorType *ot); void LATTICE_OT_flip(struct wmOperatorType *ot); diff --git a/source/blender/editors/mask/mask_intern.h b/source/blender/editors/mask/mask_intern.h index ee272cc6454..c620d781c7f 100644 --- a/source/blender/editors/mask/mask_intern.h +++ b/source/blender/editors/mask/mask_intern.h @@ -136,6 +136,7 @@ struct MaskSplinePoint *ED_mask_point_find_nearest(const struct bContext *C, float *r_score); /* mask_shapekey.c */ + void MASK_OT_shape_key_insert(struct wmOperatorType *ot); void MASK_OT_shape_key_clear(struct wmOperatorType *ot); void MASK_OT_shape_key_feather_reset(struct wmOperatorType *ot); diff --git a/source/blender/editors/object/object_intern.h b/source/blender/editors/object/object_intern.h index cb703caa8d1..9c44990d586 100644 --- a/source/blender/editors/object/object_intern.h +++ b/source/blender/editors/object/object_intern.h @@ -201,6 +201,7 @@ void OBJECT_OT_surfacedeform_bind(struct wmOperatorType *ot); void OBJECT_OT_geometry_nodes_input_attribute_toggle(struct wmOperatorType *ot); /* object_gpencil_modifiers.c */ + void OBJECT_OT_gpencil_modifier_add(struct wmOperatorType *ot); void OBJECT_OT_gpencil_modifier_remove(struct wmOperatorType *ot); void OBJECT_OT_gpencil_modifier_move_up(struct wmOperatorType *ot); @@ -215,6 +216,7 @@ void GPENCIL_OT_segment_remove(struct wmOperatorType *ot); void GPENCIL_OT_segment_move(struct wmOperatorType *ot); /* object_shader_fx.c */ + void OBJECT_OT_shaderfx_add(struct wmOperatorType *ot); void OBJECT_OT_shaderfx_copy(struct wmOperatorType *ot); void OBJECT_OT_shaderfx_remove(struct wmOperatorType *ot); @@ -223,6 +225,7 @@ void OBJECT_OT_shaderfx_move_down(struct wmOperatorType *ot); void OBJECT_OT_shaderfx_move_to_index(struct wmOperatorType *ot); /* object_constraint.c */ + void OBJECT_OT_constraint_add(struct wmOperatorType *ot); void OBJECT_OT_constraint_add_with_targets(struct wmOperatorType *ot); void POSE_OT_constraint_add(struct wmOperatorType *ot); diff --git a/source/blender/editors/render/render_intern.hh b/source/blender/editors/render/render_intern.hh index 4135a0d97a9..85d917ae8e8 100644 --- a/source/blender/editors/render/render_intern.hh +++ b/source/blender/editors/render/render_intern.hh @@ -85,4 +85,5 @@ void RENDER_OT_view_show(struct wmOperatorType *ot); void RENDER_OT_view_cancel(struct wmOperatorType *ot); /* render_opengl.c */ + void RENDER_OT_opengl(struct wmOperatorType *ot); diff --git a/source/blender/editors/screen/screen_intern.h b/source/blender/editors/screen/screen_intern.h index 70b66c41a54..4c2d94e2018 100644 --- a/source/blender/editors/screen/screen_intern.h +++ b/source/blender/editors/screen/screen_intern.h @@ -120,6 +120,7 @@ void screen_area_spacelink_add(struct Scene *scene, ScrArea *area, eSpace_Type s struct AZone *ED_area_actionzone_find_xy(ScrArea *area, const int xy[2]); /* screen_geometry.c */ + int screen_geom_area_height(const ScrArea *area); int screen_geom_area_width(const ScrArea *area); ScrVert *screen_geom_vertex_add_ex(ScrAreaMap *area_map, short x, short y); @@ -174,8 +175,10 @@ int ed_screen_context(const struct bContext *C, extern const char *screen_context_dir[]; /* doc access */ /* screendump.c */ + void SCREEN_OT_screenshot(struct wmOperatorType *ot); void SCREEN_OT_screenshot_area(struct wmOperatorType *ot); /* workspace_layout_edit.c */ + bool workspace_layout_set_poll(const struct WorkSpaceLayout *layout); diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index bb0d05810a2..f784ebe4b4f 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -194,6 +194,7 @@ void PAINT_OT_weight_sample(struct wmOperatorType *ot); void PAINT_OT_weight_sample_group(struct wmOperatorType *ot); /* paint_vertex_proj.c */ + struct VertProjHandle; struct VertProjHandle *ED_vpaint_proj_handle_create(struct Depsgraph *depsgraph, struct Scene *scene, @@ -207,6 +208,7 @@ void ED_vpaint_proj_handle_update(struct Depsgraph *depsgraph, void ED_vpaint_proj_handle_free(struct VertProjHandle *vp_handle); /* paint_image.c */ + typedef struct ImagePaintPartialRedraw { rcti dirty_region; } ImagePaintPartialRedraw; @@ -282,6 +284,7 @@ void PAINT_OT_image_paint(struct wmOperatorType *ot); void PAINT_OT_add_simple_uvs(struct wmOperatorType *ot); /* paint_image_2d_curve_mask.cc */ + /** * \brief Caching structure for curve mask. * @@ -482,6 +485,7 @@ void PAINT_OT_mask_box_gesture(struct wmOperatorType *ot); void PAINT_OT_mask_line_gesture(struct wmOperatorType *ot); /* paint_curve.c */ + void PAINTCURVE_OT_new(struct wmOperatorType *ot); void PAINTCURVE_OT_add_point(struct wmOperatorType *ot); void PAINTCURVE_OT_delete_point(struct wmOperatorType *ot); diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 6f9df4d8252..8cab0349356 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -1716,6 +1716,7 @@ void SCULPT_bmesh_topology_rake( /* end sculpt_brush_types.c */ /* sculpt_ops.c */ + void SCULPT_OT_brush_stroke(struct wmOperatorType *ot); /* end sculpt_ops.c */ diff --git a/source/blender/editors/space_action/action_intern.h b/source/blender/editors/space_action/action_intern.h index 0bba829c1cc..c227651d1d7 100644 --- a/source/blender/editors/space_action/action_intern.h +++ b/source/blender/editors/space_action/action_intern.h @@ -130,5 +130,6 @@ enum eActKeys_Mirror_Mode { /* ***************************************** */ /* action_ops.c */ + void action_operatortypes(void); void action_keymap(struct wmKeyConfig *keyconf); diff --git a/source/blender/editors/space_clip/clip_intern.h b/source/blender/editors/space_clip/clip_intern.h index 99b271ebfec..dd01c095479 100644 --- a/source/blender/editors/space_clip/clip_intern.h +++ b/source/blender/editors/space_clip/clip_intern.h @@ -65,6 +65,7 @@ void clip_start_prefetch_job(const struct bContext *C); void clip_draw_graph(struct SpaceClip *sc, struct ARegion *region, struct Scene *scene); /* clip_graph_ops.c */ + void ED_clip_graph_center_current_frame(struct Scene *scene, struct ARegion *region); void CLIP_OT_graph_select(struct wmOperatorType *ot); @@ -77,6 +78,7 @@ void CLIP_OT_graph_center_current_frame(struct wmOperatorType *ot); void CLIP_OT_graph_disable_markers(struct wmOperatorType *ot); /* clip_ops.c */ + void CLIP_OT_open(struct wmOperatorType *ot); void CLIP_OT_reload(struct wmOperatorType *ot); void CLIP_OT_view_pan(struct wmOperatorType *ot); @@ -104,6 +106,7 @@ void CLIP_OT_cursor_set(struct wmOperatorType *ot); void CLIP_OT_lock_selection_toggle(struct wmOperatorType *ot); /* clip_toolbar.c */ + struct ARegion *ED_clip_has_properties_region(struct ScrArea *area); /* clip_utils.c */ @@ -183,6 +186,7 @@ bool clip_view_has_locked_selection(const struct bContext *C); void clip_draw_sfra_efra(struct View2D *v2d, struct Scene *scene); /* tracking_ops.c */ + struct MovieTrackingTrack *tracking_marker_check_slide( struct bContext *C, const struct wmEvent *event, int *r_area, int *r_action, int *r_corner); @@ -246,6 +250,7 @@ void CLIP_OT_keyframe_insert(struct wmOperatorType *ot); void CLIP_OT_keyframe_delete(struct wmOperatorType *ot); /* tracking_select.c */ + void CLIP_OT_select(struct wmOperatorType *ot); void CLIP_OT_select_all(struct wmOperatorType *ot); void CLIP_OT_select_box(struct wmOperatorType *ot); diff --git a/source/blender/editors/space_console/console_intern.h b/source/blender/editors/space_console/console_intern.h index bd9191bad76..deaaff05a33 100644 --- a/source/blender/editors/space_console/console_intern.h +++ b/source/blender/editors/space_console/console_intern.h @@ -13,6 +13,7 @@ struct bContext; struct wmOperatorType; /* console_draw.c */ + void console_textview_main(struct SpaceConsole *sc, const struct ARegion *region); /* needed to calculate the scrollbar */ int console_textview_height(struct SpaceConsole *sc, const struct ARegion *region); @@ -22,6 +23,7 @@ void console_scrollback_prompt_begin(struct SpaceConsole *sc, ConsoleLine *cl_du void console_scrollback_prompt_end(struct SpaceConsole *sc, ConsoleLine *cl_dummy); /* console_ops.c */ + void console_history_free(SpaceConsole *sc, ConsoleLine *cl); void console_scrollback_free(SpaceConsole *sc, ConsoleLine *cl); ConsoleLine *console_history_add_str(struct SpaceConsole *sc, char *str, bool own); diff --git a/source/blender/editors/space_graph/graph_intern.h b/source/blender/editors/space_graph/graph_intern.h index 2eb64e5b115..e6b4b9827d2 100644 --- a/source/blender/editors/space_graph/graph_intern.h +++ b/source/blender/editors/space_graph/graph_intern.h @@ -18,6 +18,7 @@ struct bContext; /* ***************************************** */ /* graph_draw.c */ + /** * Left hand part. */ @@ -223,5 +224,6 @@ bool graphop_selected_fcurve_poll(struct bContext *C); /* ***************************************** */ /* graph_ops.c */ + void graphedit_keymap(struct wmKeyConfig *keyconf); void graphedit_operatortypes(void); diff --git a/source/blender/editors/space_info/info_intern.h b/source/blender/editors/space_info/info_intern.h index def210e8287..f925fe12eb8 100644 --- a/source/blender/editors/space_info/info_intern.h +++ b/source/blender/editors/space_info/info_intern.h @@ -28,6 +28,7 @@ void FILE_OT_find_missing_files(struct wmOperatorType *ot); void INFO_OT_reports_display_update(struct wmOperatorType *ot); /* info_draw.c */ + void *info_text_pick(const struct SpaceInfo *sinfo, const struct ARegion *region, const struct ReportList *reports, @@ -40,6 +41,7 @@ void info_textview_main(const struct SpaceInfo *sinfo, const struct ReportList *reports); /* info_report.c */ + int info_report_mask(const struct SpaceInfo *sinfo); void INFO_OT_select_pick(struct wmOperatorType *ot); /* report selection */ void INFO_OT_select_all(struct wmOperatorType *ot); diff --git a/source/blender/editors/space_outliner/outliner_intern.hh b/source/blender/editors/space_outliner/outliner_intern.hh index 7970841b4fd..f3bcb7b0f1e 100644 --- a/source/blender/editors/space_outliner/outliner_intern.hh +++ b/source/blender/editors/space_outliner/outliner_intern.hh @@ -536,6 +536,7 @@ void OUTLINER_OT_delete(struct wmOperatorType *ot); /* ---------------------------------------------------------------- */ /* outliner_ops.c */ + void outliner_operatortypes(void); void outliner_keymap(struct wmKeyConfig *keyconf); diff --git a/source/blender/editors/space_script/script_intern.h b/source/blender/editors/space_script/script_intern.h index ef508de8f02..12697f071c3 100644 --- a/source/blender/editors/space_script/script_intern.h +++ b/source/blender/editors/space_script/script_intern.h @@ -10,9 +10,11 @@ /* internal exports only */ /* script_ops.c */ + void script_operatortypes(void); void script_keymap(struct wmKeyConfig *keyconf); /* script_edit.c */ + void SCRIPT_OT_reload(struct wmOperatorType *ot); void SCRIPT_OT_python_file_run(struct wmOperatorType *ot); diff --git a/source/blender/editors/space_sequencer/sequencer_intern.h b/source/blender/editors/space_sequencer/sequencer_intern.h index c66cda806fb..33457103ff8 100644 --- a/source/blender/editors/space_sequencer/sequencer_intern.h +++ b/source/blender/editors/space_sequencer/sequencer_intern.h @@ -29,6 +29,7 @@ struct wmOperator; #define OVERLAP_ALPHA 180 /* sequencer_draw.c */ + void draw_timeline_seq(const struct bContext *C, struct ARegion *region); void draw_timeline_seq_display(const struct bContext *C, struct ARegion *region); void sequencer_draw_preview(const struct bContext *C, @@ -68,6 +69,7 @@ struct ImBuf *sequencer_ibuf_get(struct Main *bmain, const char *viewname); /* sequencer_thumbnails.c */ + void last_displayed_thumbnails_list_free(void *val); void draw_seq_strip_thumbnail(struct View2D *v2d, const struct bContext *C, @@ -79,6 +81,7 @@ void draw_seq_strip_thumbnail(struct View2D *v2d, float pixely); /* sequencer_edit.c */ + struct View2D; void seq_rectf(struct Sequence *seq, struct rctf *rectf); struct Sequence *find_nearest_seq(struct Scene *scene, @@ -181,6 +184,7 @@ void SEQUENCER_OT_strip_color_tag_set(struct wmOperatorType *ot); void SEQUENCER_OT_cursor_set(struct wmOperatorType *ot); /* sequencer_select.c */ + void SEQUENCER_OT_select_all(struct wmOperatorType *ot); void SEQUENCER_OT_select(struct wmOperatorType *ot); void SEQUENCER_OT_select_side_of_frame(struct wmOperatorType *ot); @@ -195,6 +199,7 @@ void SEQUENCER_OT_select_inverse(struct wmOperatorType *ot); void SEQUENCER_OT_select_grouped(struct wmOperatorType *ot); /* sequencer_add.c */ + void SEQUENCER_OT_scene_strip_add(struct wmOperatorType *ot); void SEQUENCER_OT_movie_strip_add(struct wmOperatorType *ot); void SEQUENCER_OT_movieclip_strip_add(struct wmOperatorType *ot); @@ -204,10 +209,12 @@ void SEQUENCER_OT_image_strip_add(struct wmOperatorType *ot); void SEQUENCER_OT_effect_strip_add(struct wmOperatorType *ot); /* sequencer_ops.c */ + void sequencer_operatortypes(void); void sequencer_keymap(struct wmKeyConfig *keyconf); /* sequencer_scope.c */ + struct ImBuf *make_waveform_view_from_ibuf(struct ImBuf *ibuf); struct ImBuf *make_sep_waveform_view_from_ibuf(struct ImBuf *ibuf); struct ImBuf *make_vectorscope_view_from_ibuf(struct ImBuf *ibuf); @@ -215,15 +222,18 @@ struct ImBuf *make_zebra_view_from_ibuf(struct ImBuf *ibuf, float perc); struct ImBuf *make_histogram_view_from_ibuf(struct ImBuf *ibuf); /* sequencer_buttons.c */ + void sequencer_buttons_register(struct ARegionType *art); /* sequencer_modifiers.c */ + void SEQUENCER_OT_strip_modifier_add(struct wmOperatorType *ot); void SEQUENCER_OT_strip_modifier_remove(struct wmOperatorType *ot); void SEQUENCER_OT_strip_modifier_move(struct wmOperatorType *ot); void SEQUENCER_OT_strip_modifier_copy(struct wmOperatorType *ot); /* sequencer_view.c */ + void SEQUENCER_OT_sample(struct wmOperatorType *ot); void SEQUENCER_OT_view_all(struct wmOperatorType *ot); void SEQUENCER_OT_view_frame(struct wmOperatorType *ot); @@ -233,9 +243,11 @@ void SEQUENCER_OT_view_selected(struct wmOperatorType *ot); void SEQUENCER_OT_view_ghost_border(struct wmOperatorType *ot); /* sequencer_preview.c */ + void sequencer_preview_add_sound(const struct bContext *C, struct Sequence *seq); /* sequencer_add.c */ + int sequencer_image_seq_get_minmax_frame(struct wmOperator *op, int sfra, int *r_minframe, diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h index e9ea6f623ce..16ed1742f25 100644 --- a/source/blender/editors/space_text/text_intern.h +++ b/source/blender/editors/space_text/text_intern.h @@ -18,6 +18,7 @@ struct bContext; struct wmOperatorType; /* text_draw.c */ + void draw_text_main(struct SpaceText *st, struct ARegion *region); void text_update_line_edited(struct TextLine *line); @@ -94,6 +95,7 @@ int text_get_span_wrap(const struct SpaceText *st, int text_get_total_lines(struct SpaceText *st, struct ARegion *region); /* text_ops.c */ + enum { LINE_BEGIN, LINE_END, @@ -168,7 +170,9 @@ void TEXT_OT_resolve_conflict(struct wmOperatorType *ot); bool text_space_edit_poll(struct bContext *C); /* text_autocomplete.c */ + void TEXT_OT_autocomplete(struct wmOperatorType *ot); /* space_text.c */ + extern const char *text_context_dir[]; /* doc access */ diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index 0c5ff5a63cb..53fc450107a 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -27,12 +27,15 @@ struct wmOperatorType; struct wmWindowManager; /* view3d_header.c */ + void VIEW3D_OT_toggle_matcap_flip(struct wmOperatorType *ot); /* view3d_ops.c */ + void view3d_operatortypes(void); /* view3d_edit.c */ + void VIEW3D_OT_zoom_camera_1_to_1(struct wmOperatorType *ot); void VIEW3D_OT_view_lock_clear(struct wmOperatorType *ot); void VIEW3D_OT_view_lock_to_active(struct wmOperatorType *ot); @@ -51,6 +54,7 @@ void VIEW3D_OT_toggle_shading(struct wmOperatorType *ot); void VIEW3D_OT_toggle_xray(struct wmOperatorType *ot); /* view3d_draw.c */ + void view3d_main_region_draw(const struct bContext *C, struct ARegion *region); /** * Information drawn on top of the solid plates and composed data. @@ -80,6 +84,7 @@ void view3d_depths_rect_create(struct ARegion *region, struct rcti *rect, struct float view3d_depth_near(struct ViewDepths *d); /* view3d_select.c */ + void VIEW3D_OT_select(struct wmOperatorType *ot); void VIEW3D_OT_select_circle(struct wmOperatorType *ot); void VIEW3D_OT_select_box(struct wmOperatorType *ot); @@ -88,6 +93,7 @@ void VIEW3D_OT_select_menu(struct wmOperatorType *ot); void VIEW3D_OT_bone_select_menu(struct wmOperatorType *ot); /* view3d_utils.c */ + /** * For home, center etc. */ @@ -103,6 +109,7 @@ bool ED_view3d_boundbox_clip_ex(const RegionView3D *rv3d, bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const struct BoundBox *bb); /* view3d_view.c */ + void VIEW3D_OT_camera_to_view(struct wmOperatorType *ot); void VIEW3D_OT_camera_to_view_selected(struct wmOperatorType *ot); void VIEW3D_OT_object_as_camera(struct wmOperatorType *ot); @@ -137,6 +144,7 @@ void view3d_viewmatrix_set(struct Depsgraph *depsgraph, /* Called in transform_ops.c, on each regeneration of key-maps. */ /* view3d_placement.c */ + void viewplace_modal_keymap(struct wmKeyConfig *keyconf); /* view3d_buttons.c */ @@ -191,12 +199,15 @@ void VIEW3D_OT_snap_cursor_to_selected(struct wmOperatorType *ot); void VIEW3D_OT_snap_cursor_to_active(struct wmOperatorType *ot); /* view3d_placement.c */ + void VIEW3D_OT_interactive_add(struct wmOperatorType *ot); /* space_view3d.c */ + extern const char *view3d_context_dir[]; /* doc access */ /* view3d_widgets.c */ + void VIEW3D_GGT_light_spot(struct wmGizmoGroupType *gzgt); void VIEW3D_GGT_light_area(struct wmGizmoGroupType *gzgt); void VIEW3D_GGT_light_target(struct wmGizmoGroupType *gzgt); diff --git a/source/blender/editors/space_view3d/view3d_navigate.h b/source/blender/editors/space_view3d/view3d_navigate.h index 127d08580dc..fc7bc11295a 100644 --- a/source/blender/editors/space_view3d/view3d_navigate.h +++ b/source/blender/editors/space_view3d/view3d_navigate.h @@ -133,6 +133,7 @@ typedef struct ViewOpsData { } ViewOpsData; /* view3d_navigate.c */ + bool view3d_location_poll(struct bContext *C); bool view3d_rotation_poll(struct bContext *C); bool view3d_zoom_or_dolly_poll(struct bContext *C); @@ -172,19 +173,23 @@ void VIEW3D_OT_view_orbit(struct wmOperatorType *ot); void VIEW3D_OT_view_pan(struct wmOperatorType *ot); /* view3d_navigate_dolly.c */ + void viewdolly_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_dolly(struct wmOperatorType *ot); /* view3d_navigate_fly.c */ + void fly_modal_keymap(struct wmKeyConfig *keyconf); void view3d_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_fly(struct wmOperatorType *ot); /* view3d_navigate_move.c */ + void viewmove_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_move(struct wmOperatorType *ot); /* view3d_navigate_ndof.c */ + #ifdef WITH_INPUT_NDOF struct wmNDOFMotionData; @@ -205,9 +210,11 @@ void VIEW3D_OT_ndof_all(struct wmOperatorType *ot); #endif /* WITH_INPUT_NDOF */ /* view3d_navigate_roll.c */ + void VIEW3D_OT_view_roll(struct wmOperatorType *ot); /* view3d_navigate_rotate.c */ + void viewrotate_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_rotate(struct wmOperatorType *ot); @@ -255,12 +262,15 @@ void ED_view3d_smooth_view_force_finish(struct bContext *C, void VIEW3D_OT_smoothview(struct wmOperatorType *ot); /* view3d_navigate_walk.c */ + void walk_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_walk(struct wmOperatorType *ot); /* view3d_navigate_zoom.c */ + void viewzoom_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_zoom(struct wmOperatorType *ot); /* view3d_navigate_zoom_border.c */ + void VIEW3D_OT_zoom_border(struct wmOperatorType *ot); diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index 37478dfc187..ea0e3708672 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -721,6 +721,7 @@ struct wmKeyMap *transform_modal_keymap(struct wmKeyConfig *keyconf); * \{ */ /* transform_gizmo.c */ + #define GIZMO_AXIS_LINE_WIDTH 2.0f bool gimbal_axis_pose(struct Object *ob, const struct bPoseChannel *pchan, float gmat[3][3]); diff --git a/source/blender/editors/transform/transform_convert.h b/source/blender/editors/transform/transform_convert.h index 1aac8f36442..2b338f6ad08 100644 --- a/source/blender/editors/transform/transform_convert.h +++ b/source/blender/editors/transform/transform_convert.h @@ -134,6 +134,7 @@ void createTransCurveVerts(TransInfo *t); void recalcData_curve(TransInfo *t); /* transform_convert_graph.c */ + /** * It is important to note that this doesn't always act on the selection (like it's usually done), * it acts on a subset of it. E.g. the selection code may leave a hint that we just dragged on a @@ -149,24 +150,29 @@ void recalcData_graphedit(TransInfo *t); void special_aftertrans_update__graph(bContext *C, TransInfo *t); /* transform_convert_gpencil.c */ + void createTransGPencil(bContext *C, TransInfo *t); /* force recalculation of triangles during transformation */ void recalcData_gpencil_strokes(TransInfo *t); /* transform_convert_lattice.c */ + void createTransLatticeVerts(TransInfo *t); void recalcData_lattice(TransInfo *t); /* transform_convert_mask.c */ + void createTransMaskingData(bContext *C, TransInfo *t); void recalcData_mask_common(TransInfo *t); void special_aftertrans_update__mask(bContext *C, TransInfo *t); /* transform_convert_mball.c */ + void createTransMBallVerts(TransInfo *t); void recalcData_mball(TransInfo *t); /* transform_convert_mesh.c */ + struct TransIslandData { float (*center)[3]; float (*axismtx)[3][3]; @@ -230,65 +236,78 @@ void recalcData_mesh(TransInfo *t); void special_aftertrans_update__mesh(bContext *C, TransInfo *t); /* transform_convert_mesh_edge.c */ + void createTransEdge(TransInfo *t); void recalcData_mesh_edge(TransInfo *t); /* transform_convert_mesh_skin.c */ + void createTransMeshSkin(TransInfo *t); void recalcData_mesh_skin(TransInfo *t); /* transform_convert_mesh_uv.c */ + void createTransUVs(bContext *C, TransInfo *t); /* helper for recalcData() - for Image Editor transforms */ void recalcData_uv(TransInfo *t); /* transform_convert_nla.c */ + void createTransNlaData(bContext *C, TransInfo *t); /* helper for recalcData() - for NLA Editor transforms */ void recalcData_nla(TransInfo *t); void special_aftertrans_update__nla(bContext *C, TransInfo *t); /* transform_convert_node.c */ + void createTransNodeData(TransInfo *t); void flushTransNodes(TransInfo *t); void special_aftertrans_update__node(bContext *C, TransInfo *t); /* transform_convert_object.c */ + void createTransObject(bContext *C, TransInfo *t); /* helper for recalcData() - for object transforms, typically in the 3D view */ void recalcData_objects(TransInfo *t); void special_aftertrans_update__object(bContext *C, TransInfo *t); /* transform_convert_object_texspace.c */ + void createTransTexspace(TransInfo *t); /* helper for recalcData() - for object transforms, typically in the 3D view */ void recalcData_texspace(TransInfo *t); /* transform_convert_paintcurve.c */ + void createTransPaintCurveVerts(bContext *C, TransInfo *t); void flushTransPaintCurve(TransInfo *t); /* transform_convert_particle.c */ + void createTransParticleVerts(TransInfo *t); void recalcData_particles(TransInfo *t); /* transform_convert_sculpt.c */ + void createTransSculpt(bContext *C, TransInfo *t); void recalcData_sculpt(TransInfo *t); void special_aftertrans_update__sculpt(bContext *C, TransInfo *t); /* transform_convert_sequencer.c */ + void createTransSeqData(TransInfo *t); /* helper for recalcData() - for sequencer transforms */ void recalcData_sequencer(TransInfo *t); void special_aftertrans_update__sequencer(bContext *C, TransInfo *t); /* transform_convert_sequencer_image.c */ + void createTransSeqImageData(TransInfo *t); void recalcData_sequencer_image(TransInfo *t); void special_aftertrans_update__sequencer_image(bContext *C, TransInfo *t); /* transform_convert_tracking.c */ + void createTransTrackingData(bContext *C, TransInfo *t); /* helper for recalcData() - for Movie Clip transforms */ void recalcData_tracking(TransInfo *t); diff --git a/source/blender/editors/transform/transform_mode.h b/source/blender/editors/transform/transform_mode.h index 8fde43ffd38..6930b87090c 100644 --- a/source/blender/editors/transform/transform_mode.h +++ b/source/blender/editors/transform/transform_mode.h @@ -24,6 +24,7 @@ typedef struct TransDataGenericSlideVert { } TransDataGenericSlideVert; /* transform_mode.c */ + int transform_mode_really_used(struct bContext *C, int mode); bool transdata_check_local_center(const TransInfo *t, short around); /** @@ -66,97 +67,127 @@ void transform_mode_init(TransInfo *t, struct wmOperator *op, int mode); void transform_mode_default_modal_orientation_set(TransInfo *t, int type); /* transform_mode_align.c */ + void initAlign(TransInfo *t); /* transform_mode_baketime.c */ + void initBakeTime(TransInfo *t); /* transform_mode_bbone_resize.c */ + void initBoneSize(TransInfo *t); /* transform_mode_bend.c */ + void initBend(TransInfo *t); /* transform_mode_boneenvelope.c */ + void initBoneEnvelope(TransInfo *t); /* transform_mode_boneroll.c */ + void initBoneRoll(TransInfo *t); /* transform_mode_curveshrinkfatten.c */ + void initCurveShrinkFatten(TransInfo *t); /* transform_mode_edge_bevelweight.c */ + void initBevelWeight(TransInfo *t); /* transform_mode_edge_crease.c */ + void initEgdeCrease(TransInfo *t); void initVertCrease(TransInfo *t); /* transform_mode_edge_rotate_normal.c */ + void initNormalRotation(TransInfo *t); /* transform_mode_edge_seq_slide.c */ + void initSeqSlide(TransInfo *t); /* transform_mode_edge_slide.c */ + void drawEdgeSlide(TransInfo *t); void initEdgeSlide_ex( TransInfo *t, bool use_double_side, bool use_even, bool flipped, bool use_clamp); void initEdgeSlide(TransInfo *t); /* transform_mode_gpopacity.c */ + void initGPOpacity(TransInfo *t); /* transform_mode_gpshrinkfatten.c */ + void initGPShrinkFatten(TransInfo *t); /* transform_mode_maskshrinkfatten.c */ + void initMaskShrinkFatten(TransInfo *t); /* transform_mode_mirror.c */ + void initMirror(TransInfo *t); /* transform_mode_push_pull.c */ + void initPushPull(TransInfo *t); /* transform_mode_resize.c */ + void initResize(TransInfo *t, float mouse_dir_constraint[3]); /* transform_mode_rotate.c */ + void initRotation(TransInfo *t); /* transform_mode_shear.c */ + void initShear(TransInfo *t); /* transform_mode_shrink_fatten.c */ + void initShrinkFatten(TransInfo *t); /* transform_mode_skin_resize.c */ + void initSkinResize(TransInfo *t); /* transform_mode_tilt.c */ + void initTilt(TransInfo *t); /* transform_mode_timescale.c */ + void initTimeScale(TransInfo *t); /* transform_mode_timeslide.c */ + void initTimeSlide(TransInfo *t); /* transform_mode_timetranslate.c */ + void initTimeTranslate(TransInfo *t); /* transform_mode_tosphere.c */ + void initToSphere(TransInfo *t); /* transform_mode_trackball.c */ + void initTrackball(TransInfo *t); /* transform_mode_translate.c */ + void initTranslation(TransInfo *t); /* transform_mode_vert_slide.c */ + void drawVertSlide(TransInfo *t); void initVertSlide_ex(TransInfo *t, bool use_even, bool flipped, bool use_clamp); void initVertSlide(TransInfo *t); diff --git a/source/blender/editors/uvedit/uvedit_intern.h b/source/blender/editors/uvedit/uvedit_intern.h index b73a02e8de6..181982f0b2c 100644 --- a/source/blender/editors/uvedit/uvedit_intern.h +++ b/source/blender/editors/uvedit/uvedit_intern.h @@ -150,6 +150,7 @@ void UV_OT_stitch(struct wmOperatorType *ot); void UV_OT_smart_project(struct wmOperatorType *ot); /* uvedit_path.c */ + void UV_OT_shortest_path_pick(struct wmOperatorType *ot); void UV_OT_shortest_path_select(struct wmOperatorType *ot); diff --git a/source/blender/gpencil_modifiers/MOD_gpencil_modifiertypes.h b/source/blender/gpencil_modifiers/MOD_gpencil_modifiertypes.h index e88d864a86e..9025fecacd8 100644 --- a/source/blender/gpencil_modifiers/MOD_gpencil_modifiertypes.h +++ b/source/blender/gpencil_modifiers/MOD_gpencil_modifiertypes.h @@ -38,4 +38,5 @@ extern GpencilModifierTypeInfo modifierType_Gpencil_Shrinkwrap; extern GpencilModifierTypeInfo modifierType_Gpencil_Envelope; /* MOD_gpencil_util.c */ + void gpencil_modifier_type_init(GpencilModifierTypeInfo *types[]); diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index ba4f70f7683..c0c25022836 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -363,6 +363,7 @@ typedef struct GPUShaderConfigData { const char *def; } GPUShaderConfigData; /* gpu_shader.c */ + extern const GPUShaderConfigData GPU_shader_cfg_data[GPU_SHADER_CFG_LEN]; GPUShader *GPU_shader_get_builtin_shader_with_config(eGPUBuiltinShader shader, diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h index 785e4e13748..a8ee5187d98 100644 --- a/source/blender/gpu/intern/gpu_private.h +++ b/source/blender/gpu/intern/gpu_private.h @@ -11,6 +11,7 @@ extern "C" { #endif /* gpu_pbvh.c */ + void gpu_pbvh_init(void); void gpu_pbvh_exit(void); diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index ed049bb6a9d..64bd1616494 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -2169,6 +2169,7 @@ enum { }; /* object_vgroup.c */ + /** #ToolSettings.vgroupsubset */ typedef enum eVGroupSelect { WT_VGROUP_ALL = 0, diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index a850f8862bc..b09a9ab0733 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -1412,6 +1412,7 @@ static char *rna_operator_description_cb(bContext *C, wmOperatorType *ot, Pointe static void rna_Operator_unregister(struct Main *bmain, StructRNA *type); /* bpy_operator_wrap.c */ + extern void BPY_RNA_operator_wrapper(wmOperatorType *ot, void *userdata); extern void BPY_RNA_operator_macro_wrapper(wmOperatorType *ot, void *userdata); diff --git a/source/blender/modifiers/intern/MOD_meshcache_util.h b/source/blender/modifiers/intern/MOD_meshcache_util.h index f7efdd86add..276bdf72bc3 100644 --- a/source/blender/modifiers/intern/MOD_meshcache_util.h +++ b/source/blender/modifiers/intern/MOD_meshcache_util.h @@ -7,6 +7,7 @@ #pragma once /* MOD_meshcache_mdd.c */ + bool MOD_meshcache_read_mdd_index(FILE *fp, float (*vertexCos)[3], int vertex_tot, @@ -29,6 +30,7 @@ bool MOD_meshcache_read_mdd_times(const char *filepath, const char **err_str); /* MOD_meshcache_pc2.c */ + bool MOD_meshcache_read_pc2_index( FILE *fp, float (*vertexCos)[3], int verts_tot, int index, float factor, const char **err_str); bool MOD_meshcache_read_pc2_frame(FILE *fp, @@ -47,6 +49,7 @@ bool MOD_meshcache_read_pc2_times(const char *filepath, const char **err_str); /* MOD_meshcache_util.c */ + void MOD_meshcache_calc_range( float frame, char interp, int frame_tot, int r_index_range[2], float *r_factor); diff --git a/source/blender/modifiers/intern/MOD_solidify_util.h b/source/blender/modifiers/intern/MOD_solidify_util.h index 7d40853c6f4..2d279302f25 100644 --- a/source/blender/modifiers/intern/MOD_solidify_util.h +++ b/source/blender/modifiers/intern/MOD_solidify_util.h @@ -7,11 +7,13 @@ #pragma once /* MOD_solidify_extrude.c */ + Mesh *MOD_solidify_extrude_modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh); /* MOD_solidify_nonmanifold.c */ + Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh); diff --git a/source/blender/python/BPY_extern_clog.h b/source/blender/python/BPY_extern_clog.h index f6ecf634d26..09c845177ad 100644 --- a/source/blender/python/BPY_extern_clog.h +++ b/source/blender/python/BPY_extern_clog.h @@ -9,5 +9,6 @@ #pragma once /* bpy_interface.c */ + extern struct CLG_LogRef *BPY_LOG_RNA; extern struct CLG_LogRef *BPY_LOG_CONTEXT; diff --git a/source/blender/python/intern/bpy.h b/source/blender/python/intern/bpy.h index bbf699c1f48..313385b7f5d 100644 --- a/source/blender/python/intern/bpy.h +++ b/source/blender/python/intern/bpy.h @@ -18,6 +18,7 @@ void BPy_init_modules(struct bContext *C); extern PyObject *bpy_package_py; /* bpy_interface_atexit.c */ + void BPY_atexit_register(void); void BPY_atexit_unregister(void); diff --git a/source/blender/render/RE_bake.h b/source/blender/render/RE_bake.h index 3a4a3e6dcb9..da48599fdf9 100644 --- a/source/blender/render/RE_bake.h +++ b/source/blender/render/RE_bake.h @@ -61,6 +61,7 @@ typedef struct BakeHighPolyData { } BakeHighPolyData; /* external_engine.c */ + bool RE_bake_has_engine(const struct Render *re); bool RE_bake_engine(struct Render *re, @@ -74,6 +75,7 @@ bool RE_bake_engine(struct Render *re, float result[]); /* bake.c */ + int RE_pass_depth(eScenePassType pass_type); bool RE_bake_pixels_populate_from_objects(struct Mesh *me_low, diff --git a/source/blender/shader_fx/FX_shader_types.h b/source/blender/shader_fx/FX_shader_types.h index 71ef6ea06ba..b8990ad0df5 100644 --- a/source/blender/shader_fx/FX_shader_types.h +++ b/source/blender/shader_fx/FX_shader_types.h @@ -22,4 +22,5 @@ extern ShaderFxTypeInfo shaderfx_Type_Swirl; extern ShaderFxTypeInfo shaderfx_Type_Wave; /* FX_shaderfx_util.c */ + void shaderfx_type_init(ShaderFxTypeInfo *types[]); diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index b0fb0c5d6df..1427200b9cd 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -1052,6 +1052,7 @@ bool WM_paneltype_add(struct PanelType *pt); void WM_paneltype_remove(struct PanelType *pt); /* wm_gesture_ops.c */ + int WM_gesture_box_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event); int WM_gesture_box_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event); void WM_gesture_box_cancel(struct bContext *C, struct wmOperator *op); diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 6df65f2a2a3..5d341c479a7 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -1245,6 +1245,7 @@ typedef struct RecentFile { /* Logging */ struct CLG_LogRef; /* wm_init_exit.c */ + extern struct CLG_LogRef *WM_LOG_OPERATORS; extern struct CLG_LogRef *WM_LOG_HANDLERS; extern struct CLG_LogRef *WM_LOG_EVENTS; diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_api.h b/source/blender/windowmanager/gizmo/WM_gizmo_api.h index fe73daeed29..80d29bb8c40 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_api.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_api.h @@ -180,6 +180,7 @@ void WM_gizmo_properties_clear(struct PointerRNA *ptr); void WM_gizmo_properties_free(struct PointerRNA *ptr); /* wm_gizmo_type.c */ + const struct wmGizmoType *WM_gizmotype_find(const char *idname, bool quiet); void WM_gizmotype_append(void (*gtfunc)(struct wmGizmoType *)); void WM_gizmotype_append_ptr(void (*gtfunc)(struct wmGizmoType *, void *), void *userdata); @@ -195,6 +196,7 @@ void WM_gizmotype_free_ptr(struct wmGizmoType *gzt); void WM_gizmotype_iter(struct GHashIterator *ghi); /* wm_gizmo_group_type.c */ + struct wmGizmoGroupType *WM_gizmogrouptype_find(const char *idname, bool quiet); struct wmGizmoGroupType *WM_gizmogrouptype_append(void (*wtfunc)(struct wmGizmoGroupType *)); struct wmGizmoGroupType *WM_gizmogrouptype_append_ptr(void (*wtfunc)(struct wmGizmoGroupType *, @@ -228,6 +230,7 @@ void WM_gizmoconfig_update(struct Main *bmain); void WM_gizmoconfig_update_tag_group_remove(struct wmGizmoMap *gzmap); /* wm_maniulator_target_props.c */ + struct wmGizmoProperty *WM_gizmo_target_property_array(struct wmGizmo *gz); struct wmGizmoProperty *WM_gizmo_target_property_at_index(struct wmGizmo *gz, int index); struct wmGizmoProperty *WM_gizmo_target_property_find(struct wmGizmo *gz, const char *idname); diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h index d7723978728..0b54560c56a 100644 --- a/source/blender/windowmanager/wm.h +++ b/source/blender/windowmanager/wm.h @@ -68,6 +68,7 @@ void wm_window_keymap(wmKeyConfig *keyconf); void wm_operatortypes_register(void); /* wm_gesture.c */ + /* called in wm_draw.c */ void wm_gesture_draw(struct wmWindow *win); diff --git a/source/blender/windowmanager/wm_draw.h b/source/blender/windowmanager/wm_draw.h index 3351fa2c637..6061ed3296f 100644 --- a/source/blender/windowmanager/wm_draw.h +++ b/source/blender/windowmanager/wm_draw.h @@ -28,6 +28,7 @@ struct bContext; struct wmWindow; /* wm_draw.c */ + void wm_draw_update(struct bContext *C); void wm_draw_region_clear(struct wmWindow *win, struct ARegion *region); void wm_draw_region_blend(struct ARegion *region, int view, bool blend); diff --git a/source/blender/windowmanager/xr/intern/wm_xr_intern.h b/source/blender/windowmanager/xr/intern/wm_xr_intern.h index 9480104150a..3fc1f362541 100644 --- a/source/blender/windowmanager/xr/intern/wm_xr_intern.h +++ b/source/blender/windowmanager/xr/intern/wm_xr_intern.h @@ -184,10 +184,12 @@ typedef struct wmXrActionSet { } wmXrActionSet; /* wm_xr.c */ + wmXrRuntimeData *wm_xr_runtime_data_create(void); void wm_xr_runtime_data_free(wmXrRuntimeData **runtime); /* wm_xr_session.c */ + void wm_xr_session_data_free(wmXrSessionState *state); wmWindow *wm_xr_session_root_window_or_fallback_get(const wmWindowManager *wm, const wmXrRuntimeData *runtime_data); diff --git a/source/blender/windowmanager/xr/wm_xr.h b/source/blender/windowmanager/xr/wm_xr.h index 0d7d8f70525..5eb17ceac4b 100644 --- a/source/blender/windowmanager/xr/wm_xr.h +++ b/source/blender/windowmanager/xr/wm_xr.h @@ -12,10 +12,12 @@ struct wmXrData; typedef void (*wmXrSessionExitFn)(const wmXrData *xr_data); /* wm_xr.c */ + bool wm_xr_init(wmWindowManager *wm); void wm_xr_exit(wmWindowManager *wm); void wm_xr_session_toggle(wmWindowManager *wm, wmWindow *win, wmXrSessionExitFn session_exit_fn); bool wm_xr_events_handle(wmWindowManager *wm); /* wm_xr_operators.c */ + void wm_xr_operatortypes_register(void); -- cgit v1.2.3