diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-11-25 14:16:17 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-11-25 14:16:17 +0300 |
commit | b9a19f1ea702446cb176d3f621de331d5c2cc9da (patch) | |
tree | 9e2e0d1265ef8a2ad9e7719b1881d653b088cd5c /source/gameengine/Ketsji | |
parent | 3f2f1571e5b1839c88f9facfe6834ec19f6e533a (diff) |
Did all of the .h's in source
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
Diffstat (limited to 'source/gameengine/Ketsji')
63 files changed, 246 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h index 75715f5569c..8c0fd79d44b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.h @@ -35,6 +35,10 @@ #include "SCA_EventManager.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_NetworkEventManager : public SCA_EventManager { class SCA_LogicManager* m_logicmgr; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h index 2cc8a3d4a4c..a6cd7966fc1 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.h @@ -34,11 +34,13 @@ #define __KX_NETWORKMESSAGEACTUATOR_H #include "STR_String.h" - #include "SCA_IActuator.h" - #include "NG_NetworkMessage.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_NetworkMessageActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h index 8335a8ba7a4..b54299e66bf 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.h @@ -35,6 +35,10 @@ #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_NetworkEventManager; class NG_NetworkScene; diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h index 39910963161..9da25bcb70b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.h @@ -30,3 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h index 39910963161..9da25bcb70b 100644 --- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h +++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.h @@ -30,3 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + diff --git a/source/gameengine/Ketsji/KX_CDActuator.h b/source/gameengine/Ketsji/KX_CDActuator.h index 3422e9eeefd..c4ac98fd6cc 100644 --- a/source/gameengine/Ketsji/KX_CDActuator.h +++ b/source/gameengine/Ketsji/KX_CDActuator.h @@ -38,6 +38,9 @@ #include "SCA_IActuator.h" #include "SND_CDObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class KX_CDActuator : public SCA_IActuator { diff --git a/source/gameengine/Ketsji/KX_Camera.h b/source/gameengine/Ketsji/KX_Camera.h index 4a40ff12d7a..6bc91b3b2bb 100644 --- a/source/gameengine/Ketsji/KX_Camera.h +++ b/source/gameengine/Ketsji/KX_Camera.h @@ -44,6 +44,10 @@ #include "IntValue.h" #include "RAS_CameraData.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_Camera : public KX_GameObject { diff --git a/source/gameengine/Ketsji/KX_CameraActuator.h b/source/gameengine/Ketsji/KX_CameraActuator.h index 285444a8f38..46e76d84c98 100644 --- a/source/gameengine/Ketsji/KX_CameraActuator.h +++ b/source/gameengine/Ketsji/KX_CameraActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * The camera actuator does a Robbie Muller prespective for you. This is a diff --git a/source/gameengine/Ketsji/KX_CameraIpoSGController.h b/source/gameengine/Ketsji/KX_CameraIpoSGController.h index 029aa6d7156..25855a77f51 100644 --- a/source/gameengine/Ketsji/KX_CameraIpoSGController.h +++ b/source/gameengine/Ketsji/KX_CameraIpoSGController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct RAS_CameraData; class KX_CameraIpoSGController : public SG_Controller diff --git a/source/gameengine/Ketsji/KX_ClientObjectInfo.h b/source/gameengine/Ketsji/KX_ClientObjectInfo.h index 0981463ed44..c7dfb4be0b4 100644 --- a/source/gameengine/Ketsji/KX_ClientObjectInfo.h +++ b/source/gameengine/Ketsji/KX_ClientObjectInfo.h @@ -32,6 +32,10 @@ #ifndef __KX_CLIENTOBJECT_INFO_H #define __KX_CLIENTOBJECT_INFO_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks */ diff --git a/source/gameengine/Ketsji/KX_ConstraintActuator.h b/source/gameengine/Ketsji/KX_ConstraintActuator.h index 70602622ef6..e38779c9f20 100644 --- a/source/gameengine/Ketsji/KX_ConstraintActuator.h +++ b/source/gameengine/Ketsji/KX_ConstraintActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_ConstraintActuator : public SCA_IActuator { diff --git a/source/gameengine/Ketsji/KX_ConstraintWrapper.h b/source/gameengine/Ketsji/KX_ConstraintWrapper.h index 9f4bb78bdc4..e9bb5f1fea3 100644 --- a/source/gameengine/Ketsji/KX_ConstraintWrapper.h +++ b/source/gameengine/Ketsji/KX_ConstraintWrapper.h @@ -35,6 +35,10 @@ #include "Value.h" #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_ConstraintWrapper : public PyObjectPlus { Py_Header; diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h index 47eb449a15b..a88e6f629cb 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h @@ -33,6 +33,9 @@ #define KX_CONVERTPHYSICSOBJECTS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif //#define USE_SUMO_SOLID diff --git a/source/gameengine/Ketsji/KX_EmptyObject.h b/source/gameengine/Ketsji/KX_EmptyObject.h index b2038eb4816..7c3faba2cba 100644 --- a/source/gameengine/Ketsji/KX_EmptyObject.h +++ b/source/gameengine/Ketsji/KX_EmptyObject.h @@ -33,6 +33,10 @@ #define __KX_EMPTYOBJECT #include "KX_GameObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_EmptyObject : public KX_GameObject { public: diff --git a/source/gameengine/Ketsji/KX_GameActuator.h b/source/gameengine/Ketsji/KX_GameActuator.h index 7f2af86db42..f81f47a9c39 100644 --- a/source/gameengine/Ketsji/KX_GameActuator.h +++ b/source/gameengine/Ketsji/KX_GameActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_GameActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 28cdb8a9045..9cf5c1476ef 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -34,6 +34,10 @@ #ifndef __KX_GAMEOBJECT #define __KX_GAMEOBJECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 // get rid of this stupid "warning 'this' used in initialiser list", generated by VC when including Solid/Sumo diff --git a/source/gameengine/Ketsji/KX_IInterpolator.h b/source/gameengine/Ketsji/KX_IInterpolator.h index 6a59f537c8d..bf199722023 100644 --- a/source/gameengine/Ketsji/KX_IInterpolator.h +++ b/source/gameengine/Ketsji/KX_IInterpolator.h @@ -34,6 +34,10 @@ #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IInterpolator { public: virtual ~KX_IInterpolator() {} diff --git a/source/gameengine/Ketsji/KX_IPOTransform.h b/source/gameengine/Ketsji/KX_IPOTransform.h index 45c6d0d9459..e212e414e72 100644 --- a/source/gameengine/Ketsji/KX_IPOTransform.h +++ b/source/gameengine/Ketsji/KX_IPOTransform.h @@ -37,6 +37,10 @@ #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IPOTransform { public: KX_IPOTransform() : diff --git a/source/gameengine/Ketsji/KX_IPO_SGController.h b/source/gameengine/Ketsji/KX_IPO_SGController.h index 107d5026370..b4588b0e80a 100644 --- a/source/gameengine/Ketsji/KX_IPO_SGController.h +++ b/source/gameengine/Ketsji/KX_IPO_SGController.h @@ -38,6 +38,10 @@ #include "KX_IPOTransform.h" #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IpoSGController : public SG_Controller { KX_IPOTransform m_ipo_xform; diff --git a/source/gameengine/Ketsji/KX_IPhysicsController.h b/source/gameengine/Ketsji/KX_IPhysicsController.h index 0ed8cf1ad7d..0b2055f9ebf 100644 --- a/source/gameengine/Ketsji/KX_IPhysicsController.h +++ b/source/gameengine/Ketsji/KX_IPhysicsController.h @@ -37,6 +37,10 @@ #include "MT_Point3.h" #include "MT_Matrix3x3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** Physics Controller, a special kind of Scene Graph Transformation Controller. It get's callbacks from Physics in case a transformation change took place. diff --git a/source/gameengine/Ketsji/KX_IScalarInterpolator.h b/source/gameengine/Ketsji/KX_IScalarInterpolator.h index f5d23d3e4e0..39be9df7d12 100644 --- a/source/gameengine/Ketsji/KX_IScalarInterpolator.h +++ b/source/gameengine/Ketsji/KX_IScalarInterpolator.h @@ -32,6 +32,10 @@ #ifndef KX_ISCALARINTERPOLATOR_H #define KX_ISCALARINTERPOLATOR_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IScalarInterpolator { public: virtual ~KX_IScalarInterpolator() {} diff --git a/source/gameengine/Ketsji/KX_ISceneConverter.h b/source/gameengine/Ketsji/KX_ISceneConverter.h index 41565096176..90b53985d26 100644 --- a/source/gameengine/Ketsji/KX_ISceneConverter.h +++ b/source/gameengine/Ketsji/KX_ISceneConverter.h @@ -36,6 +36,10 @@ #include "KX_Python.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_ISceneConverter { diff --git a/source/gameengine/Ketsji/KX_ISystem.h b/source/gameengine/Ketsji/KX_ISystem.h index bf404bd3af7..600e180a067 100644 --- a/source/gameengine/Ketsji/KX_ISystem.h +++ b/source/gameengine/Ketsji/KX_ISystem.h @@ -40,6 +40,10 @@ using namespace std; #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * System Abstraction, needed only for getting some timing stuff from the host. */ diff --git a/source/gameengine/Ketsji/KX_IpoActuator.h b/source/gameengine/Ketsji/KX_IpoActuator.h index e5cd1b943a8..31e2e056b3a 100644 --- a/source/gameengine/Ketsji/KX_IpoActuator.h +++ b/source/gameengine/Ketsji/KX_IpoActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IpoActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h index 4246bc28b50..e6b274c105b 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.h +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h @@ -43,6 +43,10 @@ #include <vector> #include <set> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_TimeCategoryLogger; #define LEFT_EYE 1 diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h index 311780af755..e2538d60b2d 100644 --- a/source/gameengine/Ketsji/KX_Light.h +++ b/source/gameengine/Ketsji/KX_Light.h @@ -35,6 +35,10 @@ #include "RAS_LightObject.h" #include "KX_GameObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_LightObject : public KX_GameObject { RAS_LightObject m_lightobj; diff --git a/source/gameengine/Ketsji/KX_LightIpoSGController.h b/source/gameengine/Ketsji/KX_LightIpoSGController.h index 459d091ce80..daedb3f1855 100644 --- a/source/gameengine/Ketsji/KX_LightIpoSGController.h +++ b/source/gameengine/Ketsji/KX_LightIpoSGController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct RAS_LightObject; class KX_LightIpoSGController : public SG_Controller diff --git a/source/gameengine/Ketsji/KX_MeshProxy.h b/source/gameengine/Ketsji/KX_MeshProxy.h index 63feb220f67..535c5421b55 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.h +++ b/source/gameengine/Ketsji/KX_MeshProxy.h @@ -34,6 +34,10 @@ #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_MeshProxy : public SCA_IObject { Py_Header; diff --git a/source/gameengine/Ketsji/KX_MotionState.h b/source/gameengine/Ketsji/KX_MotionState.h index d62dc1ed097..81ba2f06104 100644 --- a/source/gameengine/Ketsji/KX_MotionState.h +++ b/source/gameengine/Ketsji/KX_MotionState.h @@ -34,6 +34,10 @@ #include "PHY_IMotionState.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_MotionState : public PHY_IMotionState { class SG_Spatial* m_node; diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.h b/source/gameengine/Ketsji/KX_MouseFocusSensor.h index 23631711aff..c4228ab90e1 100644 --- a/source/gameengine/Ketsji/KX_MouseFocusSensor.h +++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.h @@ -37,6 +37,10 @@ #include "SCA_MouseSensor.h" /* #include "SCA_IInputDevice.h" */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * The mouse focus sensor extends the basic SCA_MouseSensor. It has * been placed in KX because it needs access to the rasterizer and diff --git a/source/gameengine/Ketsji/KX_NearSensor.h b/source/gameengine/Ketsji/KX_NearSensor.h index 33ec14ba2f2..141dd818423 100644 --- a/source/gameengine/Ketsji/KX_NearSensor.h +++ b/source/gameengine/Ketsji/KX_NearSensor.h @@ -36,6 +36,11 @@ #define KX_NEARSENSOR_H #include "KX_TouchSensor.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_Scene; class KX_NearSensor : public KX_TouchSensor diff --git a/source/gameengine/Ketsji/KX_ObColorIpoSGController.h b/source/gameengine/Ketsji/KX_ObColorIpoSGController.h index fe66de14848..3fb09f7aaee 100644 --- a/source/gameengine/Ketsji/KX_ObColorIpoSGController.h +++ b/source/gameengine/Ketsji/KX_ObColorIpoSGController.h @@ -37,6 +37,9 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class KX_ObColorIpoSGController : public SG_Controller { diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.h b/source/gameengine/Ketsji/KX_ObjectActuator.h index 204b2c43a09..9ddad69cb74 100644 --- a/source/gameengine/Ketsji/KX_ObjectActuator.h +++ b/source/gameengine/Ketsji/KX_ObjectActuator.h @@ -38,6 +38,9 @@ #include "SCA_IActuator.h" #include "MT_Vector3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif // // Bitfield that stores the flags for each CValue derived class diff --git a/source/gameengine/Ketsji/KX_OdePhysicsController.h b/source/gameengine/Ketsji/KX_OdePhysicsController.h index 314803ddbe9..514e1f98a2a 100644 --- a/source/gameengine/Ketsji/KX_OdePhysicsController.h +++ b/source/gameengine/Ketsji/KX_OdePhysicsController.h @@ -25,6 +25,9 @@ #include "KX_IPhysicsController.h" #include "OdePhysicsController.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** Physics Controller, a special kind of Scene Graph Transformation Controller. diff --git a/source/gameengine/Ketsji/KX_OrientationInterpolator.h b/source/gameengine/Ketsji/KX_OrientationInterpolator.h index 1fb91ef785d..ce671f395ca 100644 --- a/source/gameengine/Ketsji/KX_OrientationInterpolator.h +++ b/source/gameengine/Ketsji/KX_OrientationInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class MT_Matrix3x3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h b/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h index 9f6bd6d8f0b..5719071d798 100644 --- a/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h +++ b/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h @@ -32,6 +32,10 @@ #ifndef __KX_PHYSICSENGINEENUMS #define __KX_PHYSICSENGINEENUMS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + enum e_PhysicsEngine { UseNone=1, diff --git a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h index e1a8d20b1a1..dde9c0de47d 100644 --- a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h +++ b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.h @@ -35,6 +35,10 @@ #include "Value.h" #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_PhysicsObjectWrapper : public PyObjectPlus { Py_Header; diff --git a/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h b/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h index 09d9cffce98..88b08041192 100644 --- a/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h +++ b/source/gameengine/Ketsji/KX_PhysicsPropertiesobsolete.h @@ -34,6 +34,10 @@ #include <MT_Scalar.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // Properties of dynamic objects struct KX_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Ketsji/KX_PositionInterpolator.h b/source/gameengine/Ketsji/KX_PositionInterpolator.h index 71f5b354088..edcdb4b0b1f 100644 --- a/source/gameengine/Ketsji/KX_PositionInterpolator.h +++ b/source/gameengine/Ketsji/KX_PositionInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class MT_Point3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.h b/source/gameengine/Ketsji/KX_PyConstraintBinding.h index 0afa049d9e2..3eed2482fde 100644 --- a/source/gameengine/Ketsji/KX_PyConstraintBinding.h +++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.h @@ -32,9 +32,11 @@ #ifndef PHY_PYTHON_CONSTRAINTBINDING #define PHY_PYTHON_CONSTRAINTBINDING - #include <Python.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif PyObject* initPythonConstraintBinding(); void PHY_RemovePythonConstraintBinding(); diff --git a/source/gameengine/Ketsji/KX_PythonInit.h b/source/gameengine/Ketsji/KX_PythonInit.h index 7999014991a..cd0b31a5b81 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.h +++ b/source/gameengine/Ketsji/KX_PythonInit.h @@ -35,6 +35,10 @@ #include "KX_Python.h" #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef enum { psl_Lowest = 0, psl_Highest diff --git a/source/gameengine/Ketsji/KX_RadarSensor.h b/source/gameengine/Ketsji/KX_RadarSensor.h index 77e085d29a3..c37efef2fa3 100644 --- a/source/gameengine/Ketsji/KX_RadarSensor.h +++ b/source/gameengine/Ketsji/KX_RadarSensor.h @@ -35,6 +35,10 @@ #include "KX_NearSensor.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Radar 'cone' sensor. Very similar to a near-sensor, but instead of a sphere, a cone is used. */ diff --git a/source/gameengine/Ketsji/KX_RayEventManager.h b/source/gameengine/Ketsji/KX_RayEventManager.h index c982abac5eb..dabd3eb27b0 100644 --- a/source/gameengine/Ketsji/KX_RayEventManager.h +++ b/source/gameengine/Ketsji/KX_RayEventManager.h @@ -37,6 +37,11 @@ #include "SCA_EventManager.h" #include <vector> using namespace std; + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_RayEventManager : public SCA_EventManager { diff --git a/source/gameengine/Ketsji/KX_RaySensor.h b/source/gameengine/Ketsji/KX_RaySensor.h index 4a783b398b4..97fd999478e 100644 --- a/source/gameengine/Ketsji/KX_RaySensor.h +++ b/source/gameengine/Ketsji/KX_RaySensor.h @@ -38,6 +38,10 @@ #include "SCA_ISensor.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_RaySensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h index d5176bcd38e..2ea728ea19c 100644 --- a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h @@ -46,6 +46,10 @@ #include "MT_Vector3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_IScene; class KX_SCA_AddObjectActuator : public SCA_IActuator diff --git a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h index 60c97322223..478d17f8456 100644 --- a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h @@ -40,6 +40,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_IScene; class KX_SCA_EndObjectActuator : public SCA_IActuator diff --git a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h index e0bb2c0a9b8..2b046f0e103 100644 --- a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h +++ b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h @@ -46,6 +46,10 @@ #include "RAS_MeshObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_SCA_ReplaceMeshActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h index 33dd0323370..d5aa383d9ae 100644 --- a/source/gameengine/Ketsji/KX_SG_NodeRelationships.h +++ b/source/gameengine/Ketsji/KX_SG_NodeRelationships.h @@ -50,6 +50,9 @@ #include "SG_Spatial.h" #include "SG_ParentRelation.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class KX_NormalParentRelation : public SG_ParentRelation { diff --git a/source/gameengine/Ketsji/KX_ScalarInterpolator.h b/source/gameengine/Ketsji/KX_ScalarInterpolator.h index 72e8203d3c4..2df0544d9eb 100644 --- a/source/gameengine/Ketsji/KX_ScalarInterpolator.h +++ b/source/gameengine/Ketsji/KX_ScalarInterpolator.h @@ -35,6 +35,10 @@ #include "MT_Scalar.h" #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_IScalarInterpolator; class KX_ScalarInterpolator : public KX_IInterpolator { diff --git a/source/gameengine/Ketsji/KX_ScalingInterpolator.h b/source/gameengine/Ketsji/KX_ScalingInterpolator.h index 25c5cc87d83..2aa699441ad 100644 --- a/source/gameengine/Ketsji/KX_ScalingInterpolator.h +++ b/source/gameengine/Ketsji/KX_ScalingInterpolator.h @@ -34,6 +34,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class MT_Vector3; class KX_IScalarInterpolator; diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h index 818368561e6..691e7896a60 100644 --- a/source/gameengine/Ketsji/KX_Scene.h +++ b/source/gameengine/Ketsji/KX_Scene.h @@ -49,6 +49,10 @@ #include "RAS_FramingManager.h" #include "RAS_Rect.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * @section Forward declarations */ diff --git a/source/gameengine/Ketsji/KX_SceneActuator.h b/source/gameengine/Ketsji/KX_SceneActuator.h index 38de267092c..045e3d49946 100644 --- a/source/gameengine/Ketsji/KX_SceneActuator.h +++ b/source/gameengine/Ketsji/KX_SceneActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_SceneActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SoundActuator.h b/source/gameengine/Ketsji/KX_SoundActuator.h index 0ae1ef39d97..fa535baf489 100644 --- a/source/gameengine/Ketsji/KX_SoundActuator.h +++ b/source/gameengine/Ketsji/KX_SoundActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_SoundActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_SumoPhysicsController.h b/source/gameengine/Ketsji/KX_SumoPhysicsController.h index 523e139fc69..7ab7b7551b3 100644 --- a/source/gameengine/Ketsji/KX_SumoPhysicsController.h +++ b/source/gameengine/Ketsji/KX_SumoPhysicsController.h @@ -14,6 +14,10 @@ #include "SumoPhysicsController.h" #include "KX_IPhysicsController.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_SumoPhysicsController : public KX_IPhysicsController, public SumoPhysicsController diff --git a/source/gameengine/Ketsji/KX_TimeCategoryLogger.h b/source/gameengine/Ketsji/KX_TimeCategoryLogger.h index b96b1202f4c..82c30d3ac62 100644 --- a/source/gameengine/Ketsji/KX_TimeCategoryLogger.h +++ b/source/gameengine/Ketsji/KX_TimeCategoryLogger.h @@ -33,6 +33,10 @@ #ifndef __KX_TIME_CATEGORY_LOGGER_H #define __KX_TIME_CATEGORY_LOGGER_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif diff --git a/source/gameengine/Ketsji/KX_TimeLogger.h b/source/gameengine/Ketsji/KX_TimeLogger.h index a251e323d4c..b956d568c8b 100644 --- a/source/gameengine/Ketsji/KX_TimeLogger.h +++ b/source/gameengine/Ketsji/KX_TimeLogger.h @@ -33,6 +33,10 @@ #ifndef __KX_TIME_LOGGER_H #define __KX_TIME_LOGGER_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif diff --git a/source/gameengine/Ketsji/KX_TouchEventManager.h b/source/gameengine/Ketsji/KX_TouchEventManager.h index e92a046d488..ffe28b6cb6e 100644 --- a/source/gameengine/Ketsji/KX_TouchEventManager.h +++ b/source/gameengine/Ketsji/KX_TouchEventManager.h @@ -39,6 +39,10 @@ #include <vector> using namespace std; +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_TouchEventManager : public SCA_EventManager { diff --git a/source/gameengine/Ketsji/KX_TouchSensor.h b/source/gameengine/Ketsji/KX_TouchSensor.h index 35b23ecc60a..9e56de9d193 100644 --- a/source/gameengine/Ketsji/KX_TouchSensor.h +++ b/source/gameengine/Ketsji/KX_TouchSensor.h @@ -40,6 +40,10 @@ #include "KX_ClientObjectInfo.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_TouchSensor : public SCA_ISensor { protected: diff --git a/source/gameengine/Ketsji/KX_TrackToActuator.h b/source/gameengine/Ketsji/KX_TrackToActuator.h index f549969a9f9..2d66c9bfe53 100644 --- a/source/gameengine/Ketsji/KX_TrackToActuator.h +++ b/source/gameengine/Ketsji/KX_TrackToActuator.h @@ -38,6 +38,10 @@ #include "SCA_IActuator.h" #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_TrackToActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_VertexProxy.h b/source/gameengine/Ketsji/KX_VertexProxy.h index 8226c2b4558..ad46bd7400e 100644 --- a/source/gameengine/Ketsji/KX_VertexProxy.h +++ b/source/gameengine/Ketsji/KX_VertexProxy.h @@ -34,6 +34,10 @@ #include "SCA_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_VertexProxy : public SCA_IObject { Py_Header; diff --git a/source/gameengine/Ketsji/KX_VisibilityActuator.h b/source/gameengine/Ketsji/KX_VisibilityActuator.h index 7e9a0aeca75..2e109a21345 100644 --- a/source/gameengine/Ketsji/KX_VisibilityActuator.h +++ b/source/gameengine/Ketsji/KX_VisibilityActuator.h @@ -36,6 +36,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_VisibilityActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/Ketsji/KX_WorldInfo.h b/source/gameengine/Ketsji/KX_WorldInfo.h index c76fa188f7c..c10f4155664 100644 --- a/source/gameengine/Ketsji/KX_WorldInfo.h +++ b/source/gameengine/Ketsji/KX_WorldInfo.h @@ -34,6 +34,9 @@ #include "MT_Scalar.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class MT_CmMatrix4x4; diff --git a/source/gameengine/Ketsji/KX_WorldIpoController.h b/source/gameengine/Ketsji/KX_WorldIpoController.h index 36b457adfda..eeb1aad33b4 100644 --- a/source/gameengine/Ketsji/KX_WorldIpoController.h +++ b/source/gameengine/Ketsji/KX_WorldIpoController.h @@ -37,6 +37,10 @@ #include "KX_IInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_WorldIpoController : public SG_Controller { public: |