diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-02-04 12:40:32 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-02-04 12:40:32 +0300 |
commit | 7da9a441b269eda6100d6d59fbe318d017fa7756 (patch) | |
tree | 06e3d336ef81b7edda62263c19763ad75d534700 /source | |
parent | 565d5282fcd35f0a2d1c64a87df7a81e26cc487b (diff) |
* revert to r13013 - now everything compiles again
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 8a015df6def..1bcbed1efb1 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -57,6 +57,8 @@ struct RenderResult; struct Object; struct bPythonConstraint; struct bConstraintOb; +struct bConstraintTarget; +struct ListBase; char *getIpoCurveName( struct IpoCurve * icu ); void insert_vert_icu(struct IpoCurve *icu, float x, float y, short fast); @@ -128,13 +130,10 @@ int BPY_button_eval(char *expr, double *value) } /* PyConstraints - BPY_interface.c */ -void BPY_pyconstraint_eval(struct bPythonConstraint *con, float ownermat[][4], float targetmat[][4]) +void BPY_pyconstraint_eval(struct bPythonConstraint *con, struct bConstraintOb *cob, struct ListBase *targets) { } -void BPY_pyconstraint_driver(struct bPythonConstraint *con, struct bConstraintOb *cob, struct Object *target, char subtarget[]) -{ -} -void BPY_pyconstraint_targets(struct bPythonConstraint *con, struct bConstraintTarget *ct) +void BPY_pyconstraint_target(struct bPythonConstraint *con, struct bConstraintTarget *ct) { } @@ -209,6 +208,9 @@ void IK_FreeSolver(IK_Solver *solver) {}; void IK_SolverAddGoal(IK_Solver *solver, IK_Segment *tip, float goal[3], float weight) {} void IK_SolverAddGoalOrientation(IK_Solver *solver, IK_Segment *tip, float goal[][3], float weight) {} +void IK_SolverSetPoleVectorConstraint(IK_Solver *solver, IK_Segment *tip, float goal[3], float polegoal[3], float poleangle, int getangle) {} +float IK_SolverGetPoleAngle(IK_Solver *solver) { return 0.0f; } + int IK_Solve(IK_Solver *solver, float tolerance, int max_iterations) { return 0; } /* exotic.c */ @@ -244,6 +246,8 @@ void fluidsimSettingsCopy(struct FluidsimSettings* sb) {} /*new render funcs */ int externtex(struct MTex *mtex, float *vec, float *tin, float *tr, float *tg, float *tb, float *ta) { return 0; } +void texture_rgb_blend(float *in, float *tex, float *out, float fact, float facg, int blendtype) {} +float texture_value_blend(float tex, float out, float fact, float facg, int blendtype, int flip) { return 0; } void RE_FreeRenderResult(struct RenderResult *rr) {} void RE_GetResultImage(struct Render *re, struct RenderResult *rr) {} @@ -258,7 +262,7 @@ void RE_FreeRender(Render *re) {} void RE_shade_external(Render *re, ShadeInput *shi, ShadeResult *shr) {} void RE_DataBase_GetView(Render *re, float mat[][4]) {} struct Render *RE_NewRender(const char *name) {return (struct Render *)NULL;} -void RE_Database_Baking(struct Render *re, struct Scene *scene, int make_faces) {}; +void RE_Database_Baking(struct Render *re, struct Scene *scene, int type, struct Object *actob) {}; /* node_composite.c */ @@ -306,15 +310,6 @@ void post_geometry_free_constraint(struct VNode *vnode) {} void post_layer_create(struct VLayer *vlayer) {} void post_layer_destroy(struct VLayer *vlayer) {} void post_server_add(void) {} - /* Multires/sculpt stubs */ -struct MultiresLevel *multires_level_n(struct Multires *mr, int n) {return NULL;} -void multires_free(struct Multires *mr) {} -void multires_set_level(struct Object *ob, struct Mesh *me, const int render) {} -void multires_update_levels(struct Mesh *me, const int render) {} -void multires_calc_level_maps(struct MultiresLevel *lvl) {} -struct Multires *multires_copy(struct Multires *orig) {return NULL;} -void sculptmode_init(struct Scene *sce) {} -void sculptmode_free_all(struct Scene *sce) {} /* zbuf.c stub */ void antialias_tagbuf(int xsize, int ysize, char *rectmove) {} @@ -329,3 +324,16 @@ void BIF_filelist_freelib(struct FileList* filelist) {}; /* edittime.c stub */ TimeMarker *get_frame_marker(int frame){return 0;}; + +/* editseq.c */ +Sequence *get_forground_frame_seq(int frame){return 0;}; + +/* modifier.c stub */ +void harmonic_coordinates_bind(struct MeshDeformModifierData *mmd, + float (*vertexcos)[3], int totvert, float cagemat[][4]) {} + +/* particle.c */ +void PE_free_particle_edit(struct ParticleSystem *psys) {} +void PE_get_colors(char sel[4], char nosel[4]) {} +void PE_recalc_world_cos(struct Object *ob, struct ParticleSystem *psys) {} + |