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 | |
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')
210 files changed, 816 insertions, 25 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h index 5f8b7541f76..97a4ae4a798 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERCANVAS #define __KX_BLENDERCANVAS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include <windows.h> #endif diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.h b/source/gameengine/BlenderRoutines/KX_BlenderGL.h index e7cc220f88c..08c7f1a2dc6 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.h @@ -32,6 +32,10 @@ #ifndef __BLENDERGL #define __BLENDERGL +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif //__cplusplus diff --git a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h index 24cd17415ac..d83acf0118b 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERINPUTDEVICE #define __KX_BLENDERINPUTDEVICE +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning(disable : 4786) // shut off 255 char limit debug template warning #endif diff --git a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h index 33809f039fa..b9edfca96c4 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERKEYBOARDDEVICE #define __KX_BLENDERKEYBOARDDEVICE +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "KX_BlenderInputDevice.h" class KX_BlenderKeyboardDevice : public BL_BlenderInputDevice diff --git a/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h index a4a1d27b2ee..7984c4557e8 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.h @@ -34,6 +34,10 @@ #include "KX_BlenderInputDevice.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_BlenderMouseDevice : public BL_BlenderInputDevice { public: diff --git a/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h b/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h index 5e08a5a77af..fb09a8b9612 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.h @@ -35,6 +35,10 @@ #include "RAS_MaterialBucket.h" #include "RAS_IRasterizer.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct TFace; extern "C" int set_tpage(TFace* tface); /* Worst hack ever */ diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h index 91227967185..b39bb4f6295 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h @@ -32,6 +32,10 @@ #ifndef __KX_BLENDERRENDERTOOLS #define __KX_BLENDERRENDERTOOLS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 // don't show stl-warnings #pragma warning (disable:4786) diff --git a/source/gameengine/BlenderRoutines/KX_BlenderSystem.h b/source/gameengine/BlenderRoutines/KX_BlenderSystem.h index 00a1bd1853f..021f770a339 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderSystem.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderSystem.h @@ -34,6 +34,10 @@ #include "blendertimer.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Blender System embedding. Needed when gameengine runs embedded within Blender. */ diff --git a/source/gameengine/Converter/BL_ActionActuator.h b/source/gameengine/Converter/BL_ActionActuator.h index 962f807f907..9ebaa53ef97 100644 --- a/source/gameengine/Converter/BL_ActionActuator.h +++ b/source/gameengine/Converter/BL_ActionActuator.h @@ -36,6 +36,10 @@ #include "SCA_IActuator.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class BL_ActionActuator : public SCA_IActuator { public: diff --git a/source/gameengine/Converter/BL_ArmatureObject.h b/source/gameengine/Converter/BL_ArmatureObject.h index a438eced5d2..6ef2eabd9ff 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.h +++ b/source/gameengine/Converter/BL_ArmatureObject.h @@ -37,6 +37,10 @@ #include "SG_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class BL_ActionActuator; class BL_ArmatureObject : public KX_GameObject diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.h b/source/gameengine/Converter/BL_BlenderDataConversion.h index 29e1a29a149..9f21a0bd62e 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.h +++ b/source/gameengine/Converter/BL_BlenderDataConversion.h @@ -36,6 +36,10 @@ #include "KX_Python.h" #include "KX_PhysicsEngineEnums.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class RAS_MeshObject* BL_ConvertMesh(struct Mesh* mesh,struct Object* lightobj,class RAS_IRenderTools* rendertools,class KX_Scene* scene, class KX_BlenderSceneConverter *converter); void BL_ConvertBlenderObjects(struct Main* maggie, diff --git a/source/gameengine/Converter/BL_DeformableGameObject.h b/source/gameengine/Converter/BL_DeformableGameObject.h index 1f05d2fcbcc..ad85fafe59c 100644 --- a/source/gameengine/Converter/BL_DeformableGameObject.h +++ b/source/gameengine/Converter/BL_DeformableGameObject.h @@ -33,6 +33,10 @@ #ifndef BL_DEFORMABLEGAMEOBJECT #define BL_DEFORMABLEGAMEOBJECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_MeshDeformer.h b/source/gameengine/Converter/BL_MeshDeformer.h index 90b4dd8328c..c9faa763b7e 100644 --- a/source/gameengine/Converter/BL_MeshDeformer.h +++ b/source/gameengine/Converter/BL_MeshDeformer.h @@ -38,6 +38,10 @@ #include "MT_Point3.h" #include <stdlib.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_SkinDeformer.h b/source/gameengine/Converter/BL_SkinDeformer.h index 25c3654d269..18c7ed5956b 100644 --- a/source/gameengine/Converter/BL_SkinDeformer.h +++ b/source/gameengine/Converter/BL_SkinDeformer.h @@ -33,6 +33,10 @@ #ifndef BL_SKINDEFORMER #define BL_SKINDEFORMER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BL_SkinMeshObject.h b/source/gameengine/Converter/BL_SkinMeshObject.h index 5dfca48af1e..3721abac1a8 100644 --- a/source/gameengine/Converter/BL_SkinMeshObject.h +++ b/source/gameengine/Converter/BL_SkinMeshObject.h @@ -33,6 +33,10 @@ #ifndef __BL_SKINMESHOBJECT #define __BL_SKINMESHOBJECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Converter/BlenderWorldInfo.h b/source/gameengine/Converter/BlenderWorldInfo.h index f4bdff649cc..d6b669d143f 100644 --- a/source/gameengine/Converter/BlenderWorldInfo.h +++ b/source/gameengine/Converter/BlenderWorldInfo.h @@ -35,6 +35,9 @@ #include "KX_WorldInfo.h" #include "KX_BlenderGL.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class BlenderWorldInfo : public KX_WorldInfo { diff --git a/source/gameengine/Converter/KX_BlenderScalarInterpolator.h b/source/gameengine/Converter/KX_BlenderScalarInterpolator.h index fd9cfcb04ce..c7a055babd4 100644 --- a/source/gameengine/Converter/KX_BlenderScalarInterpolator.h +++ b/source/gameengine/Converter/KX_BlenderScalarInterpolator.h @@ -36,6 +36,10 @@ #include "KX_IScalarInterpolator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef unsigned short BL_IpoChannel; class BL_ScalarInterpolator : public KX_IScalarInterpolator { diff --git a/source/gameengine/Converter/KX_BlenderSceneConverter.h b/source/gameengine/Converter/KX_BlenderSceneConverter.h index 2a15d5e2f0d..e8f72204518 100644 --- a/source/gameengine/Converter/KX_BlenderSceneConverter.h +++ b/source/gameengine/Converter/KX_BlenderSceneConverter.h @@ -38,6 +38,10 @@ #include "KX_HashedPtr.h" #include "KX_IpoConvert.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_WorldInfo; class SCA_IActuator; class SCA_IController; diff --git a/source/gameengine/Converter/KX_ConvertActuators.h b/source/gameengine/Converter/KX_ConvertActuators.h index 1e6e96e2e7c..9eb0d2ebc8f 100644 --- a/source/gameengine/Converter/KX_ConvertActuators.h +++ b/source/gameengine/Converter/KX_ConvertActuators.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTACTUATORS_H #define __KX_CONVERTACTUATORS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void BL_ConvertActuators(char* maggiename, struct Object* blenderobject, class KX_GameObject* gameobj, diff --git a/source/gameengine/Converter/KX_ConvertControllers.h b/source/gameengine/Converter/KX_ConvertControllers.h index 3c2b45bddd0..9df2ee5dd6f 100644 --- a/source/gameengine/Converter/KX_ConvertControllers.h +++ b/source/gameengine/Converter/KX_ConvertControllers.h @@ -34,6 +34,10 @@ #include "KX_Python.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void BL_ConvertControllers( struct Object* blenderobject, class KX_GameObject* gameobj, diff --git a/source/gameengine/Converter/KX_ConvertProperties.h b/source/gameengine/Converter/KX_ConvertProperties.h index eb44f7b7d35..b73af6bab55 100644 --- a/source/gameengine/Converter/KX_ConvertProperties.h +++ b/source/gameengine/Converter/KX_ConvertProperties.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTPROPERTIES #define __KX_CONVERTPROPERTIES +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void BL_ConvertProperties(struct Object* object, class KX_GameObject* gameobj, class SCA_TimeEventManager* timemgr, diff --git a/source/gameengine/Converter/KX_ConvertSensors.h b/source/gameengine/Converter/KX_ConvertSensors.h index 9878d4a7a09..4653440d316 100644 --- a/source/gameengine/Converter/KX_ConvertSensors.h +++ b/source/gameengine/Converter/KX_ConvertSensors.h @@ -32,6 +32,10 @@ #ifndef __KX_CONVERTSENSOR_H #define __KX_CONVERTSENSOR_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void BL_ConvertSensors(struct Object* blenderobject, class KX_GameObject* gameobj, class SCA_LogicManager* logicmgr, diff --git a/source/gameengine/Converter/KX_IpoConvert.h b/source/gameengine/Converter/KX_IpoConvert.h index e04f33f76fe..dbf7dd26e86 100644 --- a/source/gameengine/Converter/KX_IpoConvert.h +++ b/source/gameengine/Converter/KX_IpoConvert.h @@ -32,6 +32,10 @@ #ifndef __KX_IPOCONVERT_H #define __KX_IPOCONVERT_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct Object; void BL_ConvertIpos(struct Object* blenderobject, diff --git a/source/gameengine/Expressions/BoolValue.h b/source/gameengine/Expressions/BoolValue.h index 6c4d964249f..78c55f0c924 100644 --- a/source/gameengine/Expressions/BoolValue.h +++ b/source/gameengine/Expressions/BoolValue.h @@ -17,6 +17,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Smart Boolean Value class. * Is used by parser when an expression tree is build containing booleans. diff --git a/source/gameengine/Expressions/ConstExpr.h b/source/gameengine/Expressions/ConstExpr.h index e27ece52a83..dbc0e33436d 100644 --- a/source/gameengine/Expressions/ConstExpr.h +++ b/source/gameengine/Expressions/ConstExpr.h @@ -19,6 +19,10 @@ #include "Expression.h" #include "Value.h" // Added by ClassView +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CConstExpr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (CConstExpr,CExpression) diff --git a/source/gameengine/Expressions/EXP_C-Api.h b/source/gameengine/Expressions/EXP_C-Api.h index 48167a7bf44..05d66d64ddf 100644 --- a/source/gameengine/Expressions/EXP_C-Api.h +++ b/source/gameengine/Expressions/EXP_C-Api.h @@ -32,6 +32,9 @@ #ifndef __EXPRESSION_INCLUDE #define __EXPRESSION_INCLUDE +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #define EXP_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name diff --git a/source/gameengine/Expressions/EmptyValue.h b/source/gameengine/Expressions/EmptyValue.h index b9cca0e57e5..2cde0a96d3f 100644 --- a/source/gameengine/Expressions/EmptyValue.h +++ b/source/gameengine/Expressions/EmptyValue.h @@ -17,6 +17,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CListValue; class CEmptyValue : public CPropValue diff --git a/source/gameengine/Expressions/ErrorValue.h b/source/gameengine/Expressions/ErrorValue.h index 16e608ca01a..f962f1071cc 100644 --- a/source/gameengine/Expressions/ErrorValue.h +++ b/source/gameengine/Expressions/ErrorValue.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CErrorValue : public CPropValue { diff --git a/source/gameengine/Expressions/Expression.h b/source/gameengine/Expressions/Expression.h index 10659dca875..6d87d32eb40 100644 --- a/source/gameengine/Expressions/Expression.h +++ b/source/gameengine/Expressions/Expression.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + //extern int gRefCountExpr; // only for debugging purposes (detect mem.leaks) diff --git a/source/gameengine/Expressions/FloatValue.h b/source/gameengine/Expressions/FloatValue.h index 9a1a1d4ed2b..b0001189066 100644 --- a/source/gameengine/Expressions/FloatValue.h +++ b/source/gameengine/Expressions/FloatValue.h @@ -17,6 +17,9 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class CFloatValue : public CPropValue { diff --git a/source/gameengine/Expressions/IdentifierExpr.h b/source/gameengine/Expressions/IdentifierExpr.h index dbffe7c02bc..7a1aaf9b8d2 100644 --- a/source/gameengine/Expressions/IdentifierExpr.h +++ b/source/gameengine/Expressions/IdentifierExpr.h @@ -34,6 +34,10 @@ #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CIdentifierExpr : public CExpression { CValue* m_idContext; diff --git a/source/gameengine/Expressions/IfExpr.h b/source/gameengine/Expressions/IfExpr.h index 9ab13dca413..7a39282de6e 100644 --- a/source/gameengine/Expressions/IfExpr.h +++ b/source/gameengine/Expressions/IfExpr.h @@ -21,6 +21,10 @@ #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CIfExpr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (CIfExpr,CExpression) diff --git a/source/gameengine/Expressions/InputParser.h b/source/gameengine/Expressions/InputParser.h index 4caa47cbb0c..a1ea820c5a4 100644 --- a/source/gameengine/Expressions/InputParser.h +++ b/source/gameengine/Expressions/InputParser.h @@ -17,6 +17,10 @@ #ifndef __INPUTPARSER_H__ #define __INPUTPARSER_H__ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CParser; #include "Expression.h" diff --git a/source/gameengine/Expressions/IntValue.h b/source/gameengine/Expressions/IntValue.h index 2361de8b0a9..8a1074f0540 100644 --- a/source/gameengine/Expressions/IntValue.h +++ b/source/gameengine/Expressions/IntValue.h @@ -18,6 +18,9 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class CIntValue : public CPropValue { diff --git a/source/gameengine/Expressions/KX_HashedPtr.h b/source/gameengine/Expressions/KX_HashedPtr.h index e96f0217039..fbfbfb12455 100644 --- a/source/gameengine/Expressions/KX_HashedPtr.h +++ b/source/gameengine/Expressions/KX_HashedPtr.h @@ -32,6 +32,10 @@ #ifndef __KX_HASHEDPTR #define __KX_HASHEDPTR +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + unsigned int KX_Hash(unsigned int inDWord); diff --git a/source/gameengine/Expressions/KX_Python.h b/source/gameengine/Expressions/KX_Python.h index 6ba31796e4f..11dafcde3ce 100644 --- a/source/gameengine/Expressions/KX_Python.h +++ b/source/gameengine/Expressions/KX_Python.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + //#define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/KX_Python_dynamic.h b/source/gameengine/Expressions/KX_Python_dynamic.h index 6ba31796e4f..11dafcde3ce 100644 --- a/source/gameengine/Expressions/KX_Python_dynamic.h +++ b/source/gameengine/Expressions/KX_Python_dynamic.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + //#define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/KX_Python_static.h b/source/gameengine/Expressions/KX_Python_static.h index 1a9682c8ef4..967dc01d6fd 100644 --- a/source/gameengine/Expressions/KX_Python_static.h +++ b/source/gameengine/Expressions/KX_Python_static.h @@ -32,6 +32,10 @@ #ifndef KX_PYTHON_H #define KX_PYTHON_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define USE_DL_EXPORT #include "Python.h" diff --git a/source/gameengine/Expressions/ListValue.h b/source/gameengine/Expressions/ListValue.h index 337d59e96ac..4a18abece8c 100644 --- a/source/gameengine/Expressions/ListValue.h +++ b/source/gameengine/Expressions/ListValue.h @@ -16,6 +16,9 @@ #if !defined _LISTVALUE_H #define _LISTVALUE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "Value.h" diff --git a/source/gameengine/Expressions/Operator1Expr.h b/source/gameengine/Expressions/Operator1Expr.h index 96b328dd504..a986cc9f0c1 100644 --- a/source/gameengine/Expressions/Operator1Expr.h +++ b/source/gameengine/Expressions/Operator1Expr.h @@ -16,10 +16,12 @@ #if !defined(AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_) #define AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_ - - #include "Expression.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class COperator1Expr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (COperator1Expr,CExpression) diff --git a/source/gameengine/Expressions/Operator2Expr.h b/source/gameengine/Expressions/Operator2Expr.h index 1d1c4d09f22..40fd9edf337 100644 --- a/source/gameengine/Expressions/Operator2Expr.h +++ b/source/gameengine/Expressions/Operator2Expr.h @@ -20,6 +20,10 @@ #include "Expression.h" #include "Value.h" // Added by ClassView +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class COperator2Expr : public CExpression { diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index e88ea2b255a..a62919ed5ad 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -29,6 +29,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifndef NO_EXP_PYTHON_EMBEDDING #ifndef _adr_py_lib_h_ // only process once, diff --git a/source/gameengine/Expressions/StringValue.h b/source/gameengine/Expressions/StringValue.h index b824d4ef86d..7cd524f0d8e 100644 --- a/source/gameengine/Expressions/StringValue.h +++ b/source/gameengine/Expressions/StringValue.h @@ -18,6 +18,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class CStringValue : public CPropValue { diff --git a/source/gameengine/Expressions/Value.h b/source/gameengine/Expressions/Value.h index 5b3ad8ffa52..73e7d00dca0 100644 --- a/source/gameengine/Expressions/Value.h +++ b/source/gameengine/Expressions/Value.h @@ -13,6 +13,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif //WIN32 diff --git a/source/gameengine/Expressions/VectorValue.h b/source/gameengine/Expressions/VectorValue.h index 8ed671721a3..df8d16932fb 100644 --- a/source/gameengine/Expressions/VectorValue.h +++ b/source/gameengine/Expressions/VectorValue.h @@ -15,6 +15,9 @@ #if !defined _VECTORVALUE_H #define _VECTORVALUE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "Value.h" diff --git a/source/gameengine/Expressions/VoidValue.h b/source/gameengine/Expressions/VoidValue.h index 68a3270792c..ca1dc09e179 100644 --- a/source/gameengine/Expressions/VoidValue.h +++ b/source/gameengine/Expressions/VoidValue.h @@ -35,6 +35,10 @@ #include "Value.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // // Void value, used to transport *any* type of data diff --git a/source/gameengine/GameLogic/SCA_ANDController.h b/source/gameengine/GameLogic/SCA_ANDController.h index f3064e931f2..b2988c70840 100644 --- a/source/gameengine/GameLogic/SCA_ANDController.h +++ b/source/gameengine/GameLogic/SCA_ANDController.h @@ -35,6 +35,10 @@ #ifndef __KX_ANDCONTROLLER #define __KX_ANDCONTROLLER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "SCA_IController.h" class SCA_ANDController : public SCA_IController diff --git a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h index 3a12987b2f3..d6bbe02c728 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h +++ b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h @@ -33,6 +33,11 @@ #define __KX_ALWAYSEVENTMGR #include "SCA_EventManager.h" #include <vector> + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; class SCA_AlwaysEventManager : public SCA_EventManager { diff --git a/source/gameengine/GameLogic/SCA_AlwaysSensor.h b/source/gameengine/GameLogic/SCA_AlwaysSensor.h index 34d57da5cea..7074d3dc7a9 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysSensor.h +++ b/source/gameengine/GameLogic/SCA_AlwaysSensor.h @@ -36,6 +36,9 @@ #define __KX_ALWAYSSENSOR #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SCA_AlwaysSensor : public SCA_ISensor { diff --git a/source/gameengine/GameLogic/SCA_EventManager.h b/source/gameengine/GameLogic/SCA_EventManager.h index 67908b9d5c7..5b644d7f68b 100644 --- a/source/gameengine/GameLogic/SCA_EventManager.h +++ b/source/gameengine/GameLogic/SCA_EventManager.h @@ -35,6 +35,10 @@ #include <vector> #include <algorithm> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_EventManager { protected: diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.h b/source/gameengine/GameLogic/SCA_ExpressionController.h index 967307d8473..569465769b4 100644 --- a/source/gameengine/GameLogic/SCA_ExpressionController.h +++ b/source/gameengine/GameLogic/SCA_ExpressionController.h @@ -37,6 +37,10 @@ #include "SCA_IController.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_ExpressionController : public SCA_IController { diff --git a/source/gameengine/GameLogic/SCA_IActuator.h b/source/gameengine/GameLogic/SCA_IActuator.h index 6b3d1007079..c4a6b6c4830 100644 --- a/source/gameengine/GameLogic/SCA_IActuator.h +++ b/source/gameengine/GameLogic/SCA_IActuator.h @@ -35,6 +35,10 @@ #include "SCA_ILogicBrick.h" #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_IActuator : public SCA_ILogicBrick { protected: diff --git a/source/gameengine/GameLogic/SCA_IController.h b/source/gameengine/GameLogic/SCA_IController.h index 31bbca2480a..fb5b351e0b2 100644 --- a/source/gameengine/GameLogic/SCA_IController.h +++ b/source/gameengine/GameLogic/SCA_IController.h @@ -34,6 +34,10 @@ #include "SCA_ILogicBrick.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_IController : public SCA_ILogicBrick { protected: diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.h b/source/gameengine/GameLogic/SCA_IInputDevice.h index 6a8c1397882..1d448dafc8c 100644 --- a/source/gameengine/GameLogic/SCA_IInputDevice.h +++ b/source/gameengine/GameLogic/SCA_IInputDevice.h @@ -36,6 +36,9 @@ #ifndef KX_INPUTDEVICE_H #define KX_INPUTDEVICE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SCA_InputEvent { diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.h b/source/gameengine/GameLogic/SCA_ILogicBrick.h index 4dcc4f8bc02..ec6147d205b 100644 --- a/source/gameengine/GameLogic/SCA_ILogicBrick.h +++ b/source/gameengine/GameLogic/SCA_ILogicBrick.h @@ -35,6 +35,11 @@ #include "Value.h" #include "SCA_IObject.h" #include "BoolValue.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_ILogicBrick : public CValue { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index 6d874bdb45c..68c3944d49d 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -39,6 +39,10 @@ #include "Value.h" #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_ISensor; class SCA_IController; class SCA_IActuator; diff --git a/source/gameengine/GameLogic/SCA_IScene.h b/source/gameengine/GameLogic/SCA_IScene.h index f49d4d3004c..3a24747bfe4 100644 --- a/source/gameengine/GameLogic/SCA_IScene.h +++ b/source/gameengine/GameLogic/SCA_IScene.h @@ -36,6 +36,10 @@ #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct SCA_DebugProp { class CValue* m_obj; diff --git a/source/gameengine/GameLogic/SCA_ISensor.h b/source/gameengine/GameLogic/SCA_ISensor.h index 3d99c92be9a..1f2ac300360 100644 --- a/source/gameengine/GameLogic/SCA_ISensor.h +++ b/source/gameengine/GameLogic/SCA_ISensor.h @@ -37,7 +37,9 @@ #include "SCA_ILogicBrick.h" - +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** * Interface Class for all logic Sensors. Implements diff --git a/source/gameengine/GameLogic/SCA_KeyboardManager.h b/source/gameengine/GameLogic/SCA_KeyboardManager.h index fcdb8ed5c4e..3cc4cca4d64 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardManager.h +++ b/source/gameengine/GameLogic/SCA_KeyboardManager.h @@ -40,6 +40,10 @@ #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; #include "SCA_IInputDevice.h" diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.h b/source/gameengine/GameLogic/SCA_KeyboardSensor.h index 2badc799206..b898e217471 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardSensor.h +++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.h @@ -38,6 +38,10 @@ #include "BoolValue.h" #include <list> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * The keyboard sensor listens to the keyboard, and passes on events * on selected keystrokes. It has an alternate mode in which it logs diff --git a/source/gameengine/GameLogic/SCA_LogicManager.h b/source/gameengine/GameLogic/SCA_LogicManager.h index 4447104a0a2..7a7b1b08140 100644 --- a/source/gameengine/GameLogic/SCA_LogicManager.h +++ b/source/gameengine/GameLogic/SCA_LogicManager.h @@ -33,6 +33,10 @@ #ifndef __KX_LOGICMANAGER #define __KX_LOGICMANAGER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/GameLogic/SCA_MouseManager.h b/source/gameengine/GameLogic/SCA_MouseManager.h index 4c8fe102bfe..e4f7ffb5f89 100644 --- a/source/gameengine/GameLogic/SCA_MouseManager.h +++ b/source/gameengine/GameLogic/SCA_MouseManager.h @@ -41,6 +41,10 @@ #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; #include "SCA_IInputDevice.h" diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.h b/source/gameengine/GameLogic/SCA_MouseSensor.h index 5923b1e6b8c..83310a1c3eb 100644 --- a/source/gameengine/GameLogic/SCA_MouseSensor.h +++ b/source/gameengine/GameLogic/SCA_MouseSensor.h @@ -39,6 +39,10 @@ #include "BoolValue.h" #include "SCA_IInputDevice.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_MouseSensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_ORController.h b/source/gameengine/GameLogic/SCA_ORController.h index e88beb22492..fe9b982a5b5 100644 --- a/source/gameengine/GameLogic/SCA_ORController.h +++ b/source/gameengine/GameLogic/SCA_ORController.h @@ -37,6 +37,10 @@ #include "SCA_IController.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_ORController : public SCA_IController { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.h b/source/gameengine/GameLogic/SCA_PropertyActuator.h index 5f7fcf9e87f..ed9f80f1dd8 100644 --- a/source/gameengine/GameLogic/SCA_PropertyActuator.h +++ b/source/gameengine/GameLogic/SCA_PropertyActuator.h @@ -37,6 +37,10 @@ #include "SCA_IActuator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_PropertyActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PropertyEventManager.h b/source/gameengine/GameLogic/SCA_PropertyEventManager.h index 2e16ebd0668..24022fa505e 100644 --- a/source/gameengine/GameLogic/SCA_PropertyEventManager.h +++ b/source/gameengine/GameLogic/SCA_PropertyEventManager.h @@ -35,6 +35,11 @@ #include "SCA_EventManager.h" #include <vector> + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.h b/source/gameengine/GameLogic/SCA_PropertySensor.h index 37f4138c6fc..263c1a6ef78 100644 --- a/source/gameengine/GameLogic/SCA_PropertySensor.h +++ b/source/gameengine/GameLogic/SCA_PropertySensor.h @@ -37,6 +37,10 @@ #include "SCA_ISensor.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_PropertySensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h index f19fcac72f3..cdff76921b4 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.h +++ b/source/gameengine/GameLogic/SCA_PythonController.h @@ -39,6 +39,10 @@ #include "SCA_LogicManager.h" #include "BoolValue.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_IObject; class SCA_PythonController : public SCA_IController { diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.h b/source/gameengine/GameLogic/SCA_RandomActuator.h index 9045dad078c..5ce7d7f93c8 100644 --- a/source/gameengine/GameLogic/SCA_RandomActuator.h +++ b/source/gameengine/GameLogic/SCA_RandomActuator.h @@ -39,6 +39,10 @@ #include "SCA_IActuator.h" #include "SCA_RandomNumberGenerator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_RandomActuator : public SCA_IActuator { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_RandomEventManager.h b/source/gameengine/GameLogic/SCA_RandomEventManager.h index f0832044042..229fc216de0 100644 --- a/source/gameengine/GameLogic/SCA_RandomEventManager.h +++ b/source/gameengine/GameLogic/SCA_RandomEventManager.h @@ -38,6 +38,10 @@ #include "SCA_EventManager.h" #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; class SCA_RandomEventManager : public SCA_EventManager diff --git a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h index 75f2dd1bffd..002180d76df 100644 --- a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h +++ b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h @@ -37,6 +37,9 @@ #ifndef __KX_RANDOMNUMBERGENERATOR #define __KX_RANDOMNUMBERGENERATOR +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SCA_RandomNumberGenerator { diff --git a/source/gameengine/GameLogic/SCA_RandomSensor.h b/source/gameengine/GameLogic/SCA_RandomSensor.h index 41f7f453556..e2577c8bf00 100644 --- a/source/gameengine/GameLogic/SCA_RandomSensor.h +++ b/source/gameengine/GameLogic/SCA_RandomSensor.h @@ -39,6 +39,10 @@ #include "BoolValue.h" #include "SCA_RandomNumberGenerator.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SCA_RandomSensor : public SCA_ISensor { Py_Header; diff --git a/source/gameengine/GameLogic/SCA_TimeEventManager.h b/source/gameengine/GameLogic/SCA_TimeEventManager.h index fb2f1cee970..ac3f3ebdec8 100644 --- a/source/gameengine/GameLogic/SCA_TimeEventManager.h +++ b/source/gameengine/GameLogic/SCA_TimeEventManager.h @@ -36,6 +36,10 @@ #include "Value.h" #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + using namespace std; class SCA_TimeEventManager : public SCA_EventManager diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.h b/source/gameengine/GamePlayer/common/GPC_Canvas.h index d406871d970..4e47f70dc86 100644 --- a/source/gameengine/GamePlayer/common/GPC_Canvas.h +++ b/source/gameengine/GamePlayer/common/GPC_Canvas.h @@ -36,6 +36,10 @@ #include "RAS_ICanvas.h" #include "RAS_Rect.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined(WIN32) || defined(__APPLE__) #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning diff --git a/source/gameengine/GamePlayer/common/GPC_Engine.h b/source/gameengine/GamePlayer/common/GPC_Engine.h index 6554fb86b53..88a5f1dbe25 100644 --- a/source/gameengine/GamePlayer/common/GPC_Engine.h +++ b/source/gameengine/GamePlayer/common/GPC_Engine.h @@ -33,6 +33,9 @@ #ifndef __GPC_ENGINE_H #define __GPC_ENGINE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "GPC_Canvas.h" #include "GPC_System.h" diff --git a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h index 678200b62d9..cf9e1bc9809 100644 --- a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.h @@ -33,6 +33,10 @@ #ifndef __GPC_KEYBOARDDEVICE_H #define __GPC_KEYBOARDDEVICE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/common/GPC_MouseDevice.h b/source/gameengine/GamePlayer/common/GPC_MouseDevice.h index 150b7808e4b..ed4f5c9c86d 100644 --- a/source/gameengine/GamePlayer/common/GPC_MouseDevice.h +++ b/source/gameengine/GamePlayer/common/GPC_MouseDevice.h @@ -33,6 +33,10 @@ #ifndef __GPC_MOUSE_DEVICE_H #define __GPC_MOUSE_DEVICE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h index 11cc040ea1e..f2a94829af1 100644 --- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h +++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.h @@ -35,6 +35,10 @@ #include "RAS_IPolygonMaterial.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class GPC_PolygonMaterial : public RAS_IPolyMaterial { diff --git a/source/gameengine/GamePlayer/common/GPC_RawImage.h b/source/gameengine/GamePlayer/common/GPC_RawImage.h index ff4c532dd4d..f13ca69ccb3 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawImage.h +++ b/source/gameengine/GamePlayer/common/GPC_RawImage.h @@ -33,6 +33,10 @@ #ifndef __GPC_RAWIMAGE_H__ #define __GPC_RAWIMAGE_H__ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * This memory resource reads images from the application resources. * Images are expected to be stored as raw RGBA bytes. diff --git a/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h b/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h index 05b7e3d9c3a..6ba895d10e9 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h +++ b/source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.h @@ -33,6 +33,10 @@ #ifndef __GPC_RAWLOADDOTBLENDARRAY_H #define __GPC_RAWLOADDOTBLENDARRAY_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void GetRawLoadingAnimation(unsigned char **data, int *dataSize); #endif // __GPC_RAWLOADDOTBLENDARRAY_H diff --git a/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h b/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h index 84598f7bfe8..cd3b3b72fe9 100644 --- a/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h +++ b/source/gameengine/GamePlayer/common/GPC_RawLogoArrays.h @@ -33,6 +33,9 @@ #ifndef __GPC_RAWLOGOARRAYS_H #define __GPC_RAWLOGOARRAYS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif void GetRawBlenderLogo(unsigned char **data, int *width, int *height); void GetRawBlender3DLogo(unsigned char **data, int *width, int *height); diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.h b/source/gameengine/GamePlayer/common/GPC_RenderTools.h index c346003411c..9a1d6686444 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.h +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.h @@ -33,6 +33,10 @@ #ifndef __GPC_RENDERTOOLS_H #define __GPC_RENDERTOOLS_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined(WIN32) || defined(__APPLE__) #ifdef WIN32 #include <windows.h> diff --git a/source/gameengine/GamePlayer/common/GPC_System.h b/source/gameengine/GamePlayer/common/GPC_System.h index e102341749d..0af020704ae 100644 --- a/source/gameengine/GamePlayer/common/GPC_System.h +++ b/source/gameengine/GamePlayer/common/GPC_System.h @@ -33,6 +33,10 @@ #ifndef __GPC_SYSTEM_H #define __GPC_SYSTEM_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined(WIN32) #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif /* WIN32 */ diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h index 6ff1935d9c1..a33568fd8ac 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_Canvas.h @@ -35,6 +35,10 @@ #include <iostream> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "KXH_ketsji_hooks.h" #include "GPC_Canvas.h" diff --git a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h index 03f9d561b17..b81eb93e055 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_Engine.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_Engine.h @@ -33,11 +33,14 @@ #ifndef __GPU_ENGINE_H #define __GPU_ENGINE_H - #include <X11/Xlib.h> #include <X11/Intrinsic.h> #include <X11/StringDefs.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define Object DNA_Object // tricky stuff !!! but without it it doesn't compile... #include "GPC_Engine.h" diff --git a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h index eb1a5a11cf6..755fd9fa236 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.h @@ -40,6 +40,10 @@ // Intrinsic.h . Yes, we are a bunch of sado-masochists. Let's hurt // ourselves! +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "GPC_KeyboardDevice.h" class GPU_KeyboardDevice : public GPC_KeyboardDevice diff --git a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h index 983ed0ade5a..35c11592f13 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_PolygonMaterial.h @@ -36,6 +36,9 @@ #include "BP_PolygonMaterial.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class GPU_PolygonMaterial : public BP_PolygonMaterial { diff --git a/source/gameengine/GamePlayer/common/unix/GPU_System.h b/source/gameengine/GamePlayer/common/unix/GPU_System.h index bf638327ff6..acdfea53897 100644 --- a/source/gameengine/GamePlayer/common/unix/GPU_System.h +++ b/source/gameengine/GamePlayer/common/unix/GPU_System.h @@ -33,9 +33,11 @@ #ifndef __GPU_SYSTEM_H #define __GPU_SYSTEM_H - #include "GPC_System.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class GPU_System : public GPC_System { diff --git a/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h b/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h index d08ec3c4fa5..41a7181c0d8 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_Canvas.h @@ -33,6 +33,10 @@ #ifndef _GPW_CANVAS_H_ #define _GPW_CANVAS_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/GamePlayer/common/windows/GPW_Engine.h b/source/gameengine/GamePlayer/common/windows/GPW_Engine.h index d12b7cddda0..ae1bfc70418 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_Engine.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_Engine.h @@ -33,9 +33,11 @@ #ifndef __GPW_ENGINE_H #define __GPW_ENGINE_H - #include "GPC_Engine.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class GPW_Engine : public GPC_Engine { diff --git a/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h b/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h index 495ad956dd9..75eba82464b 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.h @@ -36,9 +36,12 @@ #pragma warning (disable : 4786) #include <windows.h> - #include "GPC_KeyboardDevice.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Win32 implementation of GPC_KeyboardDevice. * The contructor fills the keyboard code translation map. diff --git a/source/gameengine/GamePlayer/common/windows/GPW_System.h b/source/gameengine/GamePlayer/common/windows/GPW_System.h index e178ce3066a..3e4c92a40cd 100644 --- a/source/gameengine/GamePlayer/common/windows/GPW_System.h +++ b/source/gameengine/GamePlayer/common/windows/GPW_System.h @@ -38,6 +38,10 @@ #include "GPC_System.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined(__CYGWIN32__) # define __int64 long long #endif diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.h b/source/gameengine/GamePlayer/ghost/GPG_Application.h index 6c215e54857..4142a247666 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.h +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.h @@ -32,9 +32,12 @@ */ #include "GHOST_IEventConsumer.h" - #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class KX_KetsjiEngine; class KX_ISceneConverter; class NG_LoopBackNetworkDeviceInterface; diff --git a/source/gameengine/GamePlayer/ghost/GPG_Canvas.h b/source/gameengine/GamePlayer/ghost/GPG_Canvas.h index 8da8983bf8c..ab7d186bc5a 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Canvas.h +++ b/source/gameengine/GamePlayer/ghost/GPG_Canvas.h @@ -33,6 +33,10 @@ #ifndef _GPG_CANVAS_H_ #define _GPG_CANVAS_H_ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h b/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h index b8e578bcd8f..1a9504cb435 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h +++ b/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.h @@ -34,6 +34,10 @@ #ifndef _GPG_KEYBOARDDEVICE_H_ #define _GPG_KEYBOARDDEVICE_H_ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable : 4786) #endif // WIN32 diff --git a/source/gameengine/GamePlayer/ghost/GPG_System.h b/source/gameengine/GamePlayer/ghost/GPG_System.h index d283c683f1d..764c37219c6 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_System.h +++ b/source/gameengine/GamePlayer/ghost/GPG_System.h @@ -34,6 +34,10 @@ #ifndef _GPG_SYSTEM_H_ #define _GPG_SYSTEM_H_ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // suppress stl-MSVC debug info warning #endif // WIN32 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: diff --git a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h index bedf27b292b..06774623f2a 100644 --- a/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h +++ b/source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h @@ -36,6 +36,10 @@ #include <deque> #include "NG_NetworkDeviceInterface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_LoopBackNetworkDeviceInterface : public NG_NetworkDeviceInterface { enum { diff --git a/source/gameengine/Network/NG_NetworkDeviceInterface.h b/source/gameengine/Network/NG_NetworkDeviceInterface.h index c191cf41278..3dc733fba4c 100644 --- a/source/gameengine/Network/NG_NetworkDeviceInterface.h +++ b/source/gameengine/Network/NG_NetworkDeviceInterface.h @@ -36,9 +36,12 @@ #define NG_NETWORKDEVICEINTERFACE_H #include "NG_NetworkMessage.h" - #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_NetworkDeviceInterface { private: diff --git a/source/gameengine/Network/NG_NetworkMessage.h b/source/gameengine/Network/NG_NetworkMessage.h index b3efea402b2..2b8face9877 100644 --- a/source/gameengine/Network/NG_NetworkMessage.h +++ b/source/gameengine/Network/NG_NetworkMessage.h @@ -35,6 +35,10 @@ #include "STR_HashedString.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_NetworkMessage { static int s_nextID; diff --git a/source/gameengine/Network/NG_NetworkObject.h b/source/gameengine/Network/NG_NetworkObject.h index b5499010512..2eb04f7d829 100644 --- a/source/gameengine/Network/NG_NetworkObject.h +++ b/source/gameengine/Network/NG_NetworkObject.h @@ -35,6 +35,10 @@ #include "STR_String.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_NetworkObject { STR_String m_name; diff --git a/source/gameengine/Network/NG_NetworkScene.h b/source/gameengine/Network/NG_NetworkScene.h index 62546429e67..19c6e6854bd 100644 --- a/source/gameengine/Network/NG_NetworkScene.h +++ b/source/gameengine/Network/NG_NetworkScene.h @@ -36,6 +36,11 @@ #include "GEN_Map.h" #include "STR_HashedString.h" #include <vector> + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_NetworkDeviceInterface; class NG_NetworkScene diff --git a/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h b/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h index 9e92b4f78ed..605dc65db0e 100644 --- a/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h +++ b/source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.h @@ -34,11 +34,13 @@ #define NG_TERRAPLAYNETWORKDEVICEINTERFACE_H #include <deque> - #include "GASInterface.h" - #include "NG_NetworkDeviceInterface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class NG_TerraplayNetworkDeviceInterface : public NG_NetworkDeviceInterface { std::deque<NG_NetworkMessage*> m_messages; diff --git a/source/gameengine/Physics/BlOde/OdePhysicsController.h b/source/gameengine/Physics/BlOde/OdePhysicsController.h index 673bea1bed7..79b0a817692 100644 --- a/source/gameengine/Physics/BlOde/OdePhysicsController.h +++ b/source/gameengine/Physics/BlOde/OdePhysicsController.h @@ -25,6 +25,10 @@ #include "PHY_IPhysicsController.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** ODE Physics Controller, a special kind of a PhysicsController. diff --git a/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h b/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h index 78e8853f2f4..8c7805c3470 100644 --- a/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h +++ b/source/gameengine/Physics/BlOde/OdePhysicsEnvironment.h @@ -25,6 +25,10 @@ #include "PHY_IPhysicsEnvironment.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) diff --git a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h index 2980bc9bd83..a724cf2d30f 100644 --- a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h +++ b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h @@ -32,9 +32,12 @@ #ifndef _DUMMYPHYSICSENVIRONMENT #define _DUMMYPHYSICSENVIRONMENT - #include "PHY_IPhysicsEnvironment.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * DummyPhysicsEnvironment is an empty placeholder * Alternatives are ODE,Sumo and Dynamo PhysicsEnvironments diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h index a43ddbec483..0944ea1342f 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Callback.h @@ -1,6 +1,10 @@ #ifndef SM_CALLBACK_H #define SM_CALLBACK_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SM_Callback { public: virtual void do_me() = 0; diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h index 9e1ec5167bb..64c0d473f88 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_ClientObjectInfo.h @@ -1,6 +1,10 @@ #ifndef __SM_CLIENTOBJECT_INFO_H #define __SM_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/Physics/Sumo/Fuzzics/include/SM_FhObject.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h index 36ba075eeff..20aee4c7fa7 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_FhObject.h @@ -3,6 +3,10 @@ #include "SM_Object.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SM_FhObject : public SM_Object { public: SM_FhObject() {} diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h index 92cecbdebaa..502c3174984 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_MotionState.h @@ -3,6 +3,10 @@ #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SM_MotionState { public: SM_MotionState() : diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h index b81d8a7b81e..53a791b781f 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h @@ -9,6 +9,9 @@ #include "SM_MotionState.h" #include <stdio.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SM_FhObject; diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h index fb3f13c7b96..760e3e84d6d 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Props.h @@ -34,6 +34,10 @@ #include <MT_Scalar.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // Properties of dynamic objects struct SM_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h index 1d4a4afc721..3789a1e854b 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h @@ -18,6 +18,10 @@ #include "MT_Vector3.h" #include "MT_Point3.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SM_Object; class SM_Scene { diff --git a/source/gameengine/Physics/Sumo/SumoPhysicsController.h b/source/gameengine/Physics/Sumo/SumoPhysicsController.h index 5b15385cf55..11bc0d581c4 100644 --- a/source/gameengine/Physics/Sumo/SumoPhysicsController.h +++ b/source/gameengine/Physics/Sumo/SumoPhysicsController.h @@ -32,11 +32,13 @@ #ifndef __SUMO_PHYSICSCONTROLLER_H #define __SUMO_PHYSICSCONTROLLER_H - #include "PHY_IPhysicsController.h" #include "SM_Scene.h" #include "SM_Callback.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** Sumo Physics Controller, a special kind of a PhysicsController. diff --git a/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h b/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h index 1109ba0e738..bbd5e2c05c5 100644 --- a/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h +++ b/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h @@ -32,11 +32,13 @@ #ifndef _SUMOPhysicsEnvironment #define _SUMOPhysicsEnvironment - #include "PHY_IPhysicsEnvironment.h" - #include "solid.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) * A derived class may be able to 'construct' entities by loading and/or converting diff --git a/source/gameengine/Physics/Sumo/include/interpolator.h b/source/gameengine/Physics/Sumo/include/interpolator.h index 055c242edc7..59d769e7f75 100644 --- a/source/gameengine/Physics/Sumo/include/interpolator.h +++ b/source/gameengine/Physics/Sumo/include/interpolator.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid.h b/source/gameengine/Physics/Sumo/include/solid.h index 00f282ed2a7..c8129a78ac4 100644 --- a/source/gameengine/Physics/Sumo/include/solid.h +++ b/source/gameengine/Physics/Sumo/include/solid.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid_broadphase.h b/source/gameengine/Physics/Sumo/include/solid_broadphase.h index 20847898091..157a112176b 100644 --- a/source/gameengine/Physics/Sumo/include/solid_broadphase.h +++ b/source/gameengine/Physics/Sumo/include/solid_broadphase.h @@ -3,6 +3,10 @@ #include "solid_types.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef __cplusplus extern "C" { #endif diff --git a/source/gameengine/Physics/Sumo/include/solid_types.h b/source/gameengine/Physics/Sumo/include/solid_types.h index 64b345c1e09..438993c22d2 100644 --- a/source/gameengine/Physics/Sumo/include/solid_types.h +++ b/source/gameengine/Physics/Sumo/include/solid_types.h @@ -1,6 +1,10 @@ #ifndef SOLID_TYPES_H #define SOLID_TYPES_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define DT_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name typedef double DT_Scalar; diff --git a/source/gameengine/Physics/common/PHY_DynamicTypes.h b/source/gameengine/Physics/common/PHY_DynamicTypes.h index 0b3b25ee8f1..fb7de622cf1 100644 --- a/source/gameengine/Physics/common/PHY_DynamicTypes.h +++ b/source/gameengine/Physics/common/PHY_DynamicTypes.h @@ -32,6 +32,10 @@ #ifndef __PHY_DYNAMIC_TYPES #define __PHY_DYNAMIC_TYPES +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /// PHY_ScalarType enumerates possible scalar types. /// See the PHY_IMeshInterface for its use typedef enum PHY_ScalarType { diff --git a/source/gameengine/Physics/common/PHY_IMotionState.h b/source/gameengine/Physics/common/PHY_IMotionState.h index 9a3ac2e6f74..89423670408 100644 --- a/source/gameengine/Physics/common/PHY_IMotionState.h +++ b/source/gameengine/Physics/common/PHY_IMotionState.h @@ -32,6 +32,9 @@ #ifndef PHY__MOTIONSTATE_H #define PHY__MOTIONSTATE_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** PHY_IMotionState is the Interface to explicitly synchronize the world transformation. diff --git a/source/gameengine/Physics/common/PHY_IPhysicsController.h b/source/gameengine/Physics/common/PHY_IPhysicsController.h index 69dbd6bfa60..1b7d496e6e5 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsController.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsController.h @@ -32,6 +32,10 @@ #ifndef PHY_IPHYSICSCONTROLLER_H #define PHY_IPHYSICSCONTROLLER_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** PHY_IPhysicsController is the abstract simplified Interface to a physical object. It contains the IMotionState and IDeformableMesh Interfaces. diff --git a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h index e3876efd1dc..089ccb84b83 100644 --- a/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h +++ b/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h @@ -35,6 +35,9 @@ #include <vector> #include "PHY_DynamicTypes.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** * Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.) diff --git a/source/gameengine/Physics/common/PHY_Pro.h b/source/gameengine/Physics/common/PHY_Pro.h index dddd93df7b4..dd0d1dde84a 100644 --- a/source/gameengine/Physics/common/PHY_Pro.h +++ b/source/gameengine/Physics/common/PHY_Pro.h @@ -34,6 +34,10 @@ #include <MT_Scalar.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // Properties of dynamic objects struct PHY_ShapeProps { MT_Scalar m_mass; // Total mass diff --git a/source/gameengine/Rasterizer/RAS_BucketManager.h b/source/gameengine/Rasterizer/RAS_BucketManager.h index 72427473fc1..d07bb32e90e 100644 --- a/source/gameengine/Rasterizer/RAS_BucketManager.h +++ b/source/gameengine/Rasterizer/RAS_BucketManager.h @@ -38,6 +38,10 @@ #include "RAS_MaterialBucket.h" #include "GEN_Map.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class RAS_BucketManager { diff --git a/source/gameengine/Rasterizer/RAS_CameraData.h b/source/gameengine/Rasterizer/RAS_CameraData.h index b136aedf405..55355f1c075 100644 --- a/source/gameengine/Rasterizer/RAS_CameraData.h +++ b/source/gameengine/Rasterizer/RAS_CameraData.h @@ -32,6 +32,10 @@ #ifndef __RAS_CAMERADATA_H #define __RAS_CAMERADATA_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct RAS_CameraData { float m_lens; diff --git a/source/gameengine/Rasterizer/RAS_Deformer.h b/source/gameengine/Rasterizer/RAS_Deformer.h index 9aeb85c5740..826e393dfa5 100644 --- a/source/gameengine/Rasterizer/RAS_Deformer.h +++ b/source/gameengine/Rasterizer/RAS_Deformer.h @@ -33,6 +33,10 @@ #ifndef RAS_DEFORMER #define RAS_DEFORMER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #endif //WIN32 diff --git a/source/gameengine/Rasterizer/RAS_FramingManager.h b/source/gameengine/Rasterizer/RAS_FramingManager.h index 8b3cc1b2f19..648a3909ae3 100644 --- a/source/gameengine/Rasterizer/RAS_FramingManager.h +++ b/source/gameengine/Rasterizer/RAS_FramingManager.h @@ -32,6 +32,10 @@ #ifndef RAS_FRAMINGMANAGER_H #define RAS_FRAMINGMANAGER_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class RAS_Rect; /** diff --git a/source/gameengine/Rasterizer/RAS_ICanvas.h b/source/gameengine/Rasterizer/RAS_ICanvas.h index f1f2a8bcf62..18832cd58c3 100644 --- a/source/gameengine/Rasterizer/RAS_ICanvas.h +++ b/source/gameengine/Rasterizer/RAS_ICanvas.h @@ -32,6 +32,10 @@ #ifndef __RAS_ICANVAS #define __RAS_ICANVAS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * 2D rendering device context. The connection from 3d rendercontext to 2d surface. */ diff --git a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h index 0855c74f9dd..7130a15cc99 100644 --- a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h +++ b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h @@ -34,6 +34,9 @@ #include "STR_HashedString.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** * Polygon Material on which the material buckets are sorted diff --git a/source/gameengine/Rasterizer/RAS_IRasterizer.h b/source/gameengine/Rasterizer/RAS_IRasterizer.h index d3a2a74887c..13afe5ee113 100644 --- a/source/gameengine/Rasterizer/RAS_IRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_IRasterizer.h @@ -32,6 +32,10 @@ #ifndef __RAS_IRASTERIZER #define __RAS_IRASTERIZER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/Rasterizer/RAS_IRenderTools.h b/source/gameengine/Rasterizer/RAS_IRenderTools.h index 2fafed4cfa8..1432d3acc46 100644 --- a/source/gameengine/Rasterizer/RAS_IRenderTools.h +++ b/source/gameengine/Rasterizer/RAS_IRenderTools.h @@ -35,10 +35,13 @@ #include "MT_Transform.h" #include "RAS_IRasterizer.h" - #include <vector> #include <algorithm> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class RAS_IPolyMaterial; struct RAS_LightObject; diff --git a/source/gameengine/Rasterizer/RAS_LightObject.h b/source/gameengine/Rasterizer/RAS_LightObject.h index 0c313df80c8..fd637d64eda 100644 --- a/source/gameengine/Rasterizer/RAS_LightObject.h +++ b/source/gameengine/Rasterizer/RAS_LightObject.h @@ -34,6 +34,10 @@ #include "MT_CmMatrix4x4.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct RAS_LightObject { enum LightType{ diff --git a/source/gameengine/Rasterizer/RAS_MaterialBucket.h b/source/gameengine/Rasterizer/RAS_MaterialBucket.h index 6e5307ca5ed..4716b0615db 100644 --- a/source/gameengine/Rasterizer/RAS_MaterialBucket.h +++ b/source/gameengine/Rasterizer/RAS_MaterialBucket.h @@ -44,6 +44,10 @@ #include <set> using namespace std; +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef vector< vector<class RAS_TexVert>* > vecVertexArray; typedef vector<unsigned int> KX_IndexArray; typedef vector< KX_IndexArray* > vecIndexArrays; diff --git a/source/gameengine/Rasterizer/RAS_MeshObject.h b/source/gameengine/Rasterizer/RAS_MeshObject.h index ad4bbb4bbb2..2bed25cb7b5 100644 --- a/source/gameengine/Rasterizer/RAS_MeshObject.h +++ b/source/gameengine/Rasterizer/RAS_MeshObject.h @@ -32,6 +32,9 @@ #ifndef __RAS_MESHOBJECT #define __RAS_MESHOBJECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #ifdef WIN32 // disable the STL warnings ("debug information length > 255") diff --git a/source/gameengine/Rasterizer/RAS_ObjectColor.h b/source/gameengine/Rasterizer/RAS_ObjectColor.h index 1592fc57e77..1f8c0674cac 100644 --- a/source/gameengine/Rasterizer/RAS_ObjectColor.h +++ b/source/gameengine/Rasterizer/RAS_ObjectColor.h @@ -32,6 +32,10 @@ #ifndef __RAS_OBJECTCOLOR_H #define __RAS_OBJECTCOLOR_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct RAS_ObjectColor { float m_red; float m_green; diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h index b87abb9c3dd..ce0be3725b8 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.h @@ -32,6 +32,10 @@ #ifndef __RAS_CHECKVERTEXARRAYS #define __RAS_CHECKVERTEXARRAYS +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + bool RAS_SystemSupportsVertexArrays(); #endif //__RAS_CHECKVERTEXARRAYS diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h index 58573bdf5a7..0f926be7fd5 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h @@ -32,6 +32,10 @@ #ifndef __RAS_OPENGLRASTERIZER #define __RAS_OPENGLRASTERIZER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #pragma warning (disable:4786) #endif diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h index 6a44d36277b..fd9ab791992 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h @@ -32,6 +32,10 @@ #ifndef __KX_VERTEXARRAYOPENGLRASTERIZER #define __KX_VERTEXARRAYOPENGLRASTERIZER +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "RAS_OpenGLRasterizer.h" class RAS_VAOpenGLRasterizer : public RAS_OpenGLRasterizer diff --git a/source/gameengine/Rasterizer/RAS_Polygon.h b/source/gameengine/Rasterizer/RAS_Polygon.h index 7c1c0bd7093..26725cdf0fb 100644 --- a/source/gameengine/Rasterizer/RAS_Polygon.h +++ b/source/gameengine/Rasterizer/RAS_Polygon.h @@ -32,6 +32,10 @@ #ifndef __RAS_POLYGON #define __RAS_POLYGON +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "RAS_TexVert.h" //#include "KX_BoundingVolumes.h" #include "RAS_MaterialBucket.h" diff --git a/source/gameengine/Rasterizer/RAS_Rect.h b/source/gameengine/Rasterizer/RAS_Rect.h index b15e039b52c..b171bb79020 100644 --- a/source/gameengine/Rasterizer/RAS_Rect.h +++ b/source/gameengine/Rasterizer/RAS_Rect.h @@ -33,6 +33,9 @@ #ifndef _RAS_RECT #define _RAS_RECT +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /** * @section interface class. diff --git a/source/gameengine/Rasterizer/RAS_TexMatrix.h b/source/gameengine/Rasterizer/RAS_TexMatrix.h index 619d2751e5d..eb93713d7b6 100644 --- a/source/gameengine/Rasterizer/RAS_TexMatrix.h +++ b/source/gameengine/Rasterizer/RAS_TexMatrix.h @@ -35,11 +35,12 @@ #include "MT_Matrix3x3.h" #include "MT_Point3.h" #include "MT_Point2.h" - - - #include "RAS_TexVert.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void RAS_CalcTexMatrix(RAS_TexVert p[3],MT_Point3& origin,MT_Vector3& udir,MT_Vector3& vdir); #endif //__RASTEXMATRIX diff --git a/source/gameengine/Rasterizer/RAS_TexVert.h b/source/gameengine/Rasterizer/RAS_TexVert.h index 9b16e37a97d..634216aead0 100644 --- a/source/gameengine/Rasterizer/RAS_TexVert.h +++ b/source/gameengine/Rasterizer/RAS_TexVert.h @@ -37,6 +37,9 @@ #include "MT_Point2.h" #include "MT_Transform.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif static MT_Point3 g_pt3; static MT_Point2 g_pt2; diff --git a/source/gameengine/SceneGraph/SG_Controller.h b/source/gameengine/SceneGraph/SG_Controller.h index 99cc62344f2..d0075681c1a 100644 --- a/source/gameengine/SceneGraph/SG_Controller.h +++ b/source/gameengine/SceneGraph/SG_Controller.h @@ -35,8 +35,12 @@ #ifndef __SG_CONTROLLER_H #define __SG_CONTROLLER_H - #include "SG_IObject.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Controller { public: diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index ac2fe9ed9f6..6d610d6dca6 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -36,6 +36,9 @@ base object that can be part of the scenegraph. */ #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif class SG_Controller; class SG_IObject; diff --git a/source/gameengine/SceneGraph/SG_Node.h b/source/gameengine/SceneGraph/SG_Node.h index e1b40c32ed3..31f796a004f 100644 --- a/source/gameengine/SceneGraph/SG_Node.h +++ b/source/gameengine/SceneGraph/SG_Node.h @@ -33,9 +33,12 @@ #define __SG_NODE_H #include "SG_Spatial.h" - #include <vector> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + typedef std::vector<SG_Node*> NodeList; class SG_Node : public SG_Spatial diff --git a/source/gameengine/SceneGraph/SG_ParentRelation.h b/source/gameengine/SceneGraph/SG_ParentRelation.h index b26c4758480..ba2119c948d 100644 --- a/source/gameengine/SceneGraph/SG_ParentRelation.h +++ b/source/gameengine/SceneGraph/SG_ParentRelation.h @@ -53,6 +53,10 @@ #ifndef __SG_ParentRelation_h #define __SG_ParentRelation_h +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Spatial; class SG_ParentRelation { diff --git a/source/gameengine/SceneGraph/SG_Spatial.h b/source/gameengine/SceneGraph/SG_Spatial.h index a3302fd8b41..2b9fda40c91 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.h +++ b/source/gameengine/SceneGraph/SG_Spatial.h @@ -36,9 +36,12 @@ #include <MT_Vector3.h> #include <MT_Point3.h> #include <MT_Matrix3x3.h> // or Quaternion later ? - #include "SG_IObject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class SG_Node; class SG_ParentRelation; |