[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32710] trunk/blender/source/blenderplayer /bad_level_call_stubs/stubs.c: blenderplayer building again in CMake+MSVC

Dalai Felinto dfelinto at gmail.com
Tue Oct 26 19:13:52 CEST 2010


hm strange it's required on Cmake though.
But I somehow suspected that (that's why the code was only commented out).

Anyone knows if blenderplayer in linux (with Cmake) builds fine with this
commit?

2010/10/26 Mitchell Stokes <mogurijin at gmail.com>

> On Mon, Oct 25, 2010 at 6:55 PM, Dalai Felinto <dfelinto at gmail.com> wrote:
>
> > Revision: 32710
> >
> >
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32710
> > Author:   dfelinto
> > Date:     2010-10-26 03:55:06 +0200 (Tue, 26 Oct 2010)
> >
> > Log Message:
> > -----------
> > blenderplayer building again in CMake+MSVC
> > (I basically commented out functions already defined in other places)
> >
> > Modified Paths:
> > --------------
> >    trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
> >
> > Modified: trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
> > ===================================================================
> > --- trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
> > 2010-10-25 22:44:01 UTC (rev 32709)
> > +++ trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
> > 2010-10-26 01:55:06 UTC (rev 32710)
> > @@ -374,10 +374,12 @@
> >  struct wmKeyMap *WM_modalkeymap_add(struct wmKeyConfig *keyconf, char
> > *idname, EnumPropertyItem *items){return (struct wmKeyMap *) NULL;}
> >
> >  /* intern/decimation */
> > +/*
> >  int LOD_FreeDecimationData(struct LOD_Decimation_Info *info){return 0;}
> >  int LOD_CollapseEdge(struct LOD_Decimation_Info *info){return 0;}
> >  int LOD_PreprocessMesh(struct LOD_Decimation_Info *info){return 0;}
> >  int LOD_LoadMesh(struct LOD_Decimation_Info *info){return 0;}
> > +*/
> >
> >  /* smoke */
> >  void LzmaCompress(void) { return; }
> > @@ -423,17 +425,19 @@
> >  char blender_path[] = "";
> >
> >  /* CSG */
> > +/*
> >  struct CSG_BooleanOperation * CSG_NewBooleanFunction( void ){return
> > (struct CSG_BooleanOperation *) NULL;}
> >  void CSG_FreeBooleanOperation(struct CSG_BooleanOperation
> > *operation){return;}
> >  void CSG_FreeFaceDescriptor(struct CSG_FaceIteratorDescriptor *
> > f_descriptor){return;}
> >  void CSG_FreeVertexDescriptor(struct CSG_VertexIteratorDescriptor *
> > v_descriptor){return;}
> >  int CSG_OutputFaceDescriptor(struct CSG_BooleanOperation * operation,
> > struct CSG_FaceIteratorDescriptor * output){return 0;}
> >  int CSG_OutputVertexDescriptor(struct CSG_BooleanOperation * operation,
> > struct CSG_VertexIteratorDescriptor *output){return 0;}
> > +*/
> >
> >  typedef struct CSG_VertexIteratorDescriptor {int a;}
> > CSG_VertexIteratorDescriptor; //workaround to build
> CSG_PerformanceBoolean
> > Operation
> >  typedef struct CSG_FaceIteratorDescriptor {int a;}
> > CSG_FaceIteratorDescriptor; //workaround to build CSG_PerformanceBoolean
> > Operation
> >  typedef struct CSG_OperationType {int a;} CSG_OperationType;
> //workaround
> > to build CSG_PerformanceBoolean Operation
> > -
> > +/*
> >  int CSG_PerformBooleanOperation(
> >        struct CSG_BooleanOperation                     *operation,
> >        CSG_OperationType                               op_type,
> > @@ -442,5 +446,6 @@
> >        CSG_FaceIteratorDescriptor              obBFaces,
> >        CSG_VertexIteratorDescriptor    obBVertices)
> >        { return 0;}
> > +*/
> >
> >  #endif // GAMEBLENDER == 1
> >
> >
> > _______________________________________________
> > Bf-blender-cvs mailing list
> > Bf-blender-cvs at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-blender-cvs
> >
>
> This breaks scons+msvc. And apparently breaks building on Linux.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list