patch from Sergey Sharybin (nazgul), use buildinfod for the player.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 2 Mar 2010 09:45:12 +0000 (09:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 2 Mar 2010 09:45:12 +0000 (09:45 +0000)
source/blenderplayer/bad_level_call_stubs/CMakeLists.txt
source/blenderplayer/bad_level_call_stubs/stubs.c

index 0c62c6c9cfb996c63c1596b23146910c696af764..a172ff71c118b80cf21dcc29f3e26fb09a6e412c 100644 (file)
 
 FILE(GLOB SRC stubs.c)
 
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DBUILD_DATE)
+       FILE(GLOB SRC ${SRC} ../../creator/buildinfo.c)
+ENDIF(WITH_BUILDINFO)
+
 SET(INC 
        .
        .. 
index 8f626ea66a54f28e17be3a145e071222e8417107..0235d22465e90c3c930bc6f8476012096ca73e3d 100644 (file)
@@ -94,6 +94,9 @@ void object_test_constraints (struct Object *owner){}
 void ED_object_parent(struct Object *ob, struct Object *par, int type, const char *substr){}
 void ED_object_constraint_set_active(struct Object *ob, struct bConstraint *con){}
 void ED_node_composit_default(struct Scene *sce){}
+void *ED_region_draw_cb_activate(struct ARegionType *art, void(*draw)(const struct bContext *, struct ARegion *, void *), void *custumdata, int type){return 0;}
+void *ED_region_draw_cb_customdata(void *handle){return 0;}
+void ED_region_draw_cb_exit(struct ARegionType *art, void *handle){}
 
 struct EditBone *ED_armature_bone_get_mirrored(struct ListBase *edbo, struct EditBone *ebo){return (struct EditBone *) NULL;}
 struct EditBone *ED_armature_edit_bone_add(struct bArmature *arm, char *name){return (struct EditBone*) NULL;}
@@ -324,9 +327,3 @@ int CSG_PerformBooleanOperation(
        CSG_FaceIteratorDescriptor              obBFaces,
        CSG_VertexIteratorDescriptor    obBVertices)
        { return 0;}
-
-const char * build_date= "";
-const char * build_time= "";
-const char * build_rev= "";
-const char * build_platform= "";
-const char * build_type= "";