Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2002-11-25 18:29:57 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-25 18:29:57 +0300
commit209a2ede2cdeade0d543969e7b2ff62fee84b43e (patch)
tree28484297290b14033587b3704535db4a0bb06c71 /source/gameengine/Ketsji
parentd0e346d544cd3abb0007a68137b31923020f7aeb (diff)
Last of the config.h mods...
#ifdef HAVE_CONFIG_H #include <config.h> #endif added to these files. Kent -- mein@cs.umn.edu
Diffstat (limited to 'source/gameengine/Ketsji')
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp4
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp4
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_CDActuator.cpp6
-rw-r--r--source/gameengine/Ketsji/KX_Camera.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_CameraActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_CameraIpoSGController.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_ConstraintActuator.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_ConstraintWrapper.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_EmptyObject.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_GameActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_IPO_SGController.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_IPhysicsController.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_IpoActuator.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_KetsjiEngine.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_Light.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_LightIpoSGController.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_MeshProxy.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_MotionState.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_MouseFocusSensor.cpp10
-rw-r--r--source/gameengine/Ketsji/KX_NearSensor.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_ObjectActuator.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_OdePhysicsController.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_OrientationInterpolator.cpp6
-rw-r--r--source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_PositionInterpolator.cpp6
-rw-r--r--source/gameengine/Ketsji/KX_PyConstraintBinding.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_PythonInit.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_RadarSensor.cpp6
-rw-r--r--source/gameengine/Ketsji/KX_RayEventManager.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_RaySensor.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_ScalarInterpolator.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_ScalingInterpolator.cpp6
-rw-r--r--source/gameengine/Ketsji/KX_Scene.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_SceneActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_SoundActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_SumoPhysicsController.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_TimeLogger.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_TouchEventManager.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_TouchSensor.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_TrackToActuator.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_VertexProxy.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_VisibilityActuator.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_WorldInfo.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_WorldIpoController.cpp5
55 files changed, 210 insertions, 28 deletions
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp
index 99aa798cfa5..ad2f786a328 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp
@@ -42,6 +42,10 @@
#include "NG_NetworkMessage.h"
#include "NG_NetworkObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_NetworkEventManager::KX_NetworkEventManager(class SCA_LogicManager*
logicmgr, class NG_NetworkDeviceInterface *ndi) :
SCA_EventManager(NETWORK_EVENTMGR), m_logicmgr(logicmgr), m_ndi(ndi)
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
index 1eb85d60b29..aed6b6a97a1 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
@@ -34,6 +34,10 @@
#include "NG_NetworkScene.h"
#include "KX_NetworkMessageActuator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_NetworkMessageActuator::KX_NetworkMessageActuator(
SCA_IObject* gameobj, // the actuator controlling object
NG_NetworkScene* networkscene, // needed for replication
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
index 1eeceb55469..7e1e46d029a 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
@@ -41,6 +41,10 @@
#include "ListValue.h"
#include "StringValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef NAN_NET_DEBUG
#include <iostream>
#endif
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp
index a7800aea8c8..a27ac01d5c4 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp
@@ -29,3 +29,7 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp
index a7800aea8c8..9da25bcb70b 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp
@@ -29,3 +29,8 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
diff --git a/source/gameengine/Ketsji/KX_CDActuator.cpp b/source/gameengine/Ketsji/KX_CDActuator.cpp
index e69e0e98960..b422585957e 100644
--- a/source/gameengine/Ketsji/KX_CDActuator.cpp
+++ b/source/gameengine/Ketsji/KX_CDActuator.cpp
@@ -39,6 +39,10 @@
#include "SND_Scene.h" // needed for replication
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
@@ -249,4 +253,4 @@ PyObject* KX_CDActuator::PyGetGain(PyObject* self, PyObject* args, PyObject* kwd
PyObject* result = PyFloat_FromDouble(gain);
return result;
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp
index 919355d411a..6b669bcd936 100644
--- a/source/gameengine/Ketsji/KX_Camera.cpp
+++ b/source/gameengine/Ketsji/KX_Camera.cpp
@@ -33,6 +33,10 @@
#include "KX_Camera.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_Camera::KX_Camera(void* sgReplicationInfo,
SG_Callbacks callbacks,
const RAS_CameraData& camdata)
diff --git a/source/gameengine/Ketsji/KX_CameraActuator.cpp b/source/gameengine/Ketsji/KX_CameraActuator.cpp
index 8a6ed0106f5..df61aaf5243 100644
--- a/source/gameengine/Ketsji/KX_CameraActuator.cpp
+++ b/source/gameengine/Ketsji/KX_CameraActuator.cpp
@@ -41,6 +41,10 @@
STR_String KX_CameraActuator::X_AXIS_STRING = "x";
STR_String KX_CameraActuator::Y_AXIS_STRING = "y";
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
diff --git a/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp b/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
index 2e736864a44..19f17ff32ed 100644
--- a/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
+++ b/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
@@ -30,12 +30,13 @@
*/
#include "KX_CameraIpoSGController.h"
-
#include "KX_ScalarInterpolator.h"
#include "KX_Camera.h"
-
#include "RAS_CameraData.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
bool KX_CameraIpoSGController::Update(double currentTime)
{
diff --git a/source/gameengine/Ketsji/KX_ConstraintActuator.cpp b/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
index 8aab3e7648d..e91c82cc811 100644
--- a/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
@@ -38,6 +38,11 @@
#include "MT_Point3.h"
#include "MT_Matrix3x3.h"
#include "KX_GameObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp b/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
index 0a741aa55ac..04bec5cb37c 100644
--- a/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
+++ b/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
@@ -30,10 +30,13 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include <Python.h>
-
#include "KX_ConstraintWrapper.h"
#include "PHY_IPhysicsEnvironment.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_ConstraintWrapper::KX_ConstraintWrapper(
PHY_ConstraintType ctype,
int constraintId,
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
index 97828b618f8..a6e7daadb2c 100644
--- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
+++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
@@ -48,6 +48,11 @@
#include "PHY_Pro.h"
#include "KX_MotionState.h" // bridge between motionstate and scenegraph node
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef USE_ODE
#include "KX_OdePhysicsController.h"
diff --git a/source/gameengine/Ketsji/KX_EmptyObject.cpp b/source/gameengine/Ketsji/KX_EmptyObject.cpp
index d3b120066d9..8a72ba62f51 100644
--- a/source/gameengine/Ketsji/KX_EmptyObject.cpp
+++ b/source/gameengine/Ketsji/KX_EmptyObject.cpp
@@ -30,3 +30,8 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "KX_EmptyObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
diff --git a/source/gameengine/Ketsji/KX_GameActuator.cpp b/source/gameengine/Ketsji/KX_GameActuator.cpp
index 240cef164a3..b3e50359224 100644
--- a/source/gameengine/Ketsji/KX_GameActuator.cpp
+++ b/source/gameengine/Ketsji/KX_GameActuator.cpp
@@ -38,6 +38,10 @@
#include "KX_Scene.h"
#include "KX_KetsjiEngine.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index 1f8b3a8e1ac..24f0a36b152 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -31,6 +31,10 @@
* Game object wrapper
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings.
diff --git a/source/gameengine/Ketsji/KX_IPO_SGController.cpp b/source/gameengine/Ketsji/KX_IPO_SGController.cpp
index ea5617b017a..8dfced41c1e 100644
--- a/source/gameengine/Ketsji/KX_IPO_SGController.cpp
+++ b/source/gameengine/Ketsji/KX_IPO_SGController.cpp
@@ -31,6 +31,10 @@
* Scenegraph controller for ipos.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings.
diff --git a/source/gameengine/Ketsji/KX_IPhysicsController.cpp b/source/gameengine/Ketsji/KX_IPhysicsController.cpp
index 5ef22dd4f74..fe43261c0be 100644
--- a/source/gameengine/Ketsji/KX_IPhysicsController.cpp
+++ b/source/gameengine/Ketsji/KX_IPhysicsController.cpp
@@ -31,6 +31,9 @@
*/
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_IPhysicsController::KX_IPhysicsController(bool dyna,void* userdata)
diff --git a/source/gameengine/Ketsji/KX_IpoActuator.cpp b/source/gameengine/Ketsji/KX_IpoActuator.cpp
index 1e351834822..de2b31684e0 100644
--- a/source/gameengine/Ketsji/KX_IpoActuator.cpp
+++ b/source/gameengine/Ketsji/KX_IpoActuator.cpp
@@ -35,6 +35,9 @@
#include "KX_IpoActuator.h"
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Type strings */
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
index c03e4e3d964..80a4d13c916 100644
--- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
@@ -30,6 +30,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
* The engine ties all game modules together.
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
diff --git a/source/gameengine/Ketsji/KX_Light.cpp b/source/gameengine/Ketsji/KX_Light.cpp
index 25e756ae66c..658f45a49b0 100644
--- a/source/gameengine/Ketsji/KX_Light.cpp
+++ b/source/gameengine/Ketsji/KX_Light.cpp
@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
diff --git a/source/gameengine/Ketsji/KX_LightIpoSGController.cpp b/source/gameengine/Ketsji/KX_LightIpoSGController.cpp
index 3dd26947a79..e1bb3329ca8 100644
--- a/source/gameengine/Ketsji/KX_LightIpoSGController.cpp
+++ b/source/gameengine/Ketsji/KX_LightIpoSGController.cpp
@@ -30,12 +30,13 @@
*/
#include "KX_LightIpoSGController.h"
-
#include "KX_ScalarInterpolator.h"
#include "KX_Light.h"
-
#include "RAS_LightObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
bool KX_LightIpoSGController::Update(double currentTime)
{
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp
index f17e5820d52..4b5580ed438 100644
--- a/source/gameengine/Ketsji/KX_MeshProxy.cpp
+++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp
@@ -30,11 +30,13 @@
*/
#include "KX_MeshProxy.h"
-
#include "RAS_IPolygonMaterial.h"
#include "RAS_MeshObject.h"
#include "KX_VertexProxy.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
PyTypeObject KX_MeshProxy::Type = {
PyObject_HEAD_INIT(&PyType_Type)
diff --git a/source/gameengine/Ketsji/KX_MotionState.cpp b/source/gameengine/Ketsji/KX_MotionState.cpp
index 50b1943e5f0..6de9cf3b36e 100644
--- a/source/gameengine/Ketsji/KX_MotionState.cpp
+++ b/source/gameengine/Ketsji/KX_MotionState.cpp
@@ -32,6 +32,10 @@
#include "KX_MotionState.h"
#include "SG_Spatial.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_MotionState::KX_MotionState(SG_Spatial* node) : m_node(node)
{
diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
index 006215b9fe8..c6f41265690 100644
--- a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
+++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
@@ -31,6 +31,10 @@
* KX_MouseFocusSensor determines mouse in/out/over events.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings.
@@ -38,19 +42,13 @@
#endif
#include "MT_Point3.h"
-
#include "KX_ClientObjectInfo.h"
-
-
#include "RAS_FramingManager.h"
#include "RAS_ICanvas.h"
#include "RAS_IRasterizer.h"
-
#include "SCA_IScene.h"
-
#include "KX_Scene.h"
#include "KX_Camera.h"
-
#include "KX_MouseFocusSensor.h"
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_NearSensor.cpp b/source/gameengine/Ketsji/KX_NearSensor.cpp
index 0388f7cc332..8008e85843f 100644
--- a/source/gameengine/Ketsji/KX_NearSensor.cpp
+++ b/source/gameengine/Ketsji/KX_NearSensor.cpp
@@ -38,6 +38,9 @@
#include "KX_TouchEventManager.h"
#include "KX_Scene.h" // needed to create a replica
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef PHYSICS_NOT_YET
diff --git a/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp b/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
index d4bb714d75d..58c1494724c 100644
--- a/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
+++ b/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
@@ -30,10 +30,12 @@
*/
#include "KX_ObColorIpoSGController.h"
-
#include "KX_ScalarInterpolator.h"
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
bool KX_ObColorIpoSGController::Update(double currentTime)
{
diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
index 97e167385dc..bcbabc384e9 100644
--- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
@@ -36,6 +36,9 @@
#include "KX_GameObject.h"
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
diff --git a/source/gameengine/Ketsji/KX_OdePhysicsController.cpp b/source/gameengine/Ketsji/KX_OdePhysicsController.cpp
index ece08975f4f..0eff54dc0c6 100644
--- a/source/gameengine/Ketsji/KX_OdePhysicsController.cpp
+++ b/source/gameengine/Ketsji/KX_OdePhysicsController.cpp
@@ -23,6 +23,9 @@
#include "KX_GameObject.h"
#include "KX_MotionState.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_OdePhysicsController::KX_OdePhysicsController(
bool dyna,
diff --git a/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp b/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
index bead946ab37..3d65e18a7d0 100644
--- a/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
+++ b/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
@@ -30,11 +30,13 @@
*/
#include "KX_OrientationInterpolator.h"
-
-
#include "MT_Matrix3x3.h"
#include "KX_IScalarInterpolator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void KX_OrientationInterpolator::Execute(float currentTime) const {
MT_Vector3 eul(m_ipos[0]->GetValue(currentTime),
m_ipos[1]->GetValue(currentTime),
diff --git a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
index b14afbdc678..2bba77a966a 100644
--- a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
+++ b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
@@ -34,6 +34,10 @@
#include "PHY_IPhysicsEnvironment.h"
#include "PHY_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_PhysicsObjectWrapper::KX_PhysicsObjectWrapper(
PHY_IPhysicsController* ctrl,
PHY_IPhysicsEnvironment* physenv,PyTypeObject *T)
diff --git a/source/gameengine/Ketsji/KX_PositionInterpolator.cpp b/source/gameengine/Ketsji/KX_PositionInterpolator.cpp
index 96af6e3ccf3..eb8edcdca94 100644
--- a/source/gameengine/Ketsji/KX_PositionInterpolator.cpp
+++ b/source/gameengine/Ketsji/KX_PositionInterpolator.cpp
@@ -30,11 +30,13 @@
*/
#include "KX_PositionInterpolator.h"
-
-
#include "MT_Point3.h"
#include "KX_IScalarInterpolator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void KX_PositionInterpolator::Execute(float currentTime) const {
m_target.setValue(m_ipos[0]->GetValue(currentTime),
m_ipos[1]->GetValue(currentTime),
diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
index 67a40639a13..ae7c8caaa51 100644
--- a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
+++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
@@ -35,6 +35,9 @@
#include "KX_PhysicsObjectWrapper.h"
#include "PHY_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// nasty glob variable to connect scripting language
// if there is a better way (without global), please do so!
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp
index 7b6c3a823ca..7c1b9928f5f 100644
--- a/source/gameengine/Ketsji/KX_PythonInit.cpp
+++ b/source/gameengine/Ketsji/KX_PythonInit.cpp
@@ -31,6 +31,10 @@
* Initialize Python thingies.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
diff --git a/source/gameengine/Ketsji/KX_RadarSensor.cpp b/source/gameengine/Ketsji/KX_RadarSensor.cpp
index 27142987f4f..19e26b6f484 100644
--- a/source/gameengine/Ketsji/KX_RadarSensor.cpp
+++ b/source/gameengine/Ketsji/KX_RadarSensor.cpp
@@ -30,8 +30,12 @@
*/
#include "KX_RadarSensor.h"
-
#include "KX_GameObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* RadarSensor constructor. Creates a near-sensor derived class, with a cone collision shape.
*/
diff --git a/source/gameengine/Ketsji/KX_RayEventManager.cpp b/source/gameengine/Ketsji/KX_RayEventManager.cpp
index d57f97efb44..ca16ceb015b 100644
--- a/source/gameengine/Ketsji/KX_RayEventManager.cpp
+++ b/source/gameengine/Ketsji/KX_RayEventManager.cpp
@@ -35,11 +35,16 @@
#include "SCA_LogicManager.h"
#include "SCA_ISensor.h"
#include <vector>
+
using namespace std;
#include <iostream>
#include <stdio.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void KX_RayEventManager::NextFrame(double curtime,double deltatime)
{
for (vector<class SCA_ISensor*>::const_iterator i= m_sensors.begin();!(i==m_sensors.end());i++)
diff --git a/source/gameengine/Ketsji/KX_RaySensor.cpp b/source/gameengine/Ketsji/KX_RaySensor.cpp
index eac362a0b1c..5cca436327a 100644
--- a/source/gameengine/Ketsji/KX_RaySensor.cpp
+++ b/source/gameengine/Ketsji/KX_RaySensor.cpp
@@ -41,6 +41,9 @@
#include "KX_GameObject.h"
#include "KX_Scene.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_RaySensor::KX_RaySensor(class SCA_EventManager* eventmgr,
SCA_IObject* gameobj,
diff --git a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
index 4e73f4e27ca..666d4474130 100644
--- a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
@@ -42,6 +42,10 @@
#include "KX_GameObject.h"
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
index ca1c4d04084..a549ef56714 100644
--- a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
@@ -41,6 +41,10 @@
#include "KX_SCA_EndObjectActuator.h"
#include "SCA_IScene.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_SCA_EndObjectActuator::KX_SCA_EndObjectActuator(SCA_IObject *gameobj,
SCA_IScene* scene,
PyTypeObject* T):
diff --git a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
index 731ddeff80d..784a3e015df 100644
--- a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
@@ -38,9 +38,12 @@
// Please look here for revision history.
-
#include "KX_SCA_ReplaceMeshActuator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Python functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp b/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp
index 16529a91471..437f696d872 100644
--- a/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp
+++ b/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp
@@ -31,6 +31,9 @@
#include "KX_SG_NodeRelationships.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/**
* Implementation of classes defined in KX_SG_NodeRelationships.h
diff --git a/source/gameengine/Ketsji/KX_ScalarInterpolator.cpp b/source/gameengine/Ketsji/KX_ScalarInterpolator.cpp
index e1c72c74a41..5e036600119 100644
--- a/source/gameengine/Ketsji/KX_ScalarInterpolator.cpp
+++ b/source/gameengine/Ketsji/KX_ScalarInterpolator.cpp
@@ -30,9 +30,12 @@
*/
#include "KX_ScalarInterpolator.h"
-
#include "KX_IScalarInterpolator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void KX_ScalarInterpolator::Execute(float currentTime) const {
*m_target = m_ipo->GetValue(currentTime);
}
diff --git a/source/gameengine/Ketsji/KX_ScalingInterpolator.cpp b/source/gameengine/Ketsji/KX_ScalingInterpolator.cpp
index 87bd9455d74..c645eb6a3ea 100644
--- a/source/gameengine/Ketsji/KX_ScalingInterpolator.cpp
+++ b/source/gameengine/Ketsji/KX_ScalingInterpolator.cpp
@@ -30,11 +30,13 @@
*/
#include "KX_ScalingInterpolator.h"
-
-
#include "MT_Vector3.h"
#include "KX_IScalarInterpolator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void KX_ScalingInterpolator::Execute(float currentTime) const {
m_target.setValue(m_ipos[0]->GetValue(currentTime),
m_ipos[1]->GetValue(currentTime),
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index 508ada3a5a9..c2cb001cce8 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -31,6 +31,10 @@
* Ketsji scene. Holds references to all scene data.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
diff --git a/source/gameengine/Ketsji/KX_SceneActuator.cpp b/source/gameengine/Ketsji/KX_SceneActuator.cpp
index 7cba1a6ac1e..4a1d8c74b77 100644
--- a/source/gameengine/Ketsji/KX_SceneActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SceneActuator.cpp
@@ -39,6 +39,10 @@
#include "KX_Camera.h"
#include "KX_KetsjiEngine.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_SoundActuator.cpp b/source/gameengine/Ketsji/KX_SoundActuator.cpp
index b36ff5f2c09..3e2103245f1 100644
--- a/source/gameengine/Ketsji/KX_SoundActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SoundActuator.cpp
@@ -40,6 +40,10 @@
#include "SND_Scene.h" // needed for replication
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp b/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp
index aa49f33bfb2..12b8775b5cd 100644
--- a/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp
+++ b/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp
@@ -6,7 +6,9 @@
#include "KX_GameObject.h"
#include "KX_MotionState.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void KX_SumoPhysicsController::applyImpulse(const MT_Point3& attach, const MT_Vector3& impulse)
{
diff --git a/source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp b/source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp
index 53a47abd77e..61bd0385972 100644
--- a/source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp
+++ b/source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp
@@ -32,6 +32,9 @@
#include "KX_TimeCategoryLogger.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_TimeCategoryLogger::KX_TimeCategoryLogger(unsigned int maxNumMeasurements)
: m_maxNumMeasurements(maxNumMeasurements)
diff --git a/source/gameengine/Ketsji/KX_TimeLogger.cpp b/source/gameengine/Ketsji/KX_TimeLogger.cpp
index e2114e8d8d7..509f7e13234 100644
--- a/source/gameengine/Ketsji/KX_TimeLogger.cpp
+++ b/source/gameengine/Ketsji/KX_TimeLogger.cpp
@@ -32,7 +32,9 @@
#include "KX_TimeLogger.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_TimeLogger::KX_TimeLogger(unsigned int maxNumMeasurements)
: m_maxNumMeasurements(maxNumMeasurements), m_logging(false), m_logStart(0)
diff --git a/source/gameengine/Ketsji/KX_TouchEventManager.cpp b/source/gameengine/Ketsji/KX_TouchEventManager.cpp
index d9848398900..8c7f18983e5 100644
--- a/source/gameengine/Ketsji/KX_TouchEventManager.cpp
+++ b/source/gameengine/Ketsji/KX_TouchEventManager.cpp
@@ -30,11 +30,14 @@
*/
#include "KX_TouchEventManager.h"
-
#include "SCA_ISensor.h"
#include "KX_TouchSensor.h"
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef PHYSICS_NOT_YET
KX_TouchEventManager::KX_TouchEventManager(class SCA_LogicManager* logicmgr,
diff --git a/source/gameengine/Ketsji/KX_TouchSensor.cpp b/source/gameengine/Ketsji/KX_TouchSensor.cpp
index daf344999fc..ee2226d03ad 100644
--- a/source/gameengine/Ketsji/KX_TouchSensor.cpp
+++ b/source/gameengine/Ketsji/KX_TouchSensor.cpp
@@ -39,6 +39,10 @@
#include "KX_TouchEventManager.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef PHYSICS_NOT_YET
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/Ketsji/KX_TrackToActuator.cpp b/source/gameengine/Ketsji/KX_TrackToActuator.cpp
index 647ffb447aa..6dcb6281a63 100644
--- a/source/gameengine/Ketsji/KX_TrackToActuator.cpp
+++ b/source/gameengine/Ketsji/KX_TrackToActuator.cpp
@@ -45,6 +45,9 @@
#include <iostream>
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
diff --git a/source/gameengine/Ketsji/KX_VertexProxy.cpp b/source/gameengine/Ketsji/KX_VertexProxy.cpp
index 2f61ef7a630..b9cb9affe72 100644
--- a/source/gameengine/Ketsji/KX_VertexProxy.cpp
+++ b/source/gameengine/Ketsji/KX_VertexProxy.cpp
@@ -30,9 +30,11 @@
*/
#include "KX_VertexProxy.h"
-
#include "RAS_TexVert.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
PyTypeObject KX_VertexProxy::Type = {
PyObject_HEAD_INIT(&PyType_Type)
diff --git a/source/gameengine/Ketsji/KX_VisibilityActuator.cpp b/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
index c39775f4391..ccaca4a93fb 100644
--- a/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
+++ b/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
@@ -34,6 +34,10 @@
#include "KX_VisibilityActuator.h"
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
KX_VisibilityActuator::KX_VisibilityActuator(
SCA_IObject* gameobj,
bool visible,
diff --git a/source/gameengine/Ketsji/KX_WorldInfo.cpp b/source/gameengine/Ketsji/KX_WorldInfo.cpp
index 4c1884572e5..c2e696f856e 100644
--- a/source/gameengine/Ketsji/KX_WorldInfo.cpp
+++ b/source/gameengine/Ketsji/KX_WorldInfo.cpp
@@ -31,6 +31,9 @@
#include "KX_WorldInfo.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_WorldInfo::~KX_WorldInfo()
{
diff --git a/source/gameengine/Ketsji/KX_WorldIpoController.cpp b/source/gameengine/Ketsji/KX_WorldIpoController.cpp
index c4907a29a7a..4d7e6592b6b 100644
--- a/source/gameengine/Ketsji/KX_WorldIpoController.cpp
+++ b/source/gameengine/Ketsji/KX_WorldIpoController.cpp
@@ -30,10 +30,13 @@
*/
#include "KX_WorldIpoController.h"
-
#include "KX_ScalarInterpolator.h"
#include "KX_WorldInfo.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
bool KX_WorldIpoController::Update(double currentTime)
{
if (m_modified)