From 0a51feab36350c79f3247de13f5e7998288d3011 Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Fri, 3 Jan 2003 21:36:16 +0000 Subject: [PATCH] These updates enable the build of the gameengine (configure --enable-gameengine). However, you still need to manually configure, compile and install ode. * Following the original NaN makefile, I removed the TerraplayNetwork files from the build. (Moved the two files to EXTRA_DIST). * Pass a const char * to Py_BuildValue instead of a STR_String in BL_ActionActuator.cpp * Added some include directories in Makefile.am's Michel --- source/gameengine/Converter/BL_ActionActuator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gameengine/Converter/BL_ActionActuator.cpp b/source/gameengine/Converter/BL_ActionActuator.cpp index 50860bb4ad3..78967a55ac1 100644 --- a/source/gameengine/Converter/BL_ActionActuator.cpp +++ b/source/gameengine/Converter/BL_ActionActuator.cpp @@ -126,7 +126,7 @@ bool BL_ActionActuator::Update(double curtime,double deltatime) /* We know that action actuators have been discarded from all non armature objects: if we're being called, we're attached to a BL_ArmatureObject */ BL_ArmatureObject *obj = (BL_ArmatureObject*)GetParent(); - int length = m_endtime - m_starttime; + float length = m_endtime - m_starttime; priority = m_priority; @@ -436,7 +436,7 @@ PyObject* BL_ActionActuator::PyGetProperty(PyObject* self, PyObject* kwds) { PyObject *result; - result = Py_BuildValue("s", m_propname); + result = Py_BuildValue("s", (const char *)m_propname); return result; }