Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. 00019 * All rights reserved. 00020 * 00021 * The Original Code is: all of this file. 00022 * 00023 * Contributor(s): none yet. 00024 * 00025 * ***** END GPL LICENSE BLOCK ***** 00026 * BKE_bad_level_calls function stubs 00027 */ 00028 00034 #ifdef WITH_GAMEENGINE 00035 #include <stdlib.h> 00036 #include "DNA_listBase.h" 00037 #include "RNA_types.h" 00038 00039 struct ARegion; 00040 struct ARegionType; 00041 struct Base; 00042 struct Brush; 00043 struct bNodeTree; 00044 struct bNodeSocket; 00045 struct CSG_FaceIteratorDescriptor; 00046 struct CSG_VertexIteratorDescriptor; 00047 struct ColorBand; 00048 struct CurveMapping; 00049 struct Curve; 00050 struct DerivedMesh; 00051 struct EditBone; 00052 struct EditFace; 00053 struct EditMesh; 00054 struct EnvMap; 00055 struct ID; 00056 struct FCurve; 00057 struct ImBuf; 00058 struct Image; 00059 struct ImageUser; 00060 struct KeyingSetInfo; 00061 struct KeyingSet; 00062 struct LOD_Decimation_Info; 00063 struct MTex; 00064 struct Main; 00065 struct Material; 00066 struct MCol; 00067 struct MenuType; 00068 struct Mesh; 00069 struct ModifierData; 00070 struct MovieClip; 00071 struct MultiresModifierData; 00072 struct NodeBlurData; 00073 struct Nurb; 00074 struct Object; 00075 struct PBVHNode; 00076 struct Render; 00077 struct RenderEngine; 00078 struct RenderEngineType; 00079 struct RenderLayer; 00080 struct RenderResult; 00081 struct Scene; 00082 struct ScrArea; 00083 struct SculptSession; 00084 struct ShadeInput; 00085 struct ShadeResult; 00086 struct SpaceClip; 00087 struct SpaceImage; 00088 struct SpaceNode; 00089 struct Tex; 00090 struct TexResult; 00091 struct Text; 00092 struct bAction; 00093 struct bArmature; 00094 struct bConstraint; 00095 struct bNode; 00096 struct bPoseChannel; 00097 struct uiLayout; 00098 struct wmEvent; 00099 struct wmKeyConfig; 00100 struct wmKeyMap; 00101 struct wmOperator; 00102 struct wmWindow; 00103 struct wmWindowManager; 00104 struct View3D; 00105 struct ToolSettings; 00106 struct bContextDataResult; 00107 struct bConstraintTarget; 00108 struct bPythonConstraint; 00109 struct bConstraintOb; 00110 struct Context; 00111 struct ChannelDriver; 00112 00113 /*new render funcs */ 00114 float *RE_RenderLayerGetPass(struct RenderLayer *rl, int passtype) {return (float *) NULL;} 00115 float RE_filter_value(int type, float x) {return 0.0f;} 00116 struct RenderLayer *RE_GetRenderLayer(struct RenderResult *rr, const char *name) {return (struct RenderLayer *)NULL;} 00117 00118 /* zbuf.c stub */ 00119 void antialias_tagbuf(int xsize, int ysize, char *rectmove) {} 00120 void RE_zbuf_accumulate_vecblur(struct NodeBlurData *nbd, int xsize, int ysize, float *newrect, float *imgrect, float *vecbufrect, float *zbufrect) {} 00121 00122 /* imagetexture.c stub */ 00123 void ibuf_sample(struct ImBuf *ibuf, float fx, float fy, float dx, float dy, float *result) {} 00124 00125 /* texture.c */ 00126 int multitex_thread(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres, short thread, short which_output) {return 0;} 00127 int multitex_ext(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres){return 0;} 00128 int multitex_ext_safe(struct Tex *tex, float *texvec, struct TexResult *texres){return 0;} 00129 int multitex_nodes(struct Tex *tex, float *texvec, float *dxt, float *dyt, int osatex, struct TexResult *texres, short thread, short which_output, struct ShadeInput *shi, struct MTex *mtex) {return 0;} 00130 00131 struct Material *RE_init_sample_material(struct Material *orig_mat, struct Scene *scene) {return (struct Material *)NULL;} 00132 void RE_free_sample_material(struct Material *mat) {} 00133 void RE_sample_material_color(struct Material *mat, float color[3], float *alpha, const float volume_co[3], const float surface_co[3], 00134 int face_index, short hit_quad, struct DerivedMesh *orcoDm, struct Object *ob) {} 00135 00136 /* nodes */ 00137 struct RenderResult *RE_GetResult(struct Render *re){return (struct RenderResult *) NULL;} 00138 struct Render *RE_GetRender(const char *name){return (struct Render *) NULL;} 00139 00140 /* blenkernel */ 00141 void RE_FreeRenderResult(struct RenderResult *res){} 00142 struct RenderResult *RE_MultilayerConvert(void *exrhandle, int rectx, int recty){return (struct RenderResult *) NULL;} 00143 void RE_GetResultImage(struct Render *re, struct RenderResult *rr){} 00144 int RE_RenderInProgress(struct Render *re){return 0;} 00145 struct Scene *RE_GetScene(struct Render *re){return (struct Scene *) NULL;} 00146 void RE_Database_Free(struct Render *re){} 00147 void RE_FreeRender(struct Render *re){} 00148 void RE_DataBase_GetView(struct Render *re, float mat[][4]){} 00149 int externtex(struct MTex *mtex, float *vec, float *tin, float *tr, float *tg, float *tb, float *ta){return 0;} 00150 float texture_value_blend(float tex, float out, float fact, float facg, int blendtype, int flip){return 0.0f;} 00151 void texture_rgb_blend(float *in, float *tex, float *out, float fact, float facg, int blendtype){} 00152 char stipple_quarttone[1]; //GLubyte stipple_quarttone[128] 00153 double elbeemEstimateMemreq(int res, float sx, float sy, float sz, int refine, char *retstr) {return 0.0f;} 00154 struct Render *RE_NewRender(const char *name){return (struct Render*) NULL;} 00155 void RE_SwapResult(struct Render *re, struct RenderResult **rr){} 00156 void RE_BlenderFrame(struct Render *re, struct Scene *scene, int frame){} 00157 int RE_WriteEnvmapResult(struct ReportList *reports, struct Scene *scene, struct EnvMap *env, const char *relpath, const char imtype, float layout[12]) { return 0; } 00158 00159 /* rna */ 00160 float *give_cursor(struct Scene *scene, struct View3D *v3d){return (float *) NULL;} 00161 void WM_menutype_free(void){} 00162 void WM_menutype_freelink(struct MenuType* mt){} 00163 int WM_menutype_add(struct MenuType *mt) {return 0;} 00164 int WM_operator_props_dialog_popup (struct bContext *C, struct wmOperator *op, int width, int height){return 0;} 00165 int WM_operator_confirm(struct bContext *C, struct wmOperator *op, struct wmEvent *event){return 0;} 00166 struct MenuType *WM_menutype_find(const char *idname, int quiet){return (struct MenuType *) NULL;} 00167 void WM_operator_stack_clear(struct bContext *C) {} 00168 00169 void WM_autosave_init(struct bContext *C){} 00170 void WM_jobs_stop_all(struct wmWindowManager *wm){} 00171 00172 char *WM_clipboard_text_get(int selection){return (char*)0;} 00173 void WM_clipboard_text_set(char *buf, int selection){} 00174 00175 struct wmKeyMapItem *WM_keymap_item_find_id(struct wmKeyMap *keymap, int id){return (struct wmKeyMapItem *) NULL;} 00176 int WM_enum_search_invoke(struct bContext *C, struct wmOperator *op, struct wmEvent *event){return 0;} 00177 void WM_event_add_notifier(const struct bContext *C, unsigned int type, void *reference){} 00178 void WM_main_add_notifier(unsigned int type, void *reference){} 00179 void ED_armature_bone_rename(struct bArmature *arm, char *oldnamep, char *newnamep){} 00180 struct wmEventHandler *WM_event_add_modal_handler(struct bContext *C, struct wmOperator *op){return (struct wmEventHandler *)NULL;} 00181 struct wmTimer *WM_event_add_timer(struct wmWindowManager *wm, struct wmWindow *win, int event_type, double timestep){return (struct wmTimer *)NULL;} 00182 void WM_event_remove_timer(struct wmWindowManager *wm, struct wmWindow *win, struct wmTimer *timer){} 00183 void ED_armature_edit_bone_remove(struct bArmature *arm, struct EditBone *exBone){} 00184 void object_test_constraints (struct Object *owner){} 00185 void ED_object_parent(struct Object *ob, struct Object *par, int type, const char *substr){} 00186 void ED_object_constraint_set_active(struct Object *ob, struct bConstraint *con){} 00187 void ED_node_composit_default(struct Scene *sce){} 00188 void *ED_region_draw_cb_activate(struct ARegionType *art, void(*draw)(const struct bContext *, struct ARegion *, void *), void *custumdata, int type){return 0;} /* XXX this one looks weird */ 00189 void *ED_region_draw_cb_customdata(void *handle){return 0;} /* XXX This one looks wrong also */ 00190 void ED_region_draw_cb_exit(struct ARegionType *art, void *handle){} 00191 void ED_area_headerprint(struct ScrArea *sa, char *str){} 00192 00193 struct EditBone *ED_armature_bone_get_mirrored(struct ListBase *edbo, struct EditBone *ebo){return (struct EditBone *) NULL;} 00194 struct EditBone *ED_armature_edit_bone_add(struct bArmature *arm, char *name){return (struct EditBone*) NULL;} 00195 struct ListBase *get_active_constraints (struct Object *ob){return (struct ListBase *) NULL;} 00196 struct ListBase *get_constraint_lb(struct Object *ob, struct bConstraint *con, struct bPoseChannel **pchan_r){return (struct ListBase *) NULL;} 00197 int ED_pose_channel_in_IK_chain(struct Object *ob, struct bPoseChannel *pchan){return 0;} 00198 00199 int ED_space_image_show_uvedit(struct SpaceImage *sima, struct Object *obedit){return 0;} 00200 int ED_space_image_show_render(struct SpaceImage *sima){return 0;} 00201 int ED_space_image_show_paint(struct SpaceImage *sima){return 0;} 00202 void ED_space_image_paint_update(struct wmWindowManager *wm, struct ToolSettings *settings){} 00203 void ED_space_image_set(struct SpaceImage *sima, struct Scene *scene, struct Object *obedit, struct Image *ima){} 00204 struct ImBuf *ED_space_image_buffer(struct SpaceImage *sima){return (struct ImBuf *) NULL;} 00205 void ED_screen_set_scene(struct bContext *C, struct Scene *scene){} 00206 void ED_space_clip_set(struct bContext *C, struct SpaceClip *sc, struct MovieClip *clip){} 00207 00208 void ED_area_tag_redraw_regiontype(struct ScrArea *sa, int regiontype){} 00209 void ED_render_engine_changed(struct Main *bmain) {} 00210 00211 struct PTCacheEdit *PE_get_current(struct Scene *scene, struct Object *ob){return (struct PTCacheEdit *) NULL;} 00212 void PE_current_changed(struct Scene *scene, struct Object *ob){} 00213 00214 /* rna keymap */ 00215 struct wmKeyMap *WM_keymap_active(struct wmWindowManager *wm, struct wmKeyMap *keymap){return (struct wmKeyMap *) NULL;} 00216 struct wmKeyMap *WM_keymap_find(struct wmKeyConfig *keyconf, char *idname, int spaceid, int regionid){return (struct wmKeyMap *) NULL;} 00217 struct wmKeyMap *WM_keymap_add_item(struct wmKeyMap *keymap, char *idname, int type, int val, int modifier, int keymodifier){return (struct wmKeyMap *) NULL;} 00218 struct wmKeyMap *WM_keymap_copy_to_user(struct wmKeyMap *kemap){return (struct wmKeyMap *) NULL;} 00219 struct wmKeyMap *WM_keymap_list_find(struct ListBase *lb, char *idname, int spaceid, int regionid){return (struct wmKeyMap *) NULL;} 00220 struct wmKeyConfig *WM_keyconfig_new(struct wmWindowManager *wm, char *idname){return (struct wmKeyConfig *) NULL;} 00221 struct wmKeyConfig *WM_keyconfig_new_user(struct wmWindowManager *wm, char *idname){return (struct wmKeyConfig *) NULL;} 00222 void WM_keyconfig_remove(struct wmWindowManager *wm, char *idname){} 00223 void WM_keyconfig_set_active(struct wmWindowManager *wm, const char *idname) {} 00224 void WM_keymap_remove_item(struct wmKeyMap *keymap, struct wmKeyMapItem *kmi){} 00225 void WM_keymap_restore_to_default(struct wmKeyMap *keymap){} 00226 void WM_keymap_restore_item_to_default(struct bContext *C, struct wmKeyMap *keymap, struct wmKeyMapItem *kmi){} 00227 void WM_keymap_properties_reset(struct wmKeyMapItem *kmi){} 00228 void WM_keyconfig_update_tag(struct wmKeyMap *keymap, struct wmKeyMapItem *kmi) {} 00229 int WM_keymap_user_init(struct wmWindowManager *wm, struct wmKeyMap *keymap) {return 0;} 00230 int WM_keymap_item_compare(struct wmKeyMapItem *k1, struct wmKeyMapItem *k2){return 0;} 00231 00232 00233 /* rna editors */ 00234 struct FCurve *verify_fcurve (struct bAction *act, const char group[], const char rna_path[], const int array_index, short add){return (struct FCurve *) NULL;} 00235 int insert_vert_fcurve(struct FCurve *fcu, float x, float y, short flag){return 0;} 00236 void delete_fcurve_key(struct FCurve *fcu, int index, short do_recalc){} 00237 struct KeyingSetInfo *ANIM_keyingset_info_find_named (const char name[]){return (struct KeyingSetInfo *) NULL;} 00238 struct KeyingSet *ANIM_scene_get_active_keyingset (struct Scene *scene){return (struct KeyingSet *) NULL;} 00239 int ANIM_scene_get_keyingset_index(struct Scene *scene, struct KeyingSet *ks){return 0;} 00240 struct ListBase builtin_keyingsets; 00241 void ANIM_keyingset_info_register (struct KeyingSetInfo *ksi){} 00242 void ANIM_keyingset_info_unregister (const struct bContext *C, struct KeyingSetInfo *ksi){} 00243 short ANIM_validate_keyingset (struct bContext *C, struct ListBase *dsources, struct KeyingSet *ks){return 0;} 00244 short ANIM_add_driver(struct ID *id, const char rna_path[], int array_index, short flag, int type){return 0;} 00245 short ANIM_remove_driver (struct ID *id, const char rna_path[], int array_index, short flag){return 0;} 00246 void ED_space_image_release_buffer(struct SpaceImage *sima, void *lock){} 00247 struct ImBuf *ED_space_image_acquire_buffer(struct SpaceImage *sima, void **lock_r){return (struct ImBuf *) NULL;} 00248 void ED_space_image_zoom(struct SpaceImage *sima, struct ARegion *ar, float *zoomx, float *zoomy) {} 00249 char *ED_info_stats_string(struct Scene *scene){return (char *) NULL;} 00250 void ED_area_tag_redraw(struct ScrArea *sa){} 00251 void ED_area_tag_refresh(struct ScrArea *sa){} 00252 void ED_area_newspace(struct bContext *C, struct ScrArea *sa, int type){} 00253 void ED_region_tag_redraw(struct ARegion *ar){} 00254 void WM_event_add_fileselect(struct bContext *C, struct wmOperator *op){} 00255 void WM_cursor_wait (int val) {} 00256 void ED_node_texture_default(struct Tex *tx){} 00257 void ED_node_changed_update(struct bContext *C, struct bNode *node){} 00258 void ED_node_generic_update(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node){} 00259 void ED_node_tree_update(struct SpaceNode *snode, struct Scene *scene){} 00260 void ED_view3d_scene_layers_update(struct Main *bmain, struct Scene *scene){} 00261 int ED_view3d_scene_layer_set(int lay, const int *values){return 0;} 00262 void ED_view3d_quadview_update(struct ScrArea *sa, struct ARegion *ar){} 00263 void ED_view3d_from_m4(float mat[][4], float ofs[3], float quat[4], float *dist){} 00264 struct BGpic *ED_view3D_background_image_new(struct View3D *v3d){return (struct BGpic *) NULL;} 00265 void ED_view3D_background_image_remove(struct View3D *v3d, struct BGpic *bgpic){} 00266 void ED_view3D_background_image_clear(struct View3D *v3d){} 00267 void view3d_apply_mat4(float mat[][4], float *ofs, float *quat, float *dist){} 00268 int text_file_modified(struct Text *text){return 0;} 00269 void ED_node_shader_default(struct Material *ma){} 00270 void ED_screen_animation_timer_update(struct bContext *C, int redraws){} 00271 void ED_base_object_select(struct Base *base, short mode){} 00272 int ED_object_modifier_remove(struct ReportList *reports, struct Scene *scene, struct Object *ob, struct ModifierData *md){return 0;} 00273 int ED_object_modifier_add(struct ReportList *reports, struct Scene *scene, struct Object *ob, char *name, int type){return 0;} 00274 void ED_object_modifier_clear(struct Scene *scene, struct Object *ob){} 00275 void ED_object_enter_editmode(struct bContext *C, int flag){} 00276 void ED_object_exit_editmode(struct bContext *C, int flag){} 00277 int uiLayoutGetActive(struct uiLayout *layout){return 0;} 00278 int uiLayoutGetOperatorContext(struct uiLayout *layout){return 0;} 00279 int uiLayoutGetAlignment(struct uiLayout *layout){return 0;} 00280 int uiLayoutGetEnabled(struct uiLayout *layout){return 0;} 00281 float uiLayoutGetScaleX(struct uiLayout *layout){return 0.0f;} 00282 float uiLayoutGetScaleY(struct uiLayout *layout){return 0.0f;} 00283 void uiLayoutSetActive(struct uiLayout *layout, int active){} 00284 void uiLayoutSetOperatorContext(struct uiLayout *layout, int opcontext){} 00285 void uiLayoutSetEnabled(struct uiLayout *layout, int enabled){} 00286 void uiLayoutSetAlignment(struct uiLayout *layout, int alignment){} 00287 void uiLayoutSetScaleX(struct uiLayout *layout, float scale){} 00288 void uiLayoutSetScaleY(struct uiLayout *layout, float scale){} 00289 void ED_base_object_free_and_unlink(struct Scene *scene, struct Base *base){} 00290 void ED_mesh_calc_normals(struct Mesh *me){} 00291 void ED_mesh_geometry_add(struct Mesh *mesh, struct ReportList *reports, int verts, int edges, int faces){} 00292 void ED_mesh_material_add(struct Mesh *me, struct Material *ma){} 00293 void ED_mesh_transform(struct Mesh *me, float *mat){} 00294 void ED_mesh_update(struct Mesh *mesh, struct bContext *C){} 00295 void ED_mesh_vertices_add(struct Mesh *mesh, struct ReportList *reports, int count){} 00296 void ED_mesh_edges_add(struct Mesh *mesh, struct ReportList *reports, int count){} 00297 void ED_mesh_faces_add(struct Mesh *mesh, struct ReportList *reports, int count){} 00298 void ED_mesh_material_link(struct Mesh *mesh, struct Material *ma){} 00299 int ED_mesh_color_add(struct bContext *C, struct Scene *scene, struct Object *ob, struct Mesh *me){return 0;} 00300 int ED_mesh_uv_texture_add(struct bContext *C, struct Mesh *me){return 0;} 00301 void ED_object_constraint_dependency_update(struct Scene *scene, struct Object *ob){} 00302 void ED_object_constraint_update(struct Object *ob){} 00303 struct bDeformGroup *ED_vgroup_add_name(struct Object *ob, char *name){return (struct bDeformGroup *) NULL;} 00304 void ED_vgroup_vert_add(struct Object *ob, struct bDeformGroup *dg, int vertnum, float weight, int assignmode){} 00305 void ED_vgroup_vert_remove(struct Object *ob, struct bDeformGroup *dg, int vertnum){} 00306 void ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vertnum){} 00307 void ED_vgroup_delete(struct Object *ob, struct bDeformGroup *defgroup){} 00308 void ED_vgroup_clear(struct Object *ob){} 00309 void ED_vgroup_object_is_edit_mode(struct Object *ob){} 00310 00311 void ED_sequencer_update_view(struct bContext *C, int view){} 00312 float ED_rollBoneToVector(struct EditBone *bone, float new_up_axis[3]){return 0.0f;} 00313 void ED_space_image_size(struct SpaceImage *sima, int *width, int *height){} 00314 00315 void ED_nurb_set_spline_type(struct Nurb *nu, int type){} 00316 00317 void EM_selectmode_set(struct EditMesh *em){} 00318 int EM_texFaceCheck(struct EditMesh *em){return 0;} 00319 struct MTFace *EM_get_active_mtface(struct EditMesh *em, struct EditFace **act_efa, struct MCol **mcol, int sloopy){return (struct MTFace *)NULL;} 00320 void make_editMesh(struct Scene *scene, struct Object *ob){} 00321 void load_editMesh(struct Scene *scene, struct Object *ob){} 00322 00323 void make_editLatt(struct Object *obedit){} 00324 void load_editLatt(struct Object *obedit){} 00325 00326 void load_editNurb (struct Object *obedit){} 00327 void make_editNurb (struct Object *obedit){} 00328 00329 00330 void uiItemR(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, int flag, char *name, int icon){} 00331 00332 struct PointerRNA uiItemFullO(struct uiLayout *layout, char *idname, char *name, int icon, struct IDProperty *properties, int context, int flag){struct PointerRNA a; return a;} 00333 struct uiLayout *uiLayoutRow(struct uiLayout *layout, int align){return (struct uiLayout *) NULL;} 00334 struct uiLayout *uiLayoutColumn(struct uiLayout *layout, int align){return (struct uiLayout *) NULL;} 00335 struct uiLayout *uiLayoutColumnFlow(struct uiLayout *layout, int number, int align){return (struct uiLayout *) NULL;} 00336 struct uiLayout *uiLayoutBox(struct uiLayout *layout){return (struct uiLayout *) NULL;} 00337 struct uiLayout *uiLayoutSplit(struct uiLayout *layout, float percentage, int align){return (struct uiLayout *) NULL;} 00338 int uiLayoutGetRedAlert(struct uiLayout *layout){return 0;} 00339 void uiLayoutSetRedAlert(struct uiLayout *layout, int redalert){} 00340 void uiItemsEnumR(struct uiLayout *layout, struct PointerRNA *ptr, char *propname){} 00341 void uiItemMenuEnumR(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, char *name, int icon){} 00342 void uiItemEnumR_string(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, char *value, char *name, int icon){} 00343 void uiItemPointerR(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, struct PointerRNA *searchptr, char *searchpropname, char *name, int icon){} 00344 void uiItemPointerSubR(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, char *searchpropname, char *name, int icon){} 00345 void uiItemsEnumO(struct uiLayout *layout, char *opname, char *propname){} 00346 void uiItemEnumO_string(struct uiLayout *layout, char *name, int icon, char *opname, char *propname, char *value_str){} 00347 void uiItemMenuEnumO(struct uiLayout *layout, char *opname, char *propname, char *name, int icon){} 00348 void uiItemBooleanO(struct uiLayout *layout, char *name, int icon, char *opname, char *propname, int value){} 00349 void uiItemIntO(struct uiLayout *layout, char *name, int icon, char *opname, char *propname, int value){} 00350 void uiItemFloatO(struct uiLayout *layout, char *name, int icon, char *opname, char *propname, float value){} 00351 void uiItemStringO(struct uiLayout *layout, char *name, int icon, char *opname, char *propname, char *value){} 00352 void uiItemL(struct uiLayout *layout, const char *name, int icon){} 00353 void uiItemM(struct uiLayout *layout, struct bContext *C, char *menuname, char *name, int icon){} 00354 void uiItemS(struct uiLayout *layout){} 00355 void uiItemFullR(struct uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, char *name, int icon){} 00356 void uiLayoutSetContextPointer(struct uiLayout *layout, char *name, struct PointerRNA *ptr){} 00357 char *uiLayoutIntrospect(struct uiLayout *layout){return (char *)NULL;} 00358 void UI_reinit_font(void) {} 00359 00360 /* rna template */ 00361 void uiTemplateAnyID(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, char *text){} 00362 void uiTemplatePathBuilder(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, struct PointerRNA *root_ptr, char *text){} 00363 void uiTemplateHeader(struct uiLayout *layout, struct bContext *C, int menus){} 00364 void uiTemplateID(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, char *newop, char *unlinkop){} 00365 struct uiLayout *uiTemplateModifier(struct uiLayout *layout, struct PointerRNA *ptr){return (struct uiLayout *) NULL;} 00366 struct uiLayout *uiTemplateConstraint(struct uiLayout *layout, struct PointerRNA *ptr){return (struct uiLayout *) NULL;} 00367 void uiTemplatePreview(struct uiLayout *layout, struct ID *id, int show_buttons, struct ID *parent, struct MTex *slot){} 00368 void uiTemplateIDPreview(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, char *newop, char *openop, char *unlinkop, int rows, int cols){} 00369 void uiTemplateCurveMapping(struct uiLayout *layout, struct CurveMapping *cumap, int type, int compact){} 00370 void uiTemplateColorRamp(struct uiLayout *layout, struct ColorBand *coba, int expand){} 00371 void uiTemplateLayers(struct uiLayout *layout, struct PointerRNA *ptr, char *propname){} 00372 void uiTemplateImageLayers(struct uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser){} 00373 ListBase uiTemplateList(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, struct PointerRNA *activeptr, char *activepropname, int rows, int listtype){struct ListBase b = {0,0}; return b;} 00374 void uiTemplateRunningJobs(struct uiLayout *layout, struct bContext *C){} 00375 void uiTemplateOperatorSearch(struct uiLayout *layout){} 00376 void uiTemplateHeader3D(struct uiLayout *layout, struct bContext *C){} 00377 void uiTemplateEditModeSelection(struct uiLayout *layout, struct bContext *C){} 00378 void uiTemplateTextureImage(struct uiLayout *layout, struct bContext *C, struct Tex *tex){} 00379 void uiTemplateImage(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, struct PointerRNA *userptr, int compact){} 00380 void uiTemplateDopeSheetFilter(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr){} 00381 void uiTemplateColorWheel(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, int value_slider){} 00382 void uiTemplateHistogram(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, int expand){} 00383 void uiTemplateReportsBanner(struct uiLayout *layout, struct bContext *C, struct wmOperator *op){} 00384 void uiTemplateWaveform(struct uiLayout *layout, struct PointerRNA *ptr, char *propname, int expand){} 00385 void uiTemplateVectorscope(struct uiLayout *_self, struct PointerRNA *data, char* property, int expand){} 00386 void uiTemplateNodeLink(struct uiLayout *layout, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input) {} 00387 void uiTemplateNodeView(struct uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input) {} 00388 void uiTemplateTextureUser(struct uiLayout *layout, struct bContext *C) {} 00389 void uiTemplateTextureShow(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop) {} 00390 void uiTemplateKeymapItemProperties(struct uiLayout *layout, struct PointerRNA *ptr){} 00391 void uiTemplateMovieClip(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, int compact){} 00392 void uiTemplateTrack(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname){} 00393 void uiTemplateMarker(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, PointerRNA *userptr, PointerRNA *trackptr, int compact){} 00394 void uiTemplateImageSettings(struct uiLayout *layout, struct PointerRNA *imfptr){} 00395 00396 /* rna render */ 00397 struct RenderResult *RE_engine_begin_result(struct RenderEngine *engine, int x, int y, int w, int h){return (struct RenderResult *) NULL;} 00398 struct RenderResult *RE_AcquireResultRead(struct Render *re){return (struct RenderResult *) NULL;} 00399 struct RenderResult *RE_AcquireResultWrite(struct Render *re){return (struct RenderResult *) NULL;} 00400 struct RenderStats *RE_GetStats(struct Render *re){return (struct RenderStats *) NULL;} 00401 void RE_engine_update_result(struct RenderEngine *engine, struct RenderResult *result){} 00402 void RE_engine_update_progress(struct RenderEngine *engine, float progress) {} 00403 void RE_engine_end_result(struct RenderEngine *engine, struct RenderResult *result){} 00404 void RE_engine_update_stats(struct RenderEngine *engine, char *stats, char *info){} 00405 void RE_layer_load_from_file(struct RenderLayer *layer, struct ReportList *reports, char *filename){} 00406 void RE_result_load_from_file(struct RenderResult *result, struct ReportList *reports, char *filename){} 00407 void RE_AcquireResultImage(struct Render *re, struct RenderResult *rr){} 00408 void RE_ReleaseResult(struct Render *re){} 00409 void RE_ReleaseResultImage(struct Render *re){} 00410 int RE_engine_test_break(struct RenderEngine *engine){return 0;} 00411 void RE_engines_init() {} 00412 void RE_engines_exit() {} 00413 void RE_engine_report(struct RenderEngine *engine, int type, const char *msg) {} 00414 ListBase R_engines = {NULL, NULL}; 00415 void RE_engine_free(struct RenderEngine *engine) {} 00416 struct RenderEngineType *RE_engines_find(const char *idname) { return NULL; } 00417 00418 /* python */ 00419 struct wmOperatorType *WM_operatortype_find(const char *idname, int quiet){return (struct wmOperatorType *) NULL;} 00420 struct GHashIterator *WM_operatortype_iter(){return (struct GHashIterator *) NULL;} 00421 struct wmOperatorType *WM_operatortype_exists(const char *idname){return (struct wmOperatorType *) NULL;} 00422 struct wmOperatorTypeMacro *WM_operatortype_macro_define(struct wmOperatorType *ot, const char *idname){return (struct wmOperatorTypeMacro *) NULL;} 00423 int WM_operator_call_py(struct bContext *C, struct wmOperatorType *ot, int context, struct PointerRNA *properties, struct ReportList *reports){return 0;} 00424 int WM_operatortype_remove(const char *idname){return 0;} 00425 int WM_operator_poll(struct bContext *C, struct wmOperatorType *ot){return 0;} 00426 int WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, int context){return 0;} 00427 int WM_operator_props_popup(struct bContext *C, struct wmOperator *op, struct wmEvent *event){return 0;} 00428 void WM_operator_properties_free(struct PointerRNA *ptr){} 00429 void WM_operator_properties_create(struct PointerRNA *ptr, const char *opstring){} 00430 void WM_operator_properties_create_ptr(struct PointerRNA *ptr, struct wmOperatorType *ot){} 00431 void WM_operator_properties_sanitize(struct PointerRNA *ptr, const short no_context){}; 00432 void WM_operatortype_append_ptr(void (*opfunc)(struct wmOperatorType*, void*), void *userdata){} 00433 void WM_operatortype_append_macro_ptr(void (*opfunc)(struct wmOperatorType*, void*), void *userdata){} 00434 void WM_operator_bl_idname(char *to, const char *from){} 00435 void WM_operator_py_idname(char *to, const char *from){} 00436 void WM_operator_ui_popup(struct bContext *C, struct wmOperator *op, int width, int height){} 00437 short insert_keyframe (struct ID *id, struct bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short flag){return 0;} 00438 short delete_keyframe(struct ID *id, struct bAction *act, const char group[], const char rna_path[], int array_index, float cfra, short flag){return 0;}; 00439 char *WM_operator_pystring(struct bContext *C, struct wmOperatorType *ot, struct PointerRNA *opptr, int all_args){return (char *)NULL;} 00440 struct wmKeyMapItem *WM_modalkeymap_add_item(struct wmKeyMap *km, int type, int val, int modifier, int keymodifier, int value){return (struct wmKeyMapItem *)NULL;} 00441 struct wmKeyMap *WM_modalkeymap_add(struct wmKeyConfig *keyconf, char *idname, EnumPropertyItem *items){return (struct wmKeyMap *) NULL;} 00442 00443 /* RNA COLLADA dependency */ 00444 int collada_export(struct Scene *sce, const char *filepath){ return 0; } 00445 00446 int sculpt_get_brush_size(struct Brush *brush) {return 0;} 00447 void sculpt_set_brush_size(struct Brush *brush, int size) {} 00448 int sculpt_get_lock_brush_size(struct Brush *brush){ return 0;} 00449 float sculpt_get_brush_unprojected_radius(struct Brush *brush){return 0.0f;} 00450 void sculpt_set_brush_unprojected_radius(struct Brush *brush, float unprojected_radius){} 00451 float sculpt_get_brush_alpha(struct Brush *brush){return 0.0f;} 00452 void sculpt_set_brush_alpha(struct Brush *brush, float alpha){} 00453 void ED_sculpt_modifiers_changed(struct Object *ob){}; 00454 00455 00456 /* bpy/python internal api */ 00457 void operator_wrapper(struct wmOperatorType *ot, void *userdata) {} 00458 void BPY_text_free_code(struct Text *text) {} 00459 void BPY_id_release(struct Text *text) {} 00460 int BPY_context_member_get(struct Context *C, const char *member, struct bContextDataResult *result) { return 0; } 00461 void BPY_pyconstraint_target(struct bPythonConstraint *con, struct bConstraintTarget *ct) {} 00462 float BPY_driver_exec(struct ChannelDriver *driver, const float evaltime) {return 0.0f;} /* might need this one! */ 00463 void BPY_DECREF(void *pyob_ptr) {} 00464 void BPY_pyconstraint_exec(struct bPythonConstraint *con, struct bConstraintOb *cob, struct ListBase *targets) {} 00465 void macro_wrapper(struct wmOperatorType *ot, void *userdata) {} ; 00466 00467 /* intern/dualcon */ 00468 struct DualConMesh; 00469 struct DualConMesh *dualcon(const struct DualConMesh *input_mesh, 00470 void *create_mesh, 00471 int flags, 00472 int mode, 00473 float threshold, 00474 float hermite_num, 00475 float scale, 00476 int depth) {return 0;} 00477 00478 /* intern/cycles */ 00479 struct CCLDeviceInfo; 00480 struct CCLDeviceInfo *CCL_compute_device_list(int opencl) { return NULL; } 00481 00482 char blender_path[] = ""; 00483 00484 #endif // WITH_GAMEENGINE