diff options
Diffstat (limited to 'source/blenderplayer')
-rw-r--r-- | source/blenderplayer/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt index fed9e60a638..db75e5f7ad0 100644 --- a/source/blenderplayer/CMakeLists.txt +++ b/source/blenderplayer/CMakeLists.txt @@ -100,6 +100,7 @@ endif() bf_intern_string bf_intern_ghost bf_rna + bf_bmesh bf_blenkernel bf_blenloader bf_blenpluginapi @@ -144,6 +145,7 @@ endif() bf_blenfont bf_intern_audaspace blenkernel_blc + bf_bmesh extern_binreloc extern_minilzo bf_intern_ghost # duplicate for linking diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 75d1f182189..faf597d52b9 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -109,8 +109,27 @@ struct bPythonConstraint; struct bConstraintOb; struct Context; struct ChannelDriver; +struct BMEditMesh; +struct Heap; +struct HeapNode; +struct Scene; /*new render funcs */ +void EDBM_selectmode_set(struct BMEditMesh *em) {} +void EDBM_LoadEditBMesh(struct Scene *scene, struct Object *ob) {} +void EDBM_MakeEditBMesh(struct ToolSettings *ts, struct Scene *scene, struct Object *ob) {} +void *g_system; + +struct Heap* BLI_heap_new (void){return NULL;} +void BLI_heap_free (struct Heap *heap, void *ptrfreefp) {} +struct HeapNode* BLI_heap_insert (struct Heap *heap, float value, void *ptr){return NULL;} +void BLI_heap_remove (struct Heap *heap, struct HeapNode *node) {} +int BLI_heap_empty (struct Heap *heap) {return 0;} +int BLI_heap_size (struct Heap *heap){return 0;} +struct HeapNode* BLI_heap_top (struct Heap *heap){return NULL;} +void* BLI_heap_popmin (struct Heap *heap){return NULL;} + + float *RE_RenderLayerGetPass(struct RenderLayer *rl, int passtype) {return (float *) NULL;} float RE_filter_value(int type, float x) {return 0.0f;} struct RenderLayer *RE_GetRenderLayer(struct RenderResult *rr, const char *name) {return (struct RenderLayer *)NULL;} @@ -295,6 +314,8 @@ void ED_mesh_update(struct Mesh *mesh, struct bContext *C){} void ED_mesh_vertices_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_edges_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_faces_add(struct Mesh *mesh, struct ReportList *reports, int count){} +void ED_mesh_loops_add(struct Mesh *mesh, struct ReportList *reports, int count){} +void ED_mesh_polys_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_material_link(struct Mesh *mesh, struct Material *ma){} int ED_mesh_color_add(struct bContext *C, struct Scene *scene, struct Object *ob, struct Mesh *me){return 0;} int ED_mesh_uv_texture_add(struct bContext *C, struct Mesh *me){return 0;} @@ -307,6 +328,8 @@ void ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vertn void ED_vgroup_delete(struct Object *ob, struct bDeformGroup *defgroup){} void ED_vgroup_clear(struct Object *ob){} void ED_vgroup_object_is_edit_mode(struct Object *ob){} +long mesh_mirrtopo_table(struct Object *ob, char mode){} +intptr_t mesh_octree_table(struct Object *ob, struct BMEditMesh *em, float *co, char mode){} void ED_sequencer_update_view(struct bContext *C, int view){} float ED_rollBoneToVector(struct EditBone *bone, float new_up_axis[3]){return 0.0f;} |