synched with trunk at revision 36569
[blender.git] / source / gameengine / Ketsji / KX_Scene.h
index 367bf0b..26dec2d 100644 (file)
@@ -88,6 +88,7 @@ class SCA_JoystickManager;
 class btCollisionShape;
 class KX_BlenderSceneConverter;
 struct KX_ClientObjectInfo;
+class KX_ObstacleSimulation;
 
 #ifdef WITH_CXX_GUARDEDALLOC
 #include "MEM_guardedalloc.h"
@@ -292,6 +293,9 @@ protected:
        struct Scene* m_blenderScene;
 
        RAS_2DFilterManager m_filtermanager;
+
+       KX_ObstacleSimulation* m_obstacleSimulation;
+
 public:        
        KX_Scene(class SCA_IInputDevice* keyboarddevice,
                class SCA_IInputDevice* mousedevice,
@@ -577,6 +581,8 @@ public:
        void Update2DFilter(vector<STR_String>& propNames, void* gameObj, RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass, STR_String& text);
        void Render2DFilters(RAS_ICanvas* canvas);
 
+       KX_ObstacleSimulation* GetObstacleSimulation() {return m_obstacleSimulation;};
+
 #ifdef WITH_PYTHON
        /* --------------------------------------------------------------------- */
        /* Python interface ---------------------------------------------------- */
@@ -589,6 +595,8 @@ public:
        KX_PYMETHOD_DOC(KX_Scene, suspend);
        KX_PYMETHOD_DOC(KX_Scene, resume);
        KX_PYMETHOD_DOC(KX_Scene, get);
+       KX_PYMETHOD_DOC(KX_Scene, drawObstacleSimulation);
+
 
        /* attributes */
        static PyObject*        pyattr_get_name(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);