[Bf-blender-cvs] [b8c2f58] gooseberry: Gooseberry: Fix stubs for player, so buildbot can deliver builds again

Sergey Sharybin noreply at git.blender.org
Wed Dec 31 10:02:40 CET 2014


Commit: b8c2f58f1cc8c3bccd580b1979f3e79c49d035dc
Author: Sergey Sharybin
Date:   Wed Dec 31 14:01:17 2014 +0500
Branches: gooseberry
https://developer.blender.org/rBb8c2f58f1cc8c3bccd580b1979f3e79c49d035dc

Gooseberry: Fix stubs for player, so buildbot can deliver builds again

Please note, that this commit doesn't fix issues with functions declared
in BKE header and implemented in editor/. This is to be fixed separately.

===================================================================

M	source/blenderplayer/bad_level_call_stubs/stubs.c

===================================================================

diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c
index 68a57fb..84a6ee8 100644
--- a/source/blenderplayer/bad_level_call_stubs/stubs.c
+++ b/source/blenderplayer/bad_level_call_stubs/stubs.c
@@ -144,6 +144,7 @@ struct wmWidgetMap;
 #include "../../intern/elbeem/extern/elbeem.h"
 #include "../blender/blenkernel/BKE_modifier.h"
 #include "../blender/blenkernel/BKE_paint.h"
+#include "../blender/blenkernel/BKE_object_deform.h"
 #include "../blender/collada/collada.h"
 #include "../blender/compositor/COM_compositor.h"
 #include "../blender/editors/include/ED_armature.h"
@@ -255,6 +256,19 @@ float RE_lamp_get_data(struct ShadeInput *shi, struct Object *lamp_obj, float co
 /* blenkernel */
 bool BKE_paint_proj_mesh_data_check(struct Scene *scene, struct Object *ob, bool *uvs, bool *mat, bool *tex, bool *stencil) RET_ZERO
 
+int fmap_name_index(struct Object *ob, const char *name) RET_ZERO
+void fmap_unique_name(struct bFaceMap *fmap, struct Object *ob) RET_NONE
+struct bFaceMap *fmap_find_name(struct Object *ob, const char *name) RET_NULL
+void fmap_copy_list(struct ListBase *outbase, struct ListBase *inbase) RET_NONE
+
+struct bFaceMap *BKE_object_facemap_add(struct Object *ob) RET_NULL
+struct bFaceMap *BKE_object_facemap_add_name(struct Object *ob, const char *name) RET_NULL
+void BKE_object_facemap_remove(struct Object *ob, struct bFaceMap *fmap) RET_NONE
+void BKE_object_fmap_remove_all(struct Object *ob) RET_NONE
+
+void ED_fmap_face_add(struct Object *ob, struct bFaceMap *fmap, int facenum) RET_NONE
+void ED_fmap_face_remove(struct Object *ob, struct bFaceMap *fmap, int facenum) RET_NONE
+
 /* render */
 void RE_FreeRenderResult(struct RenderResult *res) RET_NONE
 void RE_FreeAllRenderResults(void) RET_NONE
@@ -298,6 +312,11 @@ void WM_cursor_time(struct wmWindow *win, int nr) RET_NONE
 void WM_cursor_warp(struct wmWindow *win, int x, int y) RET_NONE
 
 void WM_widgetmap_delete(struct wmWidgetMap *wmap) RET_NONE
+struct wmWidgetMapType *WM_widgetmaptype_find(const char *idname, int spaceid, int regionid, bool is_3d, bool create) RET_NULL;
+struct wmWidgetGroupType *WM_widgetgrouptype_new(int (*poll)(const struct bContext *, struct wmWidgetGroupType *),
+                                                 void (*draw)(const struct bContext *, struct wmWidgetGroup *),
+                                                 struct Main *bmain, const char *mapidname, short spaceid, short regionid, bool is_3d) RET_NULL;
+void WM_widgetgrouptype_unregister(struct bContext *C, struct Main *bmain, struct wmWidgetGroupType *wgroup) RET_NONE;
 
 void                WM_uilisttype_init(void) RET_NONE
 struct uiListType  *WM_uilisttype_find(const char *idname, bool quiet) RET_NULL




More information about the Bf-blender-cvs mailing list