Get rid of c++ in blenkernel and modifiers
[blender.git] / source / gameengine / Converter / BL_BlenderDataConversion.h
1 /*
2  * $Id$
3  *
4  * ***** BEGIN GPL LICENSE BLOCK *****
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  *
20  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
21  * All rights reserved.
22  *
23  * The Original Code is: all of this file.
24  *
25  * Contributor(s): none yet.
26  *
27  * ***** END GPL LICENSE BLOCK *****
28  */
29
30 /** \file BL_BlenderDataConversion.h
31  *  \ingroup bgeconv
32  */
33
34 #ifndef __BLENDER_CONVERT
35 #define __BLENDER_CONVERT
36
37 #include "CTR_HashedPtr.h"
38 #include "STR_String.h"
39 #include "KX_Python.h"
40 #include "KX_PhysicsEngineEnums.h"
41
42 class RAS_MeshObject* BL_ConvertMesh(struct Mesh* mesh,struct Object* lightobj,class KX_Scene* scene, class KX_BlenderSceneConverter *converter);
43
44 void BL_ConvertBlenderObjects(struct Main* maggie,
45                                                           class KX_Scene* kxscene,
46                                                           class KX_KetsjiEngine* ketsjiEngine,
47                                                           e_PhysicsEngine       physics_engine,
48                                                           class RAS_IRenderTools* rendertools,
49                                                           class RAS_ICanvas* canvas, 
50                                                           class KX_BlenderSceneConverter* sceneconverter, 
51                                                           bool alwaysUseExpandFraming
52                                                           );
53
54 #endif // __BLENDER_CONVERT
55