From baa2f99f079920d404af65798a8df3e82bcc6a48 Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Sat, 17 Jul 2004 05:28:23 +0000 Subject: Port Python updates from Tuhopuu2: getType/setType to action/sound actuator (sgefant) Use a more generic python -> math conversion. --- source/gameengine/GameLogic/SCA_IObject.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/gameengine/GameLogic/SCA_IObject.h') diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index b1bb013abea..f57201ba59d 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -43,6 +43,8 @@ class SCA_ISensor; class SCA_IController; class SCA_IActuator; +template T PyVecTo(PyObject*); + typedef std::vector SCA_SensorList; typedef std::vector SCA_ControllerList; typedef std::vector SCA_ActuatorList; @@ -110,8 +112,7 @@ public: */ void Resume(void); - const class MT_Point3& ConvertPythonPylist(PyObject* pylist); - const class MT_Point3& ConvertPythonVectorArg(PyObject* args); +// const class MT_Point3& ConvertPythonPylist(PyObject* pylist); // here come the python forwarded methods virtual PyObject* _getattr(const STR_String& attr); -- cgit v1.2.3