forked from bartvdbraak/blender
Code Cleanup: remove non existing function declarations.
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
This commit is contained in:
parent
0cec655b29
commit
7cc206ddca
@ -57,8 +57,6 @@ void BLF_lang_init(void);
|
||||
void BLF_lang_set(const char *);
|
||||
|
||||
/* Set the current encoding name. */
|
||||
void BLF_lang_encoding_name(const char *str);
|
||||
|
||||
void BLF_lang_encoding(const char *str);
|
||||
|
||||
/* translation */
|
||||
|
@ -613,7 +613,6 @@ DerivedMesh *mesh_create_derived_no_virtual(struct Scene *scene, struct Object *
|
||||
DerivedMesh *mesh_create_derived_physics(struct Scene *scene, struct Object *ob, float (*vertCos)[3],
|
||||
CustomDataMask dataMask);
|
||||
|
||||
DerivedMesh *editbmesh_get_derived(struct BMEditMesh *em, float (*vertexCos)[3]);
|
||||
DerivedMesh *editbmesh_get_derived_base(struct Object *, struct BMEditMesh *em);
|
||||
DerivedMesh *editbmesh_get_derived_cage(struct Scene *scene, struct Object *,
|
||||
struct BMEditMesh *em, CustomDataMask dataMask);
|
||||
@ -630,11 +629,6 @@ void makeDerivedMesh(struct Scene *scene, struct Object *ob, struct BMEditMesh *
|
||||
int editbmesh_get_first_deform_matrices(struct Scene *, struct Object *, struct BMEditMesh *em,
|
||||
float (**deformmats)[3][3], float (**deformcos)[3]);
|
||||
|
||||
/* returns an array of deform matrices for crazyspace correction when sculpting,
|
||||
and the number of modifiers left */
|
||||
int sculpt_get_deform_matrices(struct Scene *scene, struct Object *ob,
|
||||
float (**deformmats)[3][3], float (**deformcos)[3]);
|
||||
|
||||
void weight_to_rgb(float r_rgb[3], const float weight);
|
||||
/* Update the weight MCOL preview layer.
|
||||
* If weights are NULL, use object's active vgroup(s).
|
||||
|
@ -90,7 +90,6 @@ extern void BKE_reset_undo(void);
|
||||
extern char *BKE_undo_menu_string(void);
|
||||
extern void BKE_undo_number(struct bContext *C, int nr);
|
||||
extern const char *BKE_undo_get_name(int nr, int *active);
|
||||
void BKE_undo_save(char *fname);
|
||||
extern void BKE_undo_save_quit(void);
|
||||
extern struct Main *BKE_undo_get_main(struct Scene **scene);
|
||||
|
||||
|
@ -52,7 +52,6 @@ void brush_reset_sculpt(struct Brush *brush);
|
||||
struct ImBuf *get_brush_icon(struct Brush *brush);
|
||||
|
||||
/* brush library operations used by different paint panels */
|
||||
int brush_delete(struct Brush **current_brush);
|
||||
int brush_texture_set_nr(struct Brush *brush, int nr);
|
||||
int brush_texture_delete(struct Brush *brush);
|
||||
int brush_clone_image_set_nr(struct Brush *brush, int nr);
|
||||
|
@ -203,11 +203,6 @@ int implicit_free ( struct ClothModifierData *clmd );
|
||||
int implicit_solver ( struct Object *ob, float frame, struct ClothModifierData *clmd, struct ListBase *effectors );
|
||||
void implicit_set_positions ( struct ClothModifierData *clmd );
|
||||
|
||||
// globally needed
|
||||
void clmdSetInterruptCallBack ( int ( *f ) ( void ) );
|
||||
////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
// cloth.c
|
||||
////////////////////////////////////////////////
|
||||
@ -218,7 +213,6 @@ void cloth_free_modifier ( struct ClothModifierData *clmd );
|
||||
void cloth_init ( struct ClothModifierData *clmd );
|
||||
void clothModifier_do ( struct ClothModifierData *clmd, struct Scene *scene, struct Object *ob, struct DerivedMesh *dm, float (*vertexCos)[3]);
|
||||
|
||||
void cloth_update_normals ( ClothVertex *verts, int nVerts, struct MFace *face, int totface );
|
||||
int cloth_uses_vgroup(struct ClothModifierData *clmd);
|
||||
|
||||
// needed for collision.c
|
||||
|
@ -135,16 +135,10 @@ void bvhtree_update_from_mvert ( BVHTree * bvhtree, struct MFace *faces, int num
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
struct LinkNode *BLI_linklist_append_fast ( struct LinkNode **listp, void *ptr );
|
||||
|
||||
// move Collision modifier object inter-frame with step = [0,1]
|
||||
// defined in collisions.c
|
||||
void collision_move_object ( struct CollisionModifierData *collmd, float step, float prevstep );
|
||||
|
||||
// interface for collision functions
|
||||
void collisions_compute_barycentric ( float pv[3], float p1[3], float p2[3], float p3[3], float *w1, float *w2, float *w3 );
|
||||
void interpolateOnTriangle ( float to[3], float v1[3], float v2[3], float v3[3], double w1, double w2, double w3 );
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
// used in effect.c
|
||||
/////////////////////////////////////////////////
|
||||
|
@ -291,11 +291,7 @@ void CustomData_bmesh_set_default(struct CustomData *data, void **block);
|
||||
void CustomData_bmesh_free_block(struct CustomData *data, void **block);
|
||||
|
||||
/* copy custom data to/from layers as in mesh/derivedmesh, to editmesh
|
||||
blocks of data. the CustomData's must not be compatible */
|
||||
void CustomData_to_em_block(const struct CustomData *source,
|
||||
struct CustomData *dest, int index, void **block);
|
||||
void CustomData_from_em_block(const struct CustomData *source,
|
||||
struct CustomData *dest, void *block, int index);
|
||||
* blocks of data. the CustomData's must not be compatible */
|
||||
void CustomData_to_bmesh_block(const struct CustomData *source,
|
||||
struct CustomData *dest, int src_index, void **dest_block);
|
||||
void CustomData_from_bmesh_block(const struct CustomData *source,
|
||||
|
@ -97,9 +97,6 @@ short are_obs_related(struct DagForest *dag, void *ob1, void *ob2);
|
||||
int is_acyclic(struct DagForest *dag); //
|
||||
//int get_cycles(struct DagForest *dag, struct DagNodeQueue **queues, int *count); //
|
||||
|
||||
void boundbox_deps(void);
|
||||
void draw_all_deps(void);
|
||||
|
||||
/* ********** API *************** */
|
||||
/* Note that the DAG never executes changes in Objects, only sets flags in Objects */
|
||||
|
||||
|
@ -109,10 +109,6 @@ typedef struct EffectorCache {
|
||||
int flag;
|
||||
} EffectorCache;
|
||||
|
||||
struct Effect *copy_effect(struct Effect *eff);
|
||||
void copy_effects(struct ListBase *lbn, struct ListBase *lb);
|
||||
void deselectall_eff(struct Object *ob);
|
||||
|
||||
void free_partdeflect(struct PartDeflect *pd);
|
||||
struct ListBase *pdInitEffectors(struct Scene *scene, struct Object *ob_src, struct ParticleSystem *psys_src, struct EffectorWeights *weights);
|
||||
void pdEndEffectors(struct ListBase **effectors);
|
||||
|
@ -75,7 +75,6 @@ void IDP_ResizeIDPArray(struct IDProperty *prop, int len);
|
||||
/*this function works for strings too!*/
|
||||
void IDP_ResizeArray(struct IDProperty *prop, int newlen);
|
||||
void IDP_FreeArray(struct IDProperty *prop);
|
||||
void IDP_UnlinkArray(struct IDProperty *prop);
|
||||
|
||||
/* ---------- String Type ------------ */
|
||||
IDProperty *IDP_NewString(const char *st, const char *name, int maxlen);/* maxlen excludes '\0' */
|
||||
|
@ -149,9 +149,6 @@ void BKE_image_assign_ibuf(struct Image *ima, struct ImBuf *ibuf);
|
||||
void BKE_image_user_calc_frame(struct ImageUser *iuser, int cfra, int fieldnr);
|
||||
int BKE_image_user_get_frame(const struct ImageUser *iuser, int cfra, int fieldnr);
|
||||
|
||||
/* fix things in ImageUser when new image gets assigned */
|
||||
void BKE_image_user_new_image(struct Image *ima, struct ImageUser *iuser);
|
||||
|
||||
/* sets index offset for multilayer files */
|
||||
struct RenderPass *BKE_image_multilayer_index(struct RenderResult *rr, struct ImageUser *iuser);
|
||||
|
||||
|
@ -83,9 +83,10 @@ void BKE_library_make_local(struct Main *bmain, struct Library *lib, int untagge
|
||||
struct ID *find_id(const char *type, const char *name);
|
||||
void clear_id_newpoins(void);
|
||||
|
||||
void IDnames_to_pupstring(const char **str, const char *title, const char *extraops, struct ListBase *lb,struct ID* link, short *nr);
|
||||
void IMAnames_to_pupstring(const char **str, const char *title, const char *extraops, struct ListBase *lb, struct ID *link, short *nr);
|
||||
void IPOnames_to_pupstring(const char **str, const char *title, const char *extraops, struct ListBase *lb, struct ID* link, short *nr, int blocktype);
|
||||
void IDnames_to_pupstring(const char **str, const char *title, const char *extraops,
|
||||
struct ListBase *lb,struct ID* link, short *nr);
|
||||
void IMAnames_to_pupstring(const char **str, const char *title, const char *extraops,
|
||||
struct ListBase *lb, struct ID *link, short *nr);
|
||||
|
||||
void flag_listbase_ids(ListBase *lb, short flag, short value);
|
||||
void flag_all_listbases_ids(short flag, short value);
|
||||
|
@ -50,7 +50,6 @@ void free_material(struct Material *sc);
|
||||
void test_object_materials(struct ID *id);
|
||||
void resize_object_material(struct Object *ob, const short totcol);
|
||||
void init_material(struct Material *ma);
|
||||
struct Material *add_material_main(struct Main *main, const char *name);
|
||||
struct Material *add_material(const char *name);
|
||||
struct Material *copy_material(struct Material *ma);
|
||||
struct Material *localize_material(struct Material *ma);
|
||||
@ -99,10 +98,6 @@ void free_matcopybuf(void);
|
||||
void copy_matcopybuf(struct Material *ma);
|
||||
void paste_matcopybuf(struct Material *ma);
|
||||
|
||||
void clear_mat_mtex_copybuf(void);
|
||||
void copy_mat_mtex_copybuf(struct ID *id);
|
||||
void paste_mat_mtex_copybuf(struct ID *id);
|
||||
|
||||
/* handle backward compatibility for tface/materials called from doversion (fileload=1) or Help Menu (fileload=0) */
|
||||
int do_version_tface(struct Main *main, int fileload);
|
||||
|
||||
|
@ -253,11 +253,6 @@ void create_vert_poly_map(struct ListBase **map, IndexNode **mem,
|
||||
void create_vert_edge_map(struct ListBase **map, IndexNode **mem, const struct MEdge *medge,
|
||||
const int totvert, const int totedge);
|
||||
|
||||
/* functions for making menu's from customdata layers */
|
||||
int mesh_layers_menu_charlen(struct CustomData *data, int type); /* use this to work out how many chars to allocate */
|
||||
void mesh_layers_menu_concat(struct CustomData *data, int type, char *str);
|
||||
int mesh_layers_menu(struct CustomData *data, int type);
|
||||
|
||||
/* vertex level transformations & checks (no derived mesh) */
|
||||
|
||||
int minmax_mesh(struct Mesh *me, float min[3], float max[3]);
|
||||
|
@ -55,8 +55,6 @@ void BKE_movieclip_aspect(struct MovieClip *clip, float *aspx, float *aspy);
|
||||
int BKE_movieclip_has_frame(struct MovieClip *clip, struct MovieClipUser *user);
|
||||
void BKE_movieclip_user_set_frame(struct MovieClipUser *user, int framenr);
|
||||
|
||||
void BKE_movieclip_select_track(struct MovieClip *clip, struct MovieTrackingTrack *track, int area, int extend);
|
||||
|
||||
void BKE_movieclip_update_scopes(struct MovieClip *clip, struct MovieClipUser *user, struct MovieClipScopes *scopes);
|
||||
|
||||
void BKE_movieclip_get_cache_segments(struct MovieClip *clip, struct MovieClipUser *user, int *totseg_r, int **points_r);
|
||||
|
@ -713,9 +713,7 @@ struct TexResult;
|
||||
|
||||
/* API */
|
||||
int ntreeTexTagAnimated(struct bNodeTree *ntree);
|
||||
void ntreeTexSetPreviewFlag(int);
|
||||
void ntreeTexCheckCyclics(struct bNodeTree *ntree);
|
||||
char* ntreeTexOutputMenu(struct bNodeTree *ntree);
|
||||
|
||||
struct bNodeTreeExec *ntreeTexBeginExecTree(struct bNodeTree *ntree, int use_tree_data);
|
||||
void ntreeTexEndExecTree(struct bNodeTreeExec *exec, int use_tree_data);
|
||||
|
@ -83,9 +83,6 @@ struct Object *copy_object(struct Object *ob);
|
||||
void make_local_object(struct Object *ob);
|
||||
int object_is_libdata(struct Object *ob);
|
||||
int object_data_is_libdata(struct Object *ob);
|
||||
void set_mblur_offs(float blur);
|
||||
void set_field_offs(float field);
|
||||
void disable_speed_curve(int val);
|
||||
|
||||
void object_scale_to_mat3(struct Object *ob, float mat[][3]);
|
||||
void object_rot_to_mat3(struct Object *ob, float mat[][3]);
|
||||
@ -122,7 +119,6 @@ void BKE_scene_foreach_display_point(
|
||||
|
||||
int BKE_object_parent_loop_check(const struct Object *parent, const struct Object *ob);
|
||||
|
||||
void solve_tracking (struct Object *ob, float targetmat[][4]);
|
||||
int ray_hit_boundbox(struct BoundBox *bb, float ray_start[3], float ray_normal[3]);
|
||||
|
||||
void *object_tfm_backup(struct Object *ob);
|
||||
|
@ -288,12 +288,6 @@ void BKE_ptcache_mem_pointers_init(struct PTCacheMem *pm);
|
||||
void BKE_ptcache_mem_pointers_incr(struct PTCacheMem *pm);
|
||||
int BKE_ptcache_mem_pointers_seek(int point_index, struct PTCacheMem *pm);
|
||||
|
||||
/* Copy a specific data type from cache data to point data. */
|
||||
void BKE_ptcache_data_get(void **data, int type, int index, void *to);
|
||||
|
||||
/* Copy a specific data type from point data to cache data. */
|
||||
void BKE_ptcache_data_set(void **data, int type, void *from);
|
||||
|
||||
/* Main cache reading call. */
|
||||
int BKE_ptcache_read(PTCacheID *pid, float cfra);
|
||||
|
||||
|
@ -286,7 +286,6 @@ void seq_update_sound_bounds_all(struct Scene *scene);
|
||||
void seq_update_sound_bounds(struct Scene* scene, struct Sequence *seq);
|
||||
void seq_update_muting(struct Editing *ed);
|
||||
void seq_update_sound(struct Scene *scene, struct bSound *sound);
|
||||
void seqbase_sound_reload(struct Scene *scene, ListBase *seqbase);
|
||||
void seqbase_unique_name_recursive(ListBase *seqbasep, struct Sequence *seq);
|
||||
void seqbase_dupli_recursive(struct Scene *scene, struct Scene *scene_to, ListBase *nseqbase, ListBase *seqbase, int dupe_flag);
|
||||
|
||||
|
@ -92,8 +92,6 @@ void txt_backspace_word (struct Text *text);
|
||||
int txt_add_char (struct Text *text, unsigned int add);
|
||||
int txt_add_raw_char (struct Text *text, unsigned int add);
|
||||
int txt_replace_char (struct Text *text, unsigned int add);
|
||||
void txt_export_to_object(struct Text *text);
|
||||
void txt_export_to_objects(struct Text *text);
|
||||
void txt_unindent (struct Text *text);
|
||||
void txt_comment (struct Text *text);
|
||||
void txt_indent (struct Text *text);
|
||||
@ -107,8 +105,6 @@ struct TextMarker *txt_find_marker (struct Text *text, struct TextLine *line, i
|
||||
struct TextMarker *txt_find_marker_region (struct Text *text, struct TextLine *line, int start, int end, int group, int flags);
|
||||
struct TextMarker *txt_prev_marker (struct Text *text, struct TextMarker *marker);
|
||||
struct TextMarker *txt_next_marker (struct Text *text, struct TextMarker *marker);
|
||||
struct TextMarker *txt_prev_marker_color (struct Text *text, struct TextMarker *marker);
|
||||
struct TextMarker *txt_next_marker_color (struct Text *text, struct TextMarker *marker);
|
||||
|
||||
/* utility functions, could be moved somewhere more generic but are python/text related */
|
||||
int text_check_bracket(char ch);
|
||||
|
@ -132,6 +132,4 @@ void graph_print_queue(DagNodeQueue *nqueue);
|
||||
void graph_print_queue_dist(DagNodeQueue *nqueue);
|
||||
void graph_print_adj_list(void);
|
||||
|
||||
int build_deps(short mask);
|
||||
|
||||
#endif
|
||||
#endif /* __DEPSGRAPH_PRIVATE_H__ */
|
||||
|
@ -48,8 +48,6 @@ typedef enum {
|
||||
CCGSubSurf* ccgSubSurf_new (CCGMeshIFC *ifc, int subdivisionLevels, CCGAllocatorIFC *allocatorIFC, CCGAllocatorHDL allocator);
|
||||
void ccgSubSurf_free (CCGSubSurf *ss);
|
||||
|
||||
CCGError ccgSubSurf_sync (CCGSubSurf *ss);
|
||||
|
||||
CCGError ccgSubSurf_initFullSync (CCGSubSurf *ss);
|
||||
CCGError ccgSubSurf_initPartialSync (CCGSubSurf *ss);
|
||||
|
||||
|
@ -2773,3 +2773,23 @@ void CDDM_set_mface(DerivedMesh *dm, MFace *mface)
|
||||
|
||||
cddm->mface = mface;
|
||||
}
|
||||
|
||||
void CDDM_set_mloop(DerivedMesh *dm, MLoop *mloop)
|
||||
{
|
||||
CDDerivedMesh *cddm = (CDDerivedMesh*)dm;
|
||||
|
||||
if (!CustomData_has_layer(&dm->loopData, CD_MLOOP))
|
||||
CustomData_add_layer(&dm->loopData, CD_MLOOP, CD_ASSIGN, mloop, dm->numLoopData);
|
||||
|
||||
cddm->mloop = mloop;
|
||||
}
|
||||
|
||||
void CDDM_set_mpoly(DerivedMesh *dm, MPoly *mpoly)
|
||||
{
|
||||
CDDerivedMesh *cddm = (CDDerivedMesh*)dm;
|
||||
|
||||
if (!CustomData_has_layer(&dm->polyData, CD_MPOLY))
|
||||
CustomData_add_layer(&dm->polyData, CD_MPOLY, CD_ASSIGN, mpoly, dm->numPolyData);
|
||||
|
||||
cddm->mpoly = mpoly;
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ DLRBT_Node *BLI_dlrbTree_add(DLRBT_Tree *tree, DLRBT_Comparator_FP cmp_cb,
|
||||
|
||||
/* Remove the given element from the tree and balance again */
|
||||
// FIXME: this is not implemented yet...
|
||||
void BLI_dlrbTree_remove(DLRBT_Tree *tree, DLRBT_Node *node);
|
||||
// void BLI_dlrbTree_remove(DLRBT_Tree *tree, DLRBT_Node *node);
|
||||
|
||||
/* Node Operations (Manual) --------------------- */
|
||||
/* These methods require custom code for creating BST nodes and adding them to the
|
||||
|
@ -141,7 +141,6 @@ void BLI_flagArcs(BGraph *graph, int flag);
|
||||
|
||||
int BLI_hasAdjacencyList(BGraph *rg);
|
||||
void BLI_buildAdjacencyList(BGraph *rg);
|
||||
void BLI_rebuildAdjacencyList(BGraph* rg);
|
||||
void BLI_rebuildAdjacencyListForNode(BGraph* rg, BNode *node);
|
||||
void BLI_freeAdjacencyList(BGraph *rg);
|
||||
|
||||
|
@ -44,17 +44,17 @@ struct BLI_mempool_chunk;
|
||||
|
||||
typedef struct BLI_mempool BLI_mempool;
|
||||
|
||||
/*allow_iter allows iteration on this mempool. note: this requires that the
|
||||
first four bytes of the elements never contain the character string
|
||||
'free'. use with care.*/
|
||||
/* allow_iter allows iteration on this mempool. note: this requires that the
|
||||
* first four bytes of the elements never contain the character string
|
||||
* 'free'. use with care.*/
|
||||
|
||||
BLI_mempool *BLI_mempool_create(int esize, int tote, int pchunk,
|
||||
short use_sysmalloc, short allow_iter);
|
||||
void *BLI_mempool_alloc(BLI_mempool *pool);
|
||||
void *BLI_mempool_calloc(BLI_mempool *pool);
|
||||
void BLI_mempool_free(BLI_mempool *pool, void *addr);
|
||||
void BLI_mempool_destroy(BLI_mempool *pool);
|
||||
int BLI_mempool_count(BLI_mempool *pool);
|
||||
void BLI_mempool_free(BLI_mempool *pool, void *addr);
|
||||
void BLI_mempool_destroy(BLI_mempool *pool);
|
||||
int BLI_mempool_count(BLI_mempool *pool);
|
||||
void *BLI_mempool_findelem(BLI_mempool *pool, int index);
|
||||
|
||||
/** iteration stuff. note: this may easy to produce bugs with **/
|
||||
@ -65,11 +65,7 @@ typedef struct BLI_mempool_iter {
|
||||
int curindex;
|
||||
} BLI_mempool_iter;
|
||||
|
||||
/*allow iteration on this mempool. note: this requires that the
|
||||
first four bytes of the elements never contain the character string
|
||||
'free'. use with care.*/
|
||||
void BLI_mempool_allow_iter(BLI_mempool *pool);
|
||||
void BLI_mempool_iternew(BLI_mempool *pool, BLI_mempool_iter *iter);
|
||||
void BLI_mempool_iternew(BLI_mempool *pool, BLI_mempool_iter *iter);
|
||||
void *BLI_mempool_iterstep(BLI_mempool_iter *iter);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -241,6 +241,11 @@ void BLI_mempool_free(BLI_mempool *pool, void *addr)
|
||||
}
|
||||
}
|
||||
|
||||
int BLI_mempool_count(BLI_mempool *pool)
|
||||
{
|
||||
return pool->totused;
|
||||
}
|
||||
|
||||
void *BLI_mempool_findelem(BLI_mempool *pool, int index)
|
||||
{
|
||||
if (!pool->allow_iter) {
|
||||
|
@ -39,7 +39,6 @@ struct ReportList;
|
||||
|
||||
extern int BLO_write_file(struct Main *mainvar, const char *filepath, int write_flags, struct ReportList *reports, int *thumb);
|
||||
extern int BLO_write_file_mem(struct Main *mainvar, struct MemFile *compare, struct MemFile *current, int write_flags);
|
||||
extern int BLO_write_runtime(struct Main *mainvar, const char *file, char *exename, struct ReportList *reports);
|
||||
|
||||
#define BLEN_THUMB_SIZE 128
|
||||
|
||||
|
@ -42,15 +42,16 @@ int BMO_error_occurred(BMesh *bm);
|
||||
int BMO_error_pop(BMesh *bm, const char **msg, BMOperator **op);
|
||||
void BMO_error_clear(BMesh *bm);
|
||||
|
||||
#if 0
|
||||
//this is meant for handling errors, like self-intersection test failures.
|
||||
//it's dangerous to handle errors in general though, so disabled for now.
|
||||
/* this is meant for handling errors, like self-intersection test failures.
|
||||
* it's dangerous to handle errors in general though, so disabled for now. */
|
||||
|
||||
/* catches an error raised by the op pointed to by catchop.
|
||||
* errorcode is either the errorcode, or BMERR_ALL for any
|
||||
* error.*/
|
||||
int BMO_error_catch_op(BMesh *bm, BMOperator *catchop, int errorcode, char **msg);
|
||||
#endif
|
||||
|
||||
/* not yet implimented.
|
||||
* int BMO_error_catch_op(BMesh *bm, BMOperator *catchop, int errorcode, char **msg);
|
||||
*/
|
||||
|
||||
#define BM_ELEM_INDEX_VALIDATE(_bm, _msg_a, _msg_b) \
|
||||
BM_mesh_elem_index_validate(_bm, __FILE__ ":" STRINGIFY(__LINE__), __func__, _msg_a, _msg_b)
|
||||
|
@ -36,7 +36,6 @@ BMFace *BM_face_create(BMesh *bm, BMVert **verts, BMEdge **edges, const int len,
|
||||
void BM_face_edges_kill(BMesh *bm, BMFace *f);
|
||||
void BM_face_verts_kill(BMesh *bm, BMFace *f);
|
||||
|
||||
void BM_loop_kill(BMesh *bm, BMLoop *l);
|
||||
void BM_face_kill(BMesh *bm, BMFace *f);
|
||||
void BM_edge_kill(BMesh *bm, BMEdge *e);
|
||||
void BM_vert_kill(BMesh *bm, BMVert *v);
|
||||
|
@ -42,10 +42,8 @@ void bmo_triangulate_exec(BMesh *bmesh, BMOperator *op);
|
||||
void bmo_dissolve_faces_exec(BMesh *bmesh, BMOperator *op);
|
||||
void bmo_dissolve_verts_exec(BMesh *bmesh, BMOperator *op);
|
||||
void bmo_dissolve_limit_exec(BMesh *bmesh, BMOperator *op);
|
||||
void bmo_make_fgons_exec(BMesh *bmesh, BMOperator *op);
|
||||
void bmo_extrude_face_region_exec(BMesh *bm, BMOperator *op);
|
||||
void bmo_connectverts_exec(BMesh *bm, BMOperator *op);
|
||||
void bmo_makeprim_exec(BMesh *bm, BMOperator *op);
|
||||
void bmo_extrude_vert_indiv_exec(BMesh *bm, BMOperator *op);
|
||||
void bmo_mesh_to_bmesh_exec(BMesh *bm, BMOperator *op);
|
||||
void bmo_bmesh_to_mesh_exec(BMesh *bm, BMOperator *op);
|
||||
|
@ -72,10 +72,6 @@ void bmesh_face_normal_update_vertex_cos(BMesh *bm, BMFace *f, float no[3],
|
||||
|
||||
void compute_poly_plane(float (*verts)[3], int nverts);
|
||||
void poly_rotate_plane(const float normal[3], float (*verts)[3], const int nverts);
|
||||
void bmesh_flip_normal(BMesh *bm, BMFace *f);
|
||||
|
||||
BMEdge *bmesh_disk_next(BMEdge *e, BMVert *v);
|
||||
BMEdge *bmesh_disk_prev(BMEdge *e, BMVert *v);
|
||||
|
||||
/* include the rest of our private declarations */
|
||||
#include "bmesh_structure.h"
|
||||
|
@ -51,14 +51,9 @@ struct EditMesh;
|
||||
struct LaplacianSystem;
|
||||
typedef struct LaplacianSystem LaplacianSystem;
|
||||
|
||||
LaplacianSystem *laplacian_construct_begin(int totvert, int totface, int lsq);
|
||||
|
||||
void laplacian_add_vertex(LaplacianSystem *sys, float *co, int pinned);
|
||||
void laplacian_add_triangle(LaplacianSystem *sys, int v1, int v2, int v3);
|
||||
|
||||
void laplacian_construct_end(LaplacianSystem *sys);
|
||||
void laplacian_delete(LaplacianSystem *sys);
|
||||
|
||||
void laplacian_begin_solve(LaplacianSystem *sys, int index);
|
||||
void laplacian_add_right_hand_side(LaplacianSystem *sys, int v, float value);
|
||||
int laplacian_system_solve(LaplacianSystem *sys);
|
||||
|
@ -161,8 +161,6 @@ void initArcIteratorStart(BArcIterator *iter, struct ReebArc *arc, struct ReebNo
|
||||
/* Filtering */
|
||||
void filterNullReebGraph(ReebGraph *rg);
|
||||
int filterSmartReebGraph(ReebGraph *rg, float threshold);
|
||||
int filterExternalReebGraph(ReebGraph *rg, float threshold);
|
||||
int filterInternalReebGraph(ReebGraph *rg, float threshold);
|
||||
|
||||
/* Post-Build processing */
|
||||
void repositionNodes(ReebGraph *rg);
|
||||
|
@ -124,7 +124,5 @@ void CURVE_OT_vertex_add(struct wmOperatorType *ot);
|
||||
void CURVE_OT_extrude(struct wmOperatorType *ot);
|
||||
void CURVE_OT_cyclic_toggle(struct wmOperatorType *ot);
|
||||
|
||||
void CURVE_OT_specials_menu(struct wmOperatorType *ot);
|
||||
|
||||
#endif /* ED_UTIL_INTERN_H */
|
||||
|
||||
|
@ -128,7 +128,6 @@ struct EditBone *ED_armature_edit_bone_add(struct bArmature *arm, const char *na
|
||||
void ED_armature_edit_bone_remove(struct bArmature *arm, EditBone *exBone);
|
||||
|
||||
void transform_armature_mirror_update(struct Object *obedit);
|
||||
void clear_armature(struct Scene *scene, struct Object *ob, char mode);
|
||||
void docenter_armature (struct Scene *scene, struct Object *ob, float cursor[3], int centermode, int around);
|
||||
|
||||
void ED_armature_apply_transform(struct Object *ob, float mat[4][4]);
|
||||
@ -139,7 +138,6 @@ void ED_armature_apply_transform(struct Object *ob, float mat[4][4]);
|
||||
|
||||
void create_vgroups_from_armature(struct ReportList *reports, struct Scene *scene, struct Object *ob, struct Object *par, int mode, int mirror);
|
||||
|
||||
void auto_align_armature(struct Scene *scene, struct View3D *v3d, short mode);
|
||||
void unique_editbone_name(struct ListBase *ebones, char *name, EditBone *bone); /* if bone is already in list, pass it as param to ignore it */
|
||||
void ED_armature_bone_rename(struct bArmature *arm, const char *oldnamep, const char *newnamep);
|
||||
|
||||
|
@ -83,7 +83,6 @@ void free_editText (struct Object *obedit);
|
||||
void ED_text_to_object(struct bContext *C, struct Text *text, int split_lines);
|
||||
|
||||
int CU_select_nth(struct Object *obedit, int nth);
|
||||
ListBase *ED_curve_editnurbs(struct Curve *cu);
|
||||
|
||||
void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, struct BezTriple *src, int count);
|
||||
void ED_curve_bpcpy(struct EditNurb *editnurb, struct BPoint *dst, struct BPoint *src, int count);
|
||||
|
@ -86,15 +86,12 @@ void gpencil_panel_standard(const struct bContext *C, struct Panel *pa);
|
||||
short gplayer_frames_looper(struct bGPDlayer *gpl, struct Scene *scene, short (*gpf_cb)(struct bGPDframe *, struct Scene *));
|
||||
void gplayer_make_cfra_list(struct bGPDlayer *gpl, ListBase *elems, short onlysel);
|
||||
|
||||
void deselect_gpencil_layers(void *data, short select_mode);
|
||||
|
||||
short is_gplayer_frame_selected(struct bGPDlayer *gpl);
|
||||
void set_gplayer_frame_selection(struct bGPDlayer *gpl, short mode);
|
||||
void select_gpencil_frames(struct bGPDlayer *gpl, short select_mode);
|
||||
void select_gpencil_frame(struct bGPDlayer *gpl, int selx, short select_mode);
|
||||
void borderselect_gplayer_frames(struct bGPDlayer *gpl, float min, float max, short select_mode);
|
||||
|
||||
void delete_gpencil_layers(void);
|
||||
void delete_gplayer_frames(struct bGPDlayer *gpl);
|
||||
void duplicate_gplayer_frames(struct bGPDlayer *gpd);
|
||||
|
||||
|
@ -181,9 +181,6 @@ int EDBM_select_interior_faces(struct BMEditMesh *em);
|
||||
struct UvElementMap *EDBM_make_uv_element_map(struct BMEditMesh *em, int selected, int doIslands);
|
||||
void EDBM_free_uv_element_map(struct UvElementMap *vmap);
|
||||
|
||||
void EDBM_add_data_layer(struct BMEditMesh *em, struct CustomData *data, int type, const char *name);
|
||||
void EDBM_free_data_layer(struct BMEditMesh *em, struct CustomData *data, int type);
|
||||
|
||||
void EDBM_select_swap(struct BMEditMesh *em); /* exported for UV */
|
||||
|
||||
int EDBM_texFaceCheck(struct BMEditMesh *em);
|
||||
@ -232,7 +229,6 @@ void EMBM_project_snap_verts(struct bContext *C, struct ARegion *ar, struct Obje
|
||||
|
||||
/* editface.c */
|
||||
void paintface_flush_flags(struct Object *ob);
|
||||
struct MTexPoly *EM_get_active_mtexpoly(struct BMEditMesh *em, struct BMFace **act_efa, struct MLoopCol **col, int sloppy);
|
||||
int paintface_mouse_select(struct bContext *C, struct Object *ob, const int mval[2], int extend);
|
||||
int do_paintface_box_select(struct ViewContext *vc, struct rcti *rect, int select, int extend);
|
||||
void paintface_deselect_all_visible(struct Object *ob, int action, short flush_flags);
|
||||
|
@ -111,8 +111,6 @@ void ED_screen_full_prevspace(struct bContext *C, ScrArea *sa);
|
||||
void ED_screen_full_restore(struct bContext *C, ScrArea *sa);
|
||||
struct ScrArea *ED_screen_full_toggle(struct bContext *C, struct wmWindow *win, struct ScrArea *sa);
|
||||
|
||||
void ED_screen_new_window(struct bContext *C, struct rcti *position, int type);
|
||||
|
||||
/* anim */
|
||||
void ED_update_for_newframe(struct Main *bmain, struct Scene *scene, struct bScreen *screen, int mute);
|
||||
|
||||
|
@ -108,13 +108,6 @@ struct Base;
|
||||
struct Scene;
|
||||
struct Object;
|
||||
|
||||
#if 0 /* UNUSED, deprecate? */
|
||||
void BIF_setSingleAxisConstraint(float vec[3], char *text);
|
||||
void BIF_setDualAxisConstraint(float vec1[3], float vec2[3], char *text);
|
||||
void BIF_setLocalAxisConstraint(char axis, char *text);
|
||||
void BIF_setLocalLockConstraint(char axis, char *text);
|
||||
#endif
|
||||
|
||||
int BIF_snappingSupported(struct Object *obedit);
|
||||
|
||||
struct TransformOrientation;
|
||||
@ -125,7 +118,6 @@ void BIF_clearTransformOrientation(struct bContext *C);
|
||||
void BIF_removeTransformOrientation(struct bContext *C, struct TransformOrientation *ts);
|
||||
void BIF_removeTransformOrientationIndex(struct bContext *C, int index);
|
||||
void BIF_createTransformOrientation(struct bContext *C, struct ReportList *reports, char *name, int use, int overwrite);
|
||||
int BIF_menuselectTransformOrientation(void);
|
||||
void BIF_selectTransformOrientation(struct bContext *C, struct TransformOrientation *ts);
|
||||
void BIF_selectTransformOrientationValue(struct bContext *C, int orientation);
|
||||
|
||||
|
@ -56,7 +56,6 @@ int ED_uvedit_minmax(struct Scene *scene, struct Image *ima, struct Object *obed
|
||||
int ED_object_get_active_image(struct Object *ob, int mat_nr, struct Image **ima, struct ImageUser **iuser, struct bNode **node);
|
||||
void ED_object_assign_active_image(struct Main *bmain, struct Object *ob, int mat_nr, struct Image *ima);
|
||||
|
||||
int ED_uvedit_test_silent(struct Object *obedit);
|
||||
int ED_uvedit_test(struct Object *obedit);
|
||||
|
||||
/* visibility and selection */
|
||||
|
@ -237,7 +237,6 @@ void ED_view3d_clipping_set(struct RegionView3D *rv3d);
|
||||
void ED_view3d_clipping_enable(void);
|
||||
void ED_view3d_clipping_disable(void);
|
||||
|
||||
void ED_view3d_align_axis_to_vector(struct View3D *v3d, struct RegionView3D *rv3d, int axisidx, float vec[3]);
|
||||
float ED_view3d_pixel_size(struct RegionView3D *rv3d, const float co[3]);
|
||||
|
||||
void drawcircball(int mode, const float cent[3], float rad, float tmat[][4]);
|
||||
|
@ -268,7 +268,6 @@ void uiRoundBox(float minx, float miny, float maxx, float maxy, float rad);
|
||||
void uiSetRoundBox(int type);
|
||||
int uiGetRoundBox(void);
|
||||
void uiRoundRect(float minx, float miny, float maxx, float maxy, float rad);
|
||||
void uiDrawMenuBox(float minx, float miny, float maxx, float maxy, short flag, short direction);
|
||||
void uiDrawBoxShadow(unsigned char alpha, float minx, float miny, float maxx, float maxy);
|
||||
void uiDrawBox(int mode, float minx, float miny, float maxx, float maxy, float rad);
|
||||
void uiDrawBoxShade(int mode, float minx, float miny, float maxx, float maxy, float rad, float shadetop, float shadedown);
|
||||
@ -612,7 +611,6 @@ void uiEndPanel(uiBlock *block, int width, int height);
|
||||
* as screen/ if ED_KEYMAP_UI is set, or internally in popup functions. */
|
||||
|
||||
void UI_add_region_handlers(struct ListBase *handlers);
|
||||
void UI_add_area_handlers(struct ListBase *handlers);
|
||||
void UI_add_popup_handlers(struct bContext *C, struct ListBase *handlers, uiPopupBlockHandle *popup);
|
||||
void UI_remove_popup_handlers(struct ListBase *handlers, uiPopupBlockHandle *popup);
|
||||
|
||||
|
@ -103,9 +103,6 @@ void MESH_OT_edge_face_add(struct wmOperatorType *ot);
|
||||
void MESH_OT_dupli_extrude_cursor(struct wmOperatorType *ot);
|
||||
void MESH_OT_duplicate(struct wmOperatorType *ot);
|
||||
|
||||
void MESH_OT_fgon_make(struct wmOperatorType *ot);
|
||||
void MESH_OT_fgon_clear(struct wmOperatorType *ot);
|
||||
|
||||
extern int EM_view3d_poll(struct bContext *C);
|
||||
|
||||
struct wmKeyMap* knifetool_modal_keymap(struct wmKeyConfig *keyconf);
|
||||
@ -118,7 +115,6 @@ void MESH_OT_knife_cut(struct wmOperatorType *ot);
|
||||
void MESH_OT_loop_select(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_all(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_interior_faces(struct wmOperatorType *ot);
|
||||
void MESH_OT_bmesh_test(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_more(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_less(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_non_manifold(struct wmOperatorType *ot);
|
||||
@ -140,7 +136,6 @@ void MESH_OT_mark_seam(struct wmOperatorType *ot);
|
||||
void MESH_OT_mark_sharp(struct wmOperatorType *ot);
|
||||
void MESH_OT_vertices_smooth(struct wmOperatorType *ot);
|
||||
void MESH_OT_noise(struct wmOperatorType *ot);
|
||||
void EXPORT_MESH_OT_wavefront(struct wmOperatorType *ot);
|
||||
void MESH_OT_flip_normals(struct wmOperatorType *ot);
|
||||
void MESH_OT_solidify(struct wmOperatorType *ot);
|
||||
void MESH_OT_select_nth(struct wmOperatorType *ot);
|
||||
@ -153,7 +148,6 @@ void MESH_OT_subdivide(struct wmOperatorType *ot);
|
||||
void MESH_OT_remove_doubles(struct wmOperatorType *ot);
|
||||
void MESH_OT_vertices_randomize(struct wmOperatorType *ot);
|
||||
void MESH_OT_vertices_sort(struct wmOperatorType *ot);
|
||||
void MESH_OT_extrude(struct wmOperatorType *ot);
|
||||
void MESH_OT_spin(struct wmOperatorType *ot);
|
||||
void MESH_OT_screw(struct wmOperatorType *ot);
|
||||
|
||||
|
@ -50,15 +50,8 @@ struct Sculpt;
|
||||
struct SculptStroke;
|
||||
|
||||
/* Interface */
|
||||
void sculptmode_selectbrush_menu(void);
|
||||
void sculptmode_draw_mesh(int);
|
||||
void sculpt_paint_brush(char clear);
|
||||
void sculpt_stroke_draw(struct SculptStroke *);
|
||||
void sculpt_radialcontrol_start(int mode);
|
||||
struct MultiresModifierData *sculpt_multires_active(struct Scene *scene, struct Object *ob);
|
||||
|
||||
struct Brush *sculptmode_brush(void);
|
||||
|
||||
void sculpt(Sculpt *sd);
|
||||
|
||||
int sculpt_poll(struct bContext *C);
|
||||
@ -68,11 +61,6 @@ void sculpt_update_mesh_elements(struct Scene *scene, struct Sculpt *sd, struct
|
||||
void free_sculptsession_deformMats(struct SculptSession *ss);
|
||||
|
||||
/* Stroke */
|
||||
struct SculptStroke *sculpt_stroke_new(const int max);
|
||||
void sculpt_stroke_free(struct SculptStroke *);
|
||||
void sculpt_stroke_add_point(struct SculptStroke *, const short x, const short y);
|
||||
void sculpt_stroke_apply(struct Sculpt *sd, struct SculptStroke *);
|
||||
void sculpt_stroke_apply_all(struct Sculpt *sd, struct SculptStroke *);
|
||||
int sculpt_stroke_get_location(bContext *C, float out[3], float mouse[2]);
|
||||
|
||||
/* Undo */
|
||||
|
@ -47,12 +47,6 @@ struct bAnimListElem;
|
||||
void draw_channel_names(struct bContext *C, struct bAnimContext *ac, struct ARegion *ar);
|
||||
void draw_channel_strips(struct bAnimContext *ac, struct SpaceAction *saction, struct ARegion *ar);
|
||||
|
||||
struct ActKeysInc *init_aki_data(struct bAnimContext *ac, struct bAnimListElem *ale);
|
||||
|
||||
/* ***************************************** */
|
||||
/* action_header.c */
|
||||
void action_header_buttons(const struct bContext *C, struct ARegion *ar);
|
||||
|
||||
/* ***************************************** */
|
||||
/* action_select.c */
|
||||
|
||||
|
@ -50,9 +50,6 @@ ConsoleLine *console_scrollback_add_str(struct SpaceConsole *sc, char *str, int
|
||||
|
||||
ConsoleLine *console_history_verify(const struct bContext *C);
|
||||
|
||||
int console_report_mask(SpaceConsole *sc);
|
||||
|
||||
|
||||
void CONSOLE_OT_move(struct wmOperatorType *ot);
|
||||
void CONSOLE_OT_delete(struct wmOperatorType *ot);
|
||||
void CONSOLE_OT_insert(struct wmOperatorType *ot);
|
||||
|
@ -50,7 +50,6 @@ struct ARegion *file_buttons_region(struct ScrArea *sa);
|
||||
|
||||
void file_draw_buttons(const bContext *C, ARegion *ar);
|
||||
void file_calc_previews(const bContext *C, ARegion *ar);
|
||||
void file_draw_previews(const bContext *C, ARegion *ar);
|
||||
void file_draw_list(const bContext *C, ARegion *ar);
|
||||
|
||||
void file_draw_check_cb(bContext *C, void *arg1, void *arg2);
|
||||
@ -72,7 +71,6 @@ void FILE_OT_execute(struct wmOperatorType *ot);
|
||||
void FILE_OT_cancel(struct wmOperatorType *ot);
|
||||
void FILE_OT_parent(struct wmOperatorType *ot);
|
||||
void FILE_OT_directory_new(struct wmOperatorType *ot);
|
||||
void FILE_OT_filename(struct wmOperatorType *ot);
|
||||
void FILE_OT_directory(struct wmOperatorType *ot);
|
||||
void FILE_OT_previous(struct wmOperatorType *ot);
|
||||
void FILE_OT_next(struct wmOperatorType *ot);
|
||||
|
@ -160,8 +160,6 @@ void graph_buttons_register(struct ARegionType *art);
|
||||
|
||||
struct bAnimListElem *get_active_fcurve_channel(struct bAnimContext *ac);
|
||||
|
||||
short fcurve_needs_draw_fmodifier_controls(struct FCurve *fcu, struct FModifier *fcm);
|
||||
|
||||
int graphop_visible_keyframes_poll(struct bContext *C);
|
||||
int graphop_editable_keyframes_poll(struct bContext *C);
|
||||
int graphop_active_fcurve_poll(struct bContext *C);
|
||||
|
@ -51,8 +51,6 @@ struct ARegion *image_has_scope_region(struct ScrArea *sa);
|
||||
|
||||
extern const char *image_context_dir[]; /* doc access */
|
||||
|
||||
void IMAGE_OT_toolbox(struct wmOperatorType *ot);
|
||||
|
||||
/* image_draw.c */
|
||||
void draw_image_main(struct SpaceImage *sima, struct ARegion *ar, struct Scene *scene);
|
||||
void draw_image_grease_pencil(struct bContext *C, short onlyv2d);
|
||||
|
@ -62,7 +62,6 @@ typedef struct bNodeLinkDrag
|
||||
ARegion *node_has_buttons_region(ScrArea *sa);
|
||||
|
||||
/* node_header.c */
|
||||
void node_header_buttons(const bContext *C, ARegion *ar);
|
||||
void node_menus_register(void);
|
||||
|
||||
/* node_draw.c */
|
||||
@ -105,7 +104,6 @@ void node_draw_link_bezier(View2D *v2d, SpaceNode *snode, bNodeLink *link, int t
|
||||
int node_link_bezier_points(View2D *v2d, SpaceNode *snode, bNodeLink *link, float coord_array[][2], int resol);
|
||||
void node_draw_link_straight(View2D *v2d, SpaceNode *snode, bNodeLink *link, int th_col1, int do_shaded, int th_col2, int do_triple, int th_col3 );
|
||||
void draw_nodespace_back_pix(ARegion *ar, SpaceNode *snode, int color_manage);
|
||||
void draw_nodespace_color_info(struct ARegion *ar, int color_manage, int channels, int x, int y, const char cp[4], const float fp[4]);
|
||||
|
||||
/* node_edit.c */
|
||||
void node_tree_from_ID(ID *id, bNodeTree **ntree, bNodeTree **edittree, int *treetype);
|
||||
@ -116,7 +114,6 @@ void snode_set_context(SpaceNode *snode, Scene *scene);
|
||||
void snode_make_group_editable(SpaceNode *snode, bNode *gnode);
|
||||
void snode_composite_job(const struct bContext *C, ScrArea *sa);
|
||||
bNode *node_tree_get_editgroup(bNodeTree *ntree);
|
||||
void node_tree_verify_groups(bNodeTree *nodetree);
|
||||
void snode_autoconnect(SpaceNode *snode, int allow_multiple, int replace);
|
||||
int node_has_hidden_sockets(bNode *node, short flag);
|
||||
void node_set_hidden_sockets(SpaceNode *snode, bNode *node, short flag, int set);
|
||||
|
@ -63,7 +63,6 @@ struct Sequence *find_nearest_seq(struct Scene *scene, struct View2D *v2d, int *
|
||||
struct Sequence *find_neighboring_sequence(struct Scene *scene, struct Sequence *test, int lr, int sel);
|
||||
void deselect_all_seq(struct Scene *scene);
|
||||
void recurs_sel_seq(struct Sequence *seqm);
|
||||
int event_to_efftype(int event);
|
||||
int seq_effect_find_selected(struct Scene *scene, struct Sequence *activeseq, int type, struct Sequence **selseq1, struct Sequence **selseq2, struct Sequence **selseq3, const char **error_str);
|
||||
|
||||
/* operator helpers */
|
||||
|
@ -62,7 +62,6 @@ struct wmWindowManager;
|
||||
#define DRAW_FACE_SELECT 2
|
||||
|
||||
/* view3d_header.c */
|
||||
void view3d_header_buttons(const struct bContext *C, struct ARegion *ar);
|
||||
void VIEW3D_OT_layers(struct wmOperatorType *ot);
|
||||
|
||||
/* view3d_ops.c */
|
||||
@ -92,7 +91,6 @@ void VIEW3D_OT_manipulator(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_enable_manipulator(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_render_border(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_zoom_border(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_drawtype(struct wmOperatorType *ot);
|
||||
|
||||
void view3d_boxview_copy(ScrArea *sa, ARegion *ar);
|
||||
void ndof_to_quat(struct wmNDOFMotionData* ndof, float q[4]);
|
||||
@ -146,7 +144,6 @@ float view3d_depth_near(struct ViewDepths *d);
|
||||
|
||||
/* view3d_select.c */
|
||||
void VIEW3D_OT_select(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_select_extend(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_select_circle(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_select_border(struct wmOperatorType *ot);
|
||||
void VIEW3D_OT_select_lasso(struct wmOperatorType *ot);
|
||||
|
@ -554,7 +554,6 @@ int calc_manipulator_stats(const struct bContext *C);
|
||||
/*********************** TransData Creation and General Handling *********** */
|
||||
void createTransData(struct bContext *C, TransInfo *t);
|
||||
void sort_trans_data_dist(TransInfo *t);
|
||||
void add_tdi_poin(float *poin, float *old, float delta);
|
||||
void special_aftertrans_update(struct bContext *C, TransInfo *t);
|
||||
|
||||
void transform_autoik_update(TransInfo *t, short mode);
|
||||
@ -649,14 +648,11 @@ void resetTransRestrictions(TransInfo *t);
|
||||
|
||||
void drawLine(TransInfo *t, float *center, float *dir, char axis, short options);
|
||||
|
||||
TransDataCurveHandleFlags *initTransDataCurveHandes(TransData *td, struct BezTriple *bezt);
|
||||
|
||||
/* DRAWLINE options flags */
|
||||
#define DRAWLIGHT 1
|
||||
|
||||
void applyTransObjects(TransInfo *t);
|
||||
void restoreTransObjects(TransInfo *t);
|
||||
void restoreTransNodes(TransInfo *t);
|
||||
void recalcData(TransInfo *t);
|
||||
|
||||
void calculateCenter(TransInfo *t);
|
||||
@ -683,7 +679,6 @@ int createSpaceNormal(float mat[3][3], float normal[3]);
|
||||
int createSpaceNormalTangent(float mat[3][3], float normal[3], float tangent[3]);
|
||||
|
||||
struct TransformOrientation *addMatrixSpace(struct bContext *C, float mat[3][3], char name[], int overwrite);
|
||||
int addObjectSpace(struct bContext *C, struct Object *ob);
|
||||
void applyTransformOrientation(const struct bContext *C, float mat[3][3], char *name);
|
||||
|
||||
#define ORIENTATION_NONE 0
|
||||
|
@ -132,7 +132,6 @@ void GPU_uv_setup( struct DerivedMesh *dm );
|
||||
void GPU_color_setup( struct DerivedMesh *dm );
|
||||
void GPU_edge_setup( struct DerivedMesh *dm ); /* does not mix with other data */
|
||||
void GPU_uvedge_setup( struct DerivedMesh *dm );
|
||||
void GPU_interleaved_setup( GPUBuffer *buffer, int data[] );
|
||||
int GPU_attrib_element_size( GPUAttrib data[], int numdata );
|
||||
void GPU_interleaved_attrib_setup( GPUBuffer *buffer, GPUAttrib data[], int numdata );
|
||||
|
||||
|
@ -341,13 +341,6 @@ struct ImBuf *IMB_scalefastImBuf(struct ImBuf *ibuf, unsigned int newx, unsigned
|
||||
*/
|
||||
short IMB_saveiff(struct ImBuf *ibuf, const char *filepath, int flags);
|
||||
|
||||
/**
|
||||
* Encodes a png image from an ImBuf
|
||||
*
|
||||
* @attention Defined in png_encode.c
|
||||
*/
|
||||
short IMB_png_encode(struct ImBuf *ibuf, int file, int flags);
|
||||
|
||||
/**
|
||||
*
|
||||
* @attention Defined in util.c
|
||||
@ -408,14 +401,6 @@ void IMB_buffer_float_clamp(float *buf, int width, int height);
|
||||
*/
|
||||
void IMB_convert_rgba_to_abgr(struct ImBuf *ibuf);
|
||||
|
||||
/**
|
||||
* Change the ordering of the color bytes pointed to by rect from
|
||||
* rgba to abgr. size * 4 color bytes are reordered.
|
||||
*
|
||||
* @attention Defined in imageprocess.c
|
||||
*/
|
||||
void IMB_convert_bgra_to_rgba(int size, unsigned int *rect);
|
||||
|
||||
/**
|
||||
*
|
||||
* @attention defined in imageprocess.c
|
||||
|
@ -38,14 +38,8 @@
|
||||
|
||||
struct ImBuf;
|
||||
|
||||
short imb_addplanesImBuf(struct ImBuf *ibuf);
|
||||
|
||||
short imb_addencodedbufferImBuf(struct ImBuf *ibuf);
|
||||
short imb_enlargeencodedbufferImBuf(struct ImBuf *ibuf);
|
||||
|
||||
void imb_freeplanesImBuf(struct ImBuf *ibuf);
|
||||
|
||||
short imb_addcmapImBuf(struct ImBuf *ibuf);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -117,7 +117,6 @@ struct ImBuf *imb_loadtiff(unsigned char *mem, size_t size, int flags);
|
||||
void imb_loadtiletiff(struct ImBuf *ibuf, unsigned char *mem, size_t size,
|
||||
int tx, int ty, unsigned int *rect);
|
||||
int imb_savetiff(struct ImBuf *ibuf, const char *name, int flags);
|
||||
void *libtiff_findsymbol(char *name);
|
||||
|
||||
#endif /* __IMB_FILETYPE_H__ */
|
||||
|
||||
|
@ -49,10 +49,6 @@ int cineonGetSize(const CineonFile* cineon, int* xsize, int* ysize, int* channel
|
||||
CineonFile* cineonCreate(const char* filename, int xsize, int ysize, int channels);
|
||||
int cineonIsMemFileCineon(unsigned char *mem);
|
||||
|
||||
/* get / set header block NYI */
|
||||
int cineonGetHeader(CineonFile*, int*, void**);
|
||||
int cineonSetHeader(CineonFile*, int, void*);
|
||||
|
||||
/* get/set scanline of converted bytes */
|
||||
int cineonGetRowBytes(CineonFile* cineon, unsigned short* row, int y);
|
||||
int cineonSetRowBytes(CineonFile* cineon, const unsigned short* row, int y);
|
||||
|
@ -60,11 +60,7 @@ void logImageSetVerbose(int);
|
||||
LogImageFile* logImageOpenFromMem(unsigned char *buffer, unsigned int size, int cineon);
|
||||
LogImageFile* logImageOpen(const char* filename, int cineon);
|
||||
int logImageGetSize(const LogImageFile* logImage, int* xsize, int* ysize, int* channels);
|
||||
LogImageFile* logImageCreate(const char* filename, int cineon, int xsize, int ysize, int channels);
|
||||
|
||||
/* get / set header block NYI */
|
||||
int logImageGetHeader(LogImageFile*, int*, void**);
|
||||
int logImageSetHeader(LogImageFile*, int, void*);
|
||||
LogImageFile* logImageCreate(const char* filename, int cineon, int xsize, int ysize, int channels);interpolateOnTriangle
|
||||
|
||||
/* byte conversion routines for mapping logImage (usually) 10 bit values to 8 bit */
|
||||
/* see Kodak docs for details... */
|
||||
|
@ -128,7 +128,6 @@ void RNA_def_armature(struct BlenderRNA *brna);
|
||||
void RNA_def_actuator(struct BlenderRNA *brna);
|
||||
void RNA_def_boid(struct BlenderRNA *brna);
|
||||
void RNA_def_brush(struct BlenderRNA *brna);
|
||||
void RNA_def_brushclone(struct BlenderRNA *brna);
|
||||
void RNA_def_camera(struct BlenderRNA *brna);
|
||||
void RNA_def_cloth(struct BlenderRNA *brna);
|
||||
void RNA_def_color(struct BlenderRNA *brna);
|
||||
@ -247,7 +246,6 @@ void RNA_api_keymap(struct StructRNA *srna);
|
||||
void RNA_api_keymaps(struct StructRNA *srna);
|
||||
void RNA_api_keymapitem(struct StructRNA *srna);
|
||||
void RNA_api_keymapitems(struct StructRNA *srna);
|
||||
void RNA_api_area(struct StructRNA *srna);
|
||||
void RNA_api_main(struct StructRNA *srna);
|
||||
void RNA_api_material(StructRNA *srna);
|
||||
void RNA_api_mesh(struct StructRNA *srna);
|
||||
|
@ -28,6 +28,5 @@
|
||||
#define __BPY_APP_HANDLERS_H__
|
||||
|
||||
PyObject *BPY_app_handlers_struct(void);
|
||||
void BPY_app_handlers_clear(void);
|
||||
|
||||
#endif // __BPY_APP_HANDLERS_H__
|
||||
|
@ -43,8 +43,6 @@ struct Object;
|
||||
void free_sample_tables(Render *re);
|
||||
void make_sample_tables(Render *re);
|
||||
|
||||
void render_scene_set_window(Render *re, struct Object *camera, int blursample);
|
||||
|
||||
void initparts(Render *re);
|
||||
void freeparts(Render *re);
|
||||
|
||||
|
@ -62,12 +62,4 @@ void addalphaAddfacFloat(float *dest, float *source, char addfac);
|
||||
*/
|
||||
void addalphaAddFloat(float *dest, float *source);
|
||||
|
||||
/**
|
||||
* Blend bron under doel, while doing gamma correction
|
||||
*/
|
||||
void addalphaUnderGammaFloat(float *doel, float *bron);
|
||||
|
||||
|
||||
|
||||
#endif /* __PIXELBLENDING_H__ */
|
||||
|
||||
|
@ -84,9 +84,6 @@ void calc_renderco_ortho(float co[3], float x, float y, int z);
|
||||
|
||||
int count_mask(unsigned short mask);
|
||||
|
||||
void zbufshade(void);
|
||||
void zbufshadeDA(void); /* Delta Accum Pixel Struct */
|
||||
|
||||
void zbufshade_tile(struct RenderPart *pa);
|
||||
void zbufshadeDA_tile(struct RenderPart *pa);
|
||||
|
||||
|
@ -88,7 +88,6 @@ void free_renderdata_tables(struct Render *re);
|
||||
void free_renderdata_vertnodes(struct VertTableNode *vertnodes);
|
||||
void free_renderdata_vlaknodes(struct VlakTableNode *vlaknodes);
|
||||
|
||||
void set_normalflags(struct Render *re, struct ObjectRen *obr);
|
||||
void project_renderdata(struct Render *re, void (*projectfunc)(const float *, float mat[][4], float *), int do_pano, float xoffs, int do_buckets);
|
||||
int clip_render_object(float boundbox[][3], float *bounds, float mat[][4]);
|
||||
|
||||
@ -105,7 +104,6 @@ struct StrandBuffer *RE_addStrandBuffer(struct ObjectRen *obr, int totvert);
|
||||
struct ObjectRen *RE_addRenderObject(struct Render *re, struct Object *ob, struct Object *par, int index, int psysindex, int lay);
|
||||
struct ObjectInstanceRen *RE_addRenderInstance(struct Render *re, struct ObjectRen *obr, struct Object *ob, struct Object *par, int index, int psysindex, float mat[][4], int lay);
|
||||
void RE_makeRenderInstances(struct Render *re);
|
||||
void RE_instanceTransformNormal(struct ObjectInstanceRen *obi, float *nor, float *tnor);
|
||||
|
||||
float *RE_vertren_get_sticky(struct ObjectRen *obr, struct VertRen *ver, int verify);
|
||||
float *RE_vertren_get_stress(struct ObjectRen *obr, struct VertRen *ver, int verify);
|
||||
|
@ -56,7 +56,6 @@ typedef struct ShadeSample {
|
||||
|
||||
/* also the node shader callback */
|
||||
void shade_material_loop(struct ShadeInput *shi, struct ShadeResult *shr);
|
||||
void shade_volume_loop(struct ShadeInput *shi, struct ShadeResult *shr);
|
||||
|
||||
void shade_input_set_triangle_i(struct ShadeInput *shi, struct ObjectInstanceRen *obi, struct VlakRen *vlr, short i1, short i2, short i3);
|
||||
void shade_input_set_triangle(struct ShadeInput *shi, volatile int obi, volatile int facenr, int normal_flip);
|
||||
|
@ -103,14 +103,5 @@ void strand_shade_cache_free(struct StrandShadeCache *cache);
|
||||
void strand_shade_segment(struct Render *re, struct StrandShadeCache *cache, struct StrandSegment *sseg, struct ShadeSample *ssamp, float t, float s, int addpassflag);
|
||||
void strand_shade_unref(struct StrandShadeCache *cache, struct StrandVert *svert);
|
||||
|
||||
struct RenderBuckets *init_buckets(struct Render *re);
|
||||
void add_buckets_primitive(struct RenderBuckets *buckets, float *min, float *max, void *prim);
|
||||
void free_buckets(struct RenderBuckets *buckets);
|
||||
void project_hoco_to_bucket(struct RenderBuckets *buckets, float *hoco, float *bucketco);
|
||||
|
||||
struct RenderPrimitiveIterator *init_primitive_iterator(struct Render *re, struct RenderBuckets *buckets, struct RenderPart *pa);
|
||||
void *next_primitive_iterator(struct RenderPrimitiveIterator *iter);
|
||||
void free_primitive_iterator(struct RenderPrimitiveIterator *iter);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -23,6 +23,4 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
void prepare_ocean_tex_modifier(struct OceanTex *ot);
|
||||
|
||||
int ocean_texture(struct Tex *tex, float *texvec, struct TexResult *texres);
|
||||
|
@ -29,7 +29,6 @@
|
||||
* \ingroup render
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __VOXELDATA_H__
|
||||
#define __VOXELDATA_H__
|
||||
|
||||
@ -44,7 +43,6 @@ typedef struct VoxelDataHeader
|
||||
|
||||
void cache_voxeldata(Tex *tex, int scene_frame);
|
||||
void make_voxeldata(struct Render *re);
|
||||
void free_voxeldata(struct Render *re);
|
||||
int voxeldatatex(struct Tex *tex, const float texvec[3], struct TexResult *texres);
|
||||
int voxeldatatex(struct Tex *tex, const float texvec[3], struct TexResult *texres);
|
||||
|
||||
#endif /* __VOXELDATA_H__ */
|
||||
|
@ -97,8 +97,6 @@ static int rayobject_bb_intersect_test(const Isect *isec, const float *_bb)
|
||||
}
|
||||
|
||||
/* bvh tree generics */
|
||||
template<class Tree> static int bvh_intersect(Tree *obj, Isect *isec);
|
||||
|
||||
template<class Tree> static void bvh_add(Tree *obj, RayObject *ob)
|
||||
{
|
||||
rtbuild_add( obj->builder, ob );
|
||||
|
@ -97,7 +97,6 @@ int WM_read_homefile (struct bContext *C, struct ReportList *reports, short fr
|
||||
int WM_write_homefile (struct bContext *C, struct wmOperator *op);
|
||||
void WM_read_file (struct bContext *C, const char *filepath, struct ReportList *reports);
|
||||
int WM_write_file (struct bContext *C, const char *target, int fileflags, struct ReportList *reports, int copy);
|
||||
void WM_read_autosavefile(struct bContext *C);
|
||||
void WM_autosave_init (struct wmWindowManager *wm);
|
||||
|
||||
/* mouse cursors */
|
||||
@ -109,7 +108,11 @@ void WM_cursor_grab(struct wmWindow *win, int wrap, int hide, int *bounds);
|
||||
void WM_cursor_ungrab(struct wmWindow *win);
|
||||
void WM_timecursor (struct wmWindow *win, int nr);
|
||||
|
||||
void *WM_paint_cursor_activate(struct wmWindowManager *wm, int (*poll)(struct bContext *C), void (*draw)(struct bContext *C, int, int, void *customdata), void *customdata);
|
||||
void *WM_paint_cursor_activate(struct wmWindowManager *wm,
|
||||
int (*poll)(struct bContext *C),
|
||||
void (*draw)(struct bContext *C, int, int, void *customdata),
|
||||
void *customdata);
|
||||
|
||||
void WM_paint_cursor_end(struct wmWindowManager *wm, void *handle);
|
||||
|
||||
void WM_cursor_warp (struct wmWindow *win, int x, int y);
|
||||
@ -256,9 +259,6 @@ int WM_gesture_straightline_invoke(struct bContext *C, struct wmOperator *op,
|
||||
int WM_gesture_straightline_modal(struct bContext *C, struct wmOperator *op, struct wmEvent *event);
|
||||
int WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op);
|
||||
|
||||
/* default operator for arearegions, generates event */
|
||||
void WM_OT_tweak_gesture(struct wmOperatorType *ot);
|
||||
|
||||
/* Gesture manager API */
|
||||
struct wmGesture *WM_gesture_new(struct bContext *C, struct wmEvent *event, int type);
|
||||
void WM_gesture_end(struct bContext *C, struct wmGesture *gesture);
|
||||
@ -329,11 +329,6 @@ void WM_clipboard_text_set(char *buf, int selection);
|
||||
void WM_progress_set(struct wmWindow *win, float progress);
|
||||
void WM_progress_clear(struct wmWindow *win);
|
||||
|
||||
#ifdef WIN32
|
||||
/* Windows System Console */
|
||||
void WM_console_toggle(struct bContext *C, short show);
|
||||
#endif
|
||||
|
||||
/* Draw (for screenshot) */
|
||||
void WM_redraw_windows(struct bContext *C);
|
||||
|
||||
|
@ -52,8 +52,6 @@ extern void wm_clear_default_size(bContext *C);
|
||||
/* register to windowmanager for redo or macro */
|
||||
void wm_operator_register(bContext *C, wmOperator *op);
|
||||
|
||||
extern void wm_report_free(wmReport *report);
|
||||
|
||||
/* wm_operator.c, for init/exit */
|
||||
void wm_operatortype_free(void);
|
||||
void wm_operatortype_init(void);
|
||||
|
@ -56,13 +56,6 @@ extern "C" {
|
||||
|
||||
#define MAX_PROP_NAME 64
|
||||
|
||||
static inline void Py_Fatal(const char *M)
|
||||
{
|
||||
fprintf(stderr, "%s\n", M);
|
||||
exit(-1);
|
||||
};
|
||||
|
||||
|
||||
/* Use with ShowDeprecationWarning macro */
|
||||
typedef struct {
|
||||
bool warn_done;
|
||||
@ -647,8 +640,6 @@ public:
|
||||
};
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
PyObject *py_getattr_dict(PyObject *pydict, PyObject *tp_dict);
|
||||
|
||||
PyObject *PyUnicode_From_STR_String(const STR_String& str);
|
||||
#endif
|
||||
|
||||
|
@ -193,9 +193,6 @@ public:
|
||||
*/
|
||||
int Connected(void);
|
||||
};
|
||||
#ifdef WITH_SDL
|
||||
void Joystick_HandleEvents( void );
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include <Python.h>
|
||||
|
||||
PyObject* initPythonConstraintBinding();
|
||||
void PHY_RemovePythonConstraintBinding();
|
||||
void PHY_SetActiveEnvironment(class PHY_IPhysicsEnvironment* env);
|
||||
PHY_IPhysicsEnvironment* PHY_GetActiveEnvironment();
|
||||
#endif // WITH_PYTHON
|
||||
|
Loading…
Reference in New Issue
Block a user