Last of the config.h mods...
authorKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 15:29:57 +0000 (15:29 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 15:29:57 +0000 (15:29 +0000)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu

212 files changed:
intern/SoundSystem/dummy/SND_DummyDevice.cpp
intern/SoundSystem/fmod/SND_FmodDevice.cpp
intern/SoundSystem/intern/SND_AudioDevice.cpp
intern/SoundSystem/intern/SND_C-api.cpp
intern/SoundSystem/intern/SND_CDObject.cpp
intern/SoundSystem/intern/SND_DeviceManager.cpp
intern/SoundSystem/intern/SND_IdObject.cpp
intern/SoundSystem/intern/SND_Scene.cpp
intern/SoundSystem/intern/SND_SoundListener.cpp
intern/SoundSystem/intern/SND_SoundObject.cpp
intern/SoundSystem/intern/SND_Utils.cpp
intern/SoundSystem/intern/SND_WaveCache.cpp
intern/SoundSystem/intern/SND_WaveSlot.cpp
intern/SoundSystem/openal/SND_OpenALDevice.cpp
intern/SoundSystem/openal/pthread_cancel.cpp
source/blender/img/intern/IMG_Api.cpp
source/blender/img/intern/IMG_BrushRGBA32.cpp
source/blender/img/intern/IMG_CanvasRGBA32.cpp
source/blender/img/intern/IMG_Line.cpp
source/blender/img/intern/IMG_Pixmap.cpp
source/blender/img/intern/IMG_PixmapRGBA32.cpp
source/blender/img/intern/IMG_Rect.cpp
source/blender/render/intern/source/RE_DummyShadowBuffer.cpp
source/blender/render/intern/source/RE_basicShadowBuffer.cpp
source/blender/render/intern/source/shadowBuffer.cpp
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
source/gameengine/BlenderRoutines/KX_BlenderInputDevice.cpp
source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp
source/gameengine/BlenderRoutines/KX_BlenderMouseDevice.cpp
source/gameengine/BlenderRoutines/KX_BlenderPolyMaterial.cpp
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
source/gameengine/BlenderRoutines/KX_BlenderSystem.cpp
source/gameengine/Converter/BL_ActionActuator.cpp
source/gameengine/Converter/BL_ArmatureObject.cpp
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Converter/BL_DeformableGameObject.cpp
source/gameengine/Converter/BL_MeshDeformer.cpp
source/gameengine/Converter/BL_SkinDeformer.cpp
source/gameengine/Converter/BL_SkinMeshObject.cpp
source/gameengine/Converter/BlenderWorldInfo.cpp
source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp
source/gameengine/Converter/KX_BlenderSceneConverter.cpp
source/gameengine/Converter/KX_ConvertActuators.cpp
source/gameengine/Converter/KX_ConvertControllers.cpp
source/gameengine/Converter/KX_ConvertProperties.cpp
source/gameengine/Converter/KX_ConvertSensors.cpp
source/gameengine/Converter/KX_IpoConvert.cpp
source/gameengine/Expressions/BoolValue.cpp
source/gameengine/Expressions/ConstExpr.cpp
source/gameengine/Expressions/EXP_C-Api.cpp
source/gameengine/Expressions/EmptyValue.cpp
source/gameengine/Expressions/ErrorValue.cpp
source/gameengine/Expressions/Expression.cpp
source/gameengine/Expressions/FloatValue.cpp
source/gameengine/Expressions/IdentifierExpr.cpp
source/gameengine/Expressions/IfExpr.cpp
source/gameengine/Expressions/InputParser.cpp
source/gameengine/Expressions/IntValue.cpp
source/gameengine/Expressions/KX_HashedPtr.cpp
source/gameengine/Expressions/ListValue.cpp
source/gameengine/Expressions/Operator1Expr.cpp
source/gameengine/Expressions/Operator2Expr.cpp
source/gameengine/Expressions/PyObjectPlus.cpp
source/gameengine/Expressions/StringValue.cpp
source/gameengine/Expressions/Value.cpp
source/gameengine/Expressions/VectorValue.cpp
source/gameengine/GameLogic/SCA_ANDController.cpp
source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp
source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
source/gameengine/GameLogic/SCA_EventManager.cpp
source/gameengine/GameLogic/SCA_ExpressionController.cpp
source/gameengine/GameLogic/SCA_IActuator.cpp
source/gameengine/GameLogic/SCA_IController.cpp
source/gameengine/GameLogic/SCA_IInputDevice.cpp
source/gameengine/GameLogic/SCA_ILogicBrick.cpp
source/gameengine/GameLogic/SCA_IObject.cpp
source/gameengine/GameLogic/SCA_IScene.cpp
source/gameengine/GameLogic/SCA_ISensor.cpp
source/gameengine/GameLogic/SCA_KeyboardManager.cpp
source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
source/gameengine/GameLogic/SCA_LogicManager.cpp
source/gameengine/GameLogic/SCA_MouseManager.cpp
source/gameengine/GameLogic/SCA_MouseSensor.cpp
source/gameengine/GameLogic/SCA_ORController.cpp
source/gameengine/GameLogic/SCA_PropertyActuator.cpp
source/gameengine/GameLogic/SCA_PropertyEventManager.cpp
source/gameengine/GameLogic/SCA_PropertySensor.cpp
source/gameengine/GameLogic/SCA_PythonController.cpp
source/gameengine/GameLogic/SCA_RandomActuator.cpp
source/gameengine/GameLogic/SCA_RandomEventManager.cpp
source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp
source/gameengine/GameLogic/SCA_RandomSensor.cpp
source/gameengine/GameLogic/SCA_TimeEventManager.cpp
source/gameengine/GamePlayer/common/GPC_Canvas.cpp
source/gameengine/GamePlayer/common/GPC_Engine.cpp
source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp
source/gameengine/GamePlayer/common/GPC_MouseDevice.cpp
source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp
source/gameengine/GamePlayer/common/GPC_RawImage.cpp
source/gameengine/GamePlayer/common/GPC_RawLoadDotBlendArray.cpp
source/gameengine/GamePlayer/common/GPC_RawLogoArrays.cpp
source/gameengine/GamePlayer/common/GPC_RenderTools.cpp
source/gameengine/GamePlayer/common/GPC_System.cpp
source/gameengine/GamePlayer/common/bmfont.cpp
source/gameengine/GamePlayer/common/unix/GPU_Canvas.cpp
source/gameengine/GamePlayer/common/unix/GPU_Engine.cpp
source/gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.cpp
source/gameengine/GamePlayer/common/unix/GPU_System.cpp
source/gameengine/GamePlayer/common/windows/GPW_Canvas.cpp
source/gameengine/GamePlayer/common/windows/GPW_Engine.cpp
source/gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.cpp
source/gameengine/GamePlayer/common/windows/GPW_System.cpp
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.cpp
source/gameengine/GamePlayer/ghost/GPG_System.cpp
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
source/gameengine/Ketsji/KXNetwork/KX_NetworkEventManager.cpp
source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectActuator.cpp
source/gameengine/Ketsji/KXNetwork/KX_NetworkObjectSensor.cpp
source/gameengine/Ketsji/KX_CDActuator.cpp
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_CameraActuator.cpp
source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
source/gameengine/Ketsji/KX_ConstraintActuator.cpp
source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_EmptyObject.cpp
source/gameengine/Ketsji/KX_GameActuator.cpp
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_IPO_SGController.cpp
source/gameengine/Ketsji/KX_IPhysicsController.cpp
source/gameengine/Ketsji/KX_IpoActuator.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_Light.cpp
source/gameengine/Ketsji/KX_LightIpoSGController.cpp
source/gameengine/Ketsji/KX_MeshProxy.cpp
source/gameengine/Ketsji/KX_MotionState.cpp
source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
source/gameengine/Ketsji/KX_NearSensor.cpp
source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
source/gameengine/Ketsji/KX_ObjectActuator.cpp
source/gameengine/Ketsji/KX_OdePhysicsController.cpp
source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
source/gameengine/Ketsji/KX_PositionInterpolator.cpp
source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Ketsji/KX_RadarSensor.cpp
source/gameengine/Ketsji/KX_RayEventManager.cpp
source/gameengine/Ketsji/KX_RaySensor.cpp
source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp
source/gameengine/Ketsji/KX_ScalarInterpolator.cpp
source/gameengine/Ketsji/KX_ScalingInterpolator.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Ketsji/KX_SceneActuator.cpp
source/gameengine/Ketsji/KX_SoundActuator.cpp
source/gameengine/Ketsji/KX_SumoPhysicsController.cpp
source/gameengine/Ketsji/KX_TimeCategoryLogger.cpp
source/gameengine/Ketsji/KX_TimeLogger.cpp
source/gameengine/Ketsji/KX_TouchEventManager.cpp
source/gameengine/Ketsji/KX_TouchSensor.cpp
source/gameengine/Ketsji/KX_TrackToActuator.cpp
source/gameengine/Ketsji/KX_VertexProxy.cpp
source/gameengine/Ketsji/KX_VisibilityActuator.cpp
source/gameengine/Ketsji/KX_WorldInfo.cpp
source/gameengine/Ketsji/KX_WorldIpoController.cpp
source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp
source/gameengine/Network/NG_NetworkMessage.cpp
source/gameengine/Network/NG_NetworkObject.cpp
source/gameengine/Network/NG_NetworkScene.cpp
source/gameengine/Network/TerraplayNetwork/NG_TerraplayNetworkDeviceInterface.cpp
source/gameengine/Physics/BlOde/OdePhysicsController.cpp
source/gameengine/Physics/BlOde/OdePhysicsEnvironment.cpp
source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.cpp
source/gameengine/Physics/Sumo/Fuzzics/sample/particle.cpp
source/gameengine/Physics/Sumo/Fuzzics/sample/particle0.cpp
source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp
source/gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
source/gameengine/Physics/Sumo/Fuzzics/src/SM_Scene.cpp
source/gameengine/Physics/Sumo/SumoPhysicsController.cpp
source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.cpp
source/gameengine/Physics/common/PHY_IMotionState.cpp
source/gameengine/Physics/common/PHY_IPhysicsController.cpp
source/gameengine/Physics/common/PHY_IPhysicsEnvironment.cpp
source/gameengine/Rasterizer/RAS_BucketManager.cpp
source/gameengine/Rasterizer/RAS_FramingManager.cpp
source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp
source/gameengine/Rasterizer/RAS_IRenderTools.cpp
source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
source/gameengine/Rasterizer/RAS_MeshObject.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_CheckVertexArrays.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
source/gameengine/Rasterizer/RAS_Polygon.cpp
source/gameengine/Rasterizer/RAS_TexVert.cpp
source/gameengine/Rasterizer/RAS_texmatrix.cpp
source/gameengine/SceneGraph/SG_Controller.cpp
source/gameengine/SceneGraph/SG_IObject.cpp
source/gameengine/SceneGraph/SG_Node.cpp
source/gameengine/SceneGraph/SG_Spatial.cpp
source/kernel/gen_system/GEN_HashedPtr.cpp
source/kernel/gen_system/GEN_Matrix4x4.cpp
source/kernel/gen_system/SYS_SingletonSystem.cpp
source/kernel/gen_system/SYS_System.cpp

index 4d1f69c..820c151 100644 (file)
  * SND_FmodDevice derived from SND_IAudioDevice
  */
 
+#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
index cc01b86..6389971 100644 (file)
  * SND_FmodDevice derived from SND_IAudioDevice
  */
 
+#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
@@ -576,4 +580,4 @@ void SND_FmodDevice::StopUsingDSP()
 {
        if (m_dspunit)
                FSOUND_DSP_SetActive(m_dspunit, false);
-}
\ No newline at end of file
+}
index 2080015..3fd8334 100644 (file)
  */
 
 #include "SND_AudioDevice.h"
-
 #include "SND_SoundObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index 8a4fc8f..1b03d66 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "SND_C-api.h"
 #include "SND_DeviceManager.h"
 #include "SND_Scene.h"
index 97b5029..e4fcdfa 100644 (file)
@@ -36,6 +36,9 @@
 
 #include "SND_CDObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SND_CDObject* SND_CDObject::m_instance = NULL;
 
index a3e72f8..d6f23ff 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "SND_DeviceManager.h"
 #include "SND_DependKludge.h"
 #include "SND_DummyDevice.h"
index b7e13ca..eac95de 100644 (file)
 
 #include "SND_IdObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SND_IdObject::SND_IdObject()
 {
 }
index 4417dfb..4b59b17 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
 */
 
+#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
index 281da2a..0209ac5 100644 (file)
 
 #include "SND_SoundListener.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SND_SoundListener::SND_SoundListener()
 {
        m_modified = true;
index 69066d0..e835b01 100644 (file)
@@ -36,7 +36,9 @@
 
 #include "SND_SoundObject.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SND_SoundObject::SND_SoundObject()// : m_modified(true)
 {
index 543251e..d356f17 100644 (file)
@@ -48,6 +48,10 @@ extern "C" {
 #include <math.h>
 #include <string.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #if defined(WIN32)
 #include <io.h>
 #else
index 279bc29..0e4a260 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#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
index 51356bb..6c74e32 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "SND_WaveSlot.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SND_WaveSlot::~SND_WaveSlot()
 {
index 9364b6b..67c7f1f 100644 (file)
  * SND_OpenALDevice derived from SND_IAudioDevice
  */
 
+#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
index de05c74..c46c1f2 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  * FreeBSD 3.4 does not yet have pthread_cancel (3.5 and above do)
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __FreeBSD__
 
 #include <osreldate.h>
index 1be8b29..95f7204 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 #include "../IMG_Api.h"
-
 #include "IMG_BrushRGBA32.h"
 #include "IMG_CanvasRGBA32.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 IMG_BrushPtr IMG_BrushCreate(unsigned int w, unsigned int h, float r, float g, float b, float a)
 {
index 7c78e98..72e1c57 100644 (file)
  */
 
 #include "IMG_BrushRGBA32.h"
-
-
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 IMG_BrushRGBA32::IMG_BrushRGBA32(TUns32 w, TUns32 h, const IMG_ColorRGB& c, float a)
        : IMG_PixmapRGBA32(w, h), m_color(c), m_alpha(a)
index 5358265..2fd5e27 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "IMG_CanvasRGBA32.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 IMG_CanvasRGBA32::IMG_CanvasRGBA32(TUns32 width, TUns32 height)
        : IMG_PixmapRGBA32(width, height)
index 2b864a6..4fb4fb8 100644 (file)
@@ -31,3 +31,7 @@
  */
 #include "IMG_Line.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index fa2176d..dba2fdd 100644 (file)
@@ -31,8 +31,9 @@
 
 #include "IMG_Pixmap.h"
 
-
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 IMG_Pixmap::IMG_Pixmap()
 {
@@ -56,4 +57,4 @@ IMG_Pixmap::IMG_Pixmap()
 
 IMG_Pixmap::~IMG_Pixmap()
 {
-}
\ No newline at end of file
+}
index 7ef7166..5ff647c 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "IMG_PixmapRGBA32.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 IMG_PixmapRGBA32::IMG_PixmapRGBA32(TUns32 width, TUns32 height)
        : IMG_Pixmap(), m_mem(width * height)
index 6735771..c2e7bfc 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "IMG_Rect.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 TVisibility IMG_Rect::getVisibility(IMG_Rect& r) const
 {
index e2adefc..02858cb 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-//  #include <iostream.h>
-
 #include "render_intern.h"
-
 #include "RE_DummyShadowBuffer.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct LampRen;
 
 RE_DummyShadowBuffer::RE_DummyShadowBuffer(void)
index e126a75..17feea2 100644 (file)
@@ -32,8 +32,6 @@
 
 #include <math.h>
 #include <string.h>
-
-//#include <iostream.h>
 #include "MEM_guardedalloc.h"
 #include "BLI_arithb.h"
 
 
 /* own include */
 #include "RE_basicShadowBuffer.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* crud */
 #define MIN2(x,y)               ( (x)<(y) ? (x) : (y) )  
 /* ------------------------------------------------------------------------- */
index 76668f4..b60f7e1 100644 (file)
@@ -31,8 +31,6 @@
  */
 
 #include <assert.h>
-//#include <iostream.h>
-
 #include "render.h"
 #include "render_intern.h"
 #include "shadbuf.h"
 #include "RE_DummyShadowBuffer.h" /* A dummy shadow buffer   */
 #include "RE_basicShadowBuffer.h" /* the 'old' shadow buffer */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 struct ShadBuf;
 struct LampRen;
 struct Lamp;
index ba0c7fa..a70bd6c 100644 (file)
  * Blender's Ketsji startpoint
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // don't show stl-warnings
 #pragma warning (disable:4786)
index 3dfae21..03f78c4 100644 (file)
  */
 
 #include "BIF_scrarea.h"
-
-
 #include "KX_BlenderCanvas.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_BlenderCanvas::KX_BlenderCanvas(struct ScrArea *area) :
 m_area(area)
index c2b4da6..d8399fd 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_BlenderGL.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* 
  * This little block needed for linking to Blender... 
index b364d4d..1423418 100644 (file)
@@ -30,3 +30,8 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 #include "KX_BlenderInputDevice.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index 81f233d..b128d61 100644 (file)
@@ -29,6 +29,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 // annoying warnings about truncated STL debug info
index e3d4f36..92e0a61 100644 (file)
@@ -29,6 +29,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 // annoying warnings about truncated STL debug info
index fc7eb3a..be87fb0 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "KX_BlenderPolyMaterial.h"
 #include "BKE_mesh.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_BlenderPolyMaterial::KX_BlenderPolyMaterial(const STR_String &texname,
                                                                                           bool ba,
                                                                                           const STR_String& matname,
index 4fdb9aa..c9e8611 100644 (file)
 
 #include "KX_BlenderRenderTools.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // OpenGL gl.h needs 'windows.h' on windows platforms 
 #include <windows.h>
index f690f7c..290f1d7 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_ISystem.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 #pragma warning (disable :4786)
index cbe0dd2..50860bb 100644 (file)
 #include "MT_Matrix4x4.h"
 #include "BKE_utildefines.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 BL_ActionActuator::~BL_ActionActuator()
 {
        if (m_pose) {
index 1668cd5..0c0dda5 100644 (file)
 #include "MEM_guardedalloc.h"
 #include "DNA_action_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 CValue* BL_ArmatureObject::GetReplica()
 {
        BL_ArmatureObject* replica = new BL_ArmatureObject(*this);
index 2343c37..75c92c7 100644 (file)
  * Convert blender data to ketsji
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif
index d683038..6395dc2 100644 (file)
 
 #include "BL_DeformableGameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 BL_DeformableGameObject::~BL_DeformableGameObject()
 {
        if (m_pDeformer)
index 3aa4287..000bc35 100644 (file)
  * Simple deformation controller that restores a mesh to its rest position
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
@@ -162,4 +166,4 @@ void BL_MeshDeformer::VerifyStorage()
                m_tvtot = m_bmesh->totvert;
        }
 }
\ No newline at end of file
index 4eb2b84..81b789d 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 859b495..2ed1a3a 100644 (file)
  * Deformer that supports armature skinning
  */
 
+#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
index 5dd41a3..59d7272 100644 (file)
 
 #include <stdio.h>  // printf()
 
-
 #include "BlenderWorldInfo.h"
 #include "KX_BlenderGL.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* This little block needed for linking to Blender... */
 #ifdef WIN32
 #include "BLI_winstuff.h"
index c75a6e5..8722f90 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "KX_BlenderScalarInterpolator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 extern "C" int IPO_GetChannels(struct Ipo *ipo, short *channels);
 extern "C" float IPO_GetFloatValue(struct Ipo *ipo, /*IPO_Channel*/ short channel, float ctime);
 
index a043291..d3a67ab 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
        #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
index 2628441..0de9ce4 100644 (file)
 * Convert Blender actuators for use in the GameEngine
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786) 
 #endif //WIN32
index 1a95874..5b30f5a 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "MEM_guardedalloc.h"
 
-
 #include "KX_BlenderSceneConverter.h"
 #include "KX_ConvertControllers.h"
 #include "KX_Python.h"
 #include "KX_GameObject.h"
 #include "IntValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* This little block needed for linking to Blender... */
 #ifdef WIN32
 #include "BLI_winstuff.h"
index e3cbadc..a180773 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_ConvertProperties.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* This little block needed for linking to Blender... */
 #ifdef WIN32
index 42be535..3ec2c35 100644 (file)
  * Conversion of Blender data blocks to KX sensor system
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 46c9ef0..56eda51 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 // don't show stl-warnings
index 544b760..cadb34d 100644 (file)
  *
  */
 
-
-
 #include "BoolValue.h"
 #include "StringValue.h"
 #include "ErrorValue.h"
 #include "VoidValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index c8b4c31..e33ba09 100644 (file)
  *
  */
 
-
-
 #include "Value.h" // for precompiled header
-
 #include "ConstExpr.h"
 #include "VectorValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index 4d45fd5..c5576e9 100644 (file)
@@ -36,6 +36,9 @@
 #include "ErrorValue.h"
 #include "InputParser.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 EXP_ValueHandle EXP_CreateInt(int innie)
 {
index 25c0b6a..c2b60e5 100644 (file)
@@ -13,9 +13,6 @@
  *
  */
 
-
-
-
 #include "EmptyValue.h"
 #include "IntValue.h"
 #include "FloatValue.h"
@@ -24,6 +21,9 @@
 #include "ListValue.h"
 #include "VoidValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index fd1ba73..e52be4c 100644 (file)
  *
  */
 
-
-
-
-
-
 #include "ErrorValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
@@ -122,4 +120,4 @@ CValue* CErrorValue::GetReplica()
        assertd(false);
 
        return NULL;
-}
\ No newline at end of file
+}
index 5e7950f..5c5e1ab 100644 (file)
  *
  */
 
-
-
 #include "Expression.h"
 #include "ErrorValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index 78185bb..93f102d 100644 (file)
@@ -12,7 +12,6 @@
  *
  */
 
-
 #include "FloatValue.h"
 #include "IntValue.h"
 #include "StringValue.h"
@@ -20,8 +19,9 @@
 #include "ErrorValue.h"
 #include "VoidValue.h"
 
-///#include "..\..\menuvalue.h"
-//#include "FactoryManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index ff517aa..cd7a9b0 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "IdentifierExpr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context)
 :m_identifier(identifier)
@@ -100,4 +103,4 @@ void CIdentifierExpr::ClearModified()
 void CIdentifierExpr::BroadcastOperators(VALUE_OPERATOR op)
 {
        assertd(false); // not implemented yet
-}
\ No newline at end of file
+}
index bcb365b..5d3eb36 100644 (file)
@@ -16,6 +16,9 @@
 #include "EmptyValue.h"
 #include "ErrorValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
@@ -138,4 +141,4 @@ void CIfExpr::BroadcastOperators(VALUE_OPERATOR op)
 unsigned char CIfExpr::GetExpressionID()
 {
        return CIFEXPRESSIONID;
-}
\ No newline at end of file
+}
index efb5e27..090c95e 100644 (file)
 #include "Operator1Expr.h"
 #include "IdentifierExpr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // this is disable at the moment, I expected a memleak from it, but the error-cleanup was the reason
 // well, looks we don't need it anyway, until maybe the Curved Surfaces are integrated into CSG 
 // cool things like (IF(LOD==1,CCurvedValue,IF(LOD==2,CCurvedValue2)) etc...
index 591fe76..fbf4f4f 100644 (file)
 *
 */
 
-
 #include "IntValue.h"
 #include "ErrorValue.h"
 #include "FloatValue.h"
 #include "BoolValue.h"
 #include "StringValue.h"
 #include "VoidValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
@@ -322,4 +324,4 @@ void CIntValue::SetValue(CValue* newval)
 PyObject* CIntValue::ConvertValueToPython()
 {
        return PyInt_FromLong(m_int);
-}
\ No newline at end of file
+}
index 7d573eb..d01ff16 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "KX_HashedPtr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 unsigned int KX_Hash(unsigned int inDWord)
 {
        unsigned int key = inDWord;
index 2572335..673dda5 100644 (file)
  *
  */
 
-
 #include "ListValue.h"
 #include "StringValue.h"
 #include "VoidValue.h"
 #include <algorithm>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int listvalue_bufferlen(PyObject* list)
 {
        return ( ((CListValue*)list)->GetCount());
@@ -533,4 +536,4 @@ bool CListValue::IsModified()
                bmod = bmod || GetValue(i)->IsModified();
 
        return bmod;
-}
\ No newline at end of file
+}
index 91a3a02..85b3c66 100644 (file)
  */
 
 #include "Operator1Expr.h"
-//#include "FactoryManager.h"
 #include "EmptyValue.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
 //////////////////////////////////////////////////////////////////////
index 33223b2..2bd3f07 100644 (file)
 // have to do the trick
 // when expression is cached, there will be a call to UpdateCalc() instead of Calc()
 
-
-
 #include "Operator2Expr.h"
 #include "StringValue.h"
 #include "VoidValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
 //////////////////////////////////////////////////////////////////////
index 7b93b1d..f9801fe 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef NO_EXP_PYTHON_EMBEDDING
 
 /*------------------------------
index 7bdb841..1ef8c56 100644 (file)
  *
  */
 
-
 #include "StringValue.h"
 #include "BoolValue.h"
 #include "ErrorValue.h"
 #include "VoidValue.h"
-//#include "FactoryManager.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index e2a7189..97b4f39 100644 (file)
@@ -15,7 +15,6 @@
  *
  */
 
-
 #include "Value.h"
 #include "FloatValue.h"
 #include "IntValue.h"
@@ -25,7 +24,9 @@
 #include "ErrorValue.h"
 #include "ListValue.h"
 
-//#include "FactoryManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index 6aa7926..bea6902 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable:4786)
 #endif
index 3dc2049..4064bb6 100644 (file)
 #include "SCA_LogicManager.h"
 #include "BoolValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 0e2db16..41b9e45 100644 (file)
 #include <vector>
 #include "SCA_ISensor.h"
 
-using namespace std;
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+using namespace std;
 
 SCA_AlwaysEventManager::SCA_AlwaysEventManager(class SCA_LogicManager* logicmgr)
        : m_logicmgr(logicmgr),
index cf78d10..1ca8545 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index a6ce3a1..468d9a8 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "SCA_EventManager.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_EventManager::SCA_EventManager(EVENT_MANAGER_TYPE mgrtype)
        :m_mgrtype(mgrtype)
index 56934a6..36e83f2 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "SCA_ExpressionController.h"
 #include "SCA_ISensor.h"
 #include "SCA_LogicManager.h"
 #include "BoolValue.h"
 #include "InputParser.h"
-
 #include "MT_Transform.h" // for fuzzyZero
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 81efeb6..31e6d3f 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "SCA_IActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 using namespace std;
 
index 78f1980..bd70e4a 100644 (file)
  */
 
 #include "SCA_IController.h"
-
 #include "SCA_LogicManager.h"
 #include "SCA_IActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SCA_IController::SCA_IController(SCA_IObject* gameobj,
                                                                 PyTypeObject* T)
        :
index 75a78fe..d73549b 100644 (file)
  */
 
 #include <iostream.h>
-
 #include "SCA_IInputDevice.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_IInputDevice::SCA_IInputDevice()
        :
index ce90a17..38fc75d 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "SCA_ILogicBrick.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_LogicManager* SCA_ILogicBrick::m_sCurrentLogicManager = NULL;
 
index 012479b..47a81f3 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "SCA_IObject.h"
 #include "SCA_ISensor.h"
 #include "SCA_IController.h"
 #include "SCA_IActuator.h"
 #include "MT_Point3.h"
-
 #include "ListValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
 MT_Point3 SCA_IObject::m_sDummy=MT_Point3(0,0,0);
 
 SCA_IObject::SCA_IObject(PyTypeObject* T): CValue(T)
index e9ed823..d446319 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "SCA_IScene.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_IScene::SCA_IScene()
 {
index be26f1d..b95c42b 100644 (file)
 #include "SCA_EventManager.h"
 #include "SCA_LogicManager.h"
 
-/* Native functions */
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+/* Native functions */
 void   SCA_ISensor::ReParent(SCA_IObject* parent)
 {
        SCA_ILogicBrick::ReParent(parent);
index 46223aa..79dbdbe 100644 (file)
 #include "IntValue.h"
 #include <vector>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SCA_KeyboardManager::SCA_KeyboardManager(SCA_LogicManager* logicmgr,
                                                                                 SCA_IInputDevice* inputdev)
        :       SCA_EventManager(KEYBOARD_EVENTMGR),
index 834c925..0352d5d 100644 (file)
@@ -36,7 +36,9 @@
 #include "StringValue.h"
 #include "SCA_IInputDevice.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index a29d6d1..f33b731 100644 (file)
  */
 #include "Value.h"
 #include "SCA_LogicManager.h"
-
 #include "SCA_ISensor.h"
 #include "SCA_IController.h"
 #include "SCA_IActuator.h"
 #include "SCA_EventManager.h"
-
 #include <set>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SCA_LogicManager::SCA_LogicManager()
 {
 }
index 580c77e..8d968e0 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index f21e4c1..2c4b7d8 100644 (file)
 #include "ConstExpr.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 966884d..773b66b 100644 (file)
 #include "SCA_LogicManager.h"
 #include "BoolValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 893db89..dfb6e3f 100644 (file)
 
 #include "SCA_PropertyActuator.h"
 #include "InputParser.h"
-
 #include "Operator2Expr.h"
 #include "ConstExpr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 2b3ad1d..4b81b0e 100644 (file)
  */
 
 #include "SCA_ISensor.h"
-
 #include "SCA_PropertyEventManager.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 
 SCA_PropertyEventManager::SCA_PropertyEventManager(class SCA_LogicManager* logicmgr)
index 52642c6..6fceddc 100644 (file)
 #include "SCA_EventManager.h"
 #include "SCA_LogicManager.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SCA_PropertySensor::SCA_PropertySensor(SCA_EventManager* eventmgr,
                                                                         SCA_IObject* gameobj,
                                                                         const STR_String& propname,
index 2d57a5f..0d2f74c 100644 (file)
@@ -39,6 +39,9 @@
 #include "compile.h"
 #include "eval.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 // initialize static member variables
 SCA_PythonController* SCA_PythonController::m_sCurrentController = NULL;
index 50acf24..350b2f5 100644 (file)
 #include "SCA_IActuator.h"
 #include "SCA_RandomActuator.h"
 #include "math.h"
-
 #include "MT_Transform.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 12cf78d..ee517e5 100644 (file)
@@ -40,6 +40,10 @@ using namespace std;
 #include <iostream>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SCA_RandomEventManager::SCA_RandomEventManager(class SCA_LogicManager* logicmgr)
                : m_logicmgr(logicmgr),
                SCA_EventManager(RANDOM_EVENTMGR)
index 7faa76f..a25ac40 100644 (file)
 #include <limits.h>
 #include "SCA_RandomNumberGenerator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* Period parameters */  
 #define N 624
 #define M 397
index 7f3f2f9..12f3e0b 100644 (file)
 #include "ConstExpr.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 784afcc..05d1beb 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 // This warning tells us about truncation of __long__ stl-generated names.
index 4e59863..df2722a 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #endif
index 8c54362..a9a099b 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
        #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
 #endif // WIN32
index 7cd1e48..71e20bf 100644 (file)
@@ -33,6 +33,9 @@
 #include <iostream.h>
 #include "GPC_KeyboardDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /** 
  * NextFrame toggles currentTable with previousTable,
index a6ce7b3..bfd1aca 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "GPC_MouseDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPC_MouseDevice::GPC_MouseDevice()
 {
index 7748859..2741ba0 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-#include "GPC_PolygonMaterial.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#include "GPC_PolygonMaterial.h"
 #include "MT_Vector3.h"
-
 #include "RAS_IRasterizer.h"
 
 /* This list includes only data type definitions */
index 0a4b6ff..7d0886a 100644 (file)
 #include <string.h>
 
 #include "GPC_RawImage.h"
-
 #include "GPC_RawLogoArrays.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 GPC_RawImage::GPC_RawImage()
                : m_data(0), m_dataSize(0), m_width(0), m_height(0)
index 6ab2f12..2ccd98b 100644 (file)
 
 // This file is automatically generated. Do not edit by hand!
 
-
-
 #include "GPC_RawLoadDotBlendArray.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void GetRawLoadingAnimation(unsigned char **data, int *dataSize)
 {
index 0afb241..955a644 100644 (file)
 
 // This file is automatically generated. Do not edit by hand!
 
-
-
 #include "GPC_RawLogoArrays.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void GetRawBlenderLogo(unsigned char **data, int *width, int *height)
 {
index 329cf1c..12212cf 100644 (file)
@@ -30,6 +30,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 #pragma warning (disable : 4786)
index 7c5c16a..3139350 100644 (file)
@@ -35,6 +35,9 @@
 #include "GPC_KeyboardDevice.h"
 #include "NG_NetworkDeviceInterface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPC_System::GPC_System()
 //             : m_ndi(0)
@@ -87,4 +90,4 @@ NG_NetworkDeviceInterface* GPC_System::GetNetworkDevice() const
 {
        return m_ndi;
 }
-*/
\ No newline at end of file
+*/
index 752f201..c98c85b 100644 (file)
 #include "BKE_bmfont.h"
 #include "BKE_bmfont_types.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*MAART:
 void printfGlyph(bmGlyph * glyph)
 {
index 29f0bff..d393f41 100644 (file)
  */
    
 //#include <iostream>
-
 #include "GPU_Canvas.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 GPU_Canvas::GPU_Canvas(KXH_plugin_handle p, int width, int height)
        : GPC_Canvas(width, height), m_plugin(p)
 {
index 56b1340..6bff9f2 100644 (file)
    
 #include <assert.h>
 #include <unistd.h>
-
 #include "GPU_Engine.h"
-
 #include "GPC_MouseDevice.h"
-
 #include "GPU_Canvas.h"
 #include "GPU_KeyboardDevice.h"
 #include "GPU_System.h"
@@ -56,6 +53,9 @@
 #include "GPC_RenderTools.h"
 #include "GPC_RawImage.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void Redraw(GPU_Engine *engine);  // -the- redraw function
 
index 125adcc..bdd04fa 100644 (file)
 #include <iostream.h>
 #include "GPU_KeyboardDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void GPU_KeyboardDevice::register_X_key_down_event(KeySym k)
 {
        ConvertEvent(k, 1);
index d7484c9..eb2163f 100644 (file)
  */
    
 #include <sys/time.h>
-
 #include "GPU_System.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 static struct timeval startTime;
 static int startTimeDone = 0;
index de3f49e..372ab92 100644 (file)
 
 #include "GPW_Canvas.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 GPW_Canvas::GPW_Canvas(HWND hWnd, HDC hDC, int width, int height)
        : GPC_Canvas(width, height), m_hWnd(hWnd), m_hRC(0), m_hDC(hDC)
 {
index ff4dca9..43d2ca9 100644 (file)
@@ -48,6 +48,9 @@
 #include "NG_NetworkScene.h"
 #include "NG_LoopBackNetworkDeviceInterface.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPW_Engine::GPW_Engine(char *customLoadingAnimationURL,
                int foregroundColor, int backgroundColor, int frameRate) :
index b9c884a..e9d7072 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "GPW_KeyboardDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 // Key code values not found in winuser.h
 #ifndef VK_MINUS
index ba71e03..9dbd704 100644 (file)
  */
 
 #include <windows.h>
-
 #include "GPW_System.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPW_System::GPW_System(void)
 {
index 07ed803..17e9e77 100644 (file)
  * GHOST Blender Player application implementation file.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
        #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
 #endif
index da71d40..2d37847 100644 (file)
  */
 
 #include "GPG_Canvas.h"
-
 #include <assert.h>
-
 #include "GHOST_ISystem.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPG_Canvas::GPG_Canvas(GHOST_IWindow* window)
 : GPC_Canvas(0, 0), m_window(window)
index 7971a86..0e47482 100644 (file)
  * GHOST Blender Player keyboard device implementation.
  */
 
-
 #include "GPG_KeyboardDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPG_KeyboardDevice::GPG_KeyboardDevice(void)
 {
index 6084505..d9f59f8 100644 (file)
  */
 
 #include "GPG_System.h"
-
 #include <assert.h>
-
 #include "GHOST_ISystem.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPG_System::GPG_System(GHOST_ISystem* system)
 : m_system(system)
index df683cb..f725d5c 100644 (file)
 #include <iostream>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __linux__
 #ifdef __alpha__
 #include <signal.h>
index 99aa798..ad2f786 100644 (file)
 #include "NG_NetworkMessage.h"
 #include "NG_NetworkObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_NetworkEventManager::KX_NetworkEventManager(class SCA_LogicManager*
 logicmgr, class NG_NetworkDeviceInterface *ndi) :
 SCA_EventManager(NETWORK_EVENTMGR), m_logicmgr(logicmgr), m_ndi(ndi)
index 1eb85d6..aed6b6a 100644 (file)
 #include "NG_NetworkScene.h"
 #include "KX_NetworkMessageActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_NetworkMessageActuator::KX_NetworkMessageActuator(
        SCA_IObject* gameobj,           // the actuator controlling object
        NG_NetworkScene* networkscene,  // needed for replication
index 1eeceb5..7e1e46d 100644 (file)
 #include "ListValue.h"
 #include "StringValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef NAN_NET_DEBUG
   #include <iostream>
 #endif
index a7800ae..9da25bc 100644 (file)
@@ -29,3 +29,8 @@
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index e69e0e9..b422585 100644 (file)
 #include "SND_Scene.h" // needed for replication
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
@@ -249,4 +253,4 @@ PyObject* KX_CDActuator::PyGetGain(PyObject* self, PyObject* args, PyObject* kwd
        PyObject* result = PyFloat_FromDouble(gain);
        
        return result;
-}
\ No newline at end of file
+}
index 919355d..6b669bc 100644 (file)
 
 #include "KX_Camera.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_Camera::KX_Camera(void* sgReplicationInfo,
                                         SG_Callbacks callbacks,
                                         const RAS_CameraData& camdata)
index 8a6ed01..df61aaf 100644 (file)
 STR_String KX_CameraActuator::X_AXIS_STRING = "x";
 STR_String KX_CameraActuator::Y_AXIS_STRING = "y";
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index 2e73686..19f17ff 100644 (file)
  */
 
 #include "KX_CameraIpoSGController.h"
-
 #include "KX_ScalarInterpolator.h"
 #include "KX_Camera.h"
-
 #include "RAS_CameraData.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 bool KX_CameraIpoSGController::Update(double currentTime)
 {
index 8aab3e7..e91c82c 100644 (file)
 #include "MT_Point3.h"
 #include "MT_Matrix3x3.h"
 #include "KX_GameObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 0a741aa..04bec5c 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 #include <Python.h>
-
 #include "KX_ConstraintWrapper.h"
 #include "PHY_IPhysicsEnvironment.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_ConstraintWrapper::KX_ConstraintWrapper(
                                                PHY_ConstraintType ctype,
                                                int constraintId,
index 97828b6..a6e7daa 100644 (file)
 #include "PHY_Pro.h"
 
 #include "KX_MotionState.h" // bridge between motionstate and scenegraph node
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef USE_ODE
 
 #include "KX_OdePhysicsController.h"
index d3b1200..8a72ba6 100644 (file)
@@ -30,3 +30,8 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 #include "KX_EmptyObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index 240cef1..b3e5035 100644 (file)
 #include "KX_Scene.h"
 #include "KX_KetsjiEngine.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 1f8b3a8..24f0a36 100644 (file)
  * Game object wrapper
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index ea5617b..8dfced4 100644 (file)
  * Scenegraph controller for ipos.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index 5ef22dd..fe43261 100644 (file)
@@ -31,6 +31,9 @@
  */
 #include "KX_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_IPhysicsController::KX_IPhysicsController(bool dyna,void* userdata)
 
index 1e35183..de2b316 100644 (file)
@@ -35,6 +35,9 @@
 #include "KX_IpoActuator.h"
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Type strings                                                              */
index c03e4e3..80a4d13 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  * The engine ties all game modules together. 
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 25e756a..658f45a 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #pragma warning (disable : 4786)
index 3dd2694..e1bb332 100644 (file)
  */
 
 #include "KX_LightIpoSGController.h"
-
 #include "KX_ScalarInterpolator.h"
 #include "KX_Light.h"
-
 #include "RAS_LightObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 bool KX_LightIpoSGController::Update(double currentTime)
 {
index f17e582..4b5580e 100644 (file)
  */
 
 #include "KX_MeshProxy.h"
-
 #include "RAS_IPolygonMaterial.h"
 #include "RAS_MeshObject.h"
 #include "KX_VertexProxy.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 PyTypeObject KX_MeshProxy::Type = {
        PyObject_HEAD_INIT(&PyType_Type)
index 50b1943..6de9cf3 100644 (file)
 #include "KX_MotionState.h"
 #include "SG_Spatial.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_MotionState::KX_MotionState(SG_Spatial* node) : m_node(node)
 {
 
index 006215b..c6f4126 100644 (file)
  * KX_MouseFocusSensor determines mouse in/out/over events.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
 #endif
 
 #include "MT_Point3.h"
-
 #include "KX_ClientObjectInfo.h"
-
-
 #include "RAS_FramingManager.h"
 #include "RAS_ICanvas.h"
 #include "RAS_IRasterizer.h"
-
 #include "SCA_IScene.h"
-
 #include "KX_Scene.h"
 #include "KX_Camera.h"
-
 #include "KX_MouseFocusSensor.h"
 
 /* ------------------------------------------------------------------------- */
index 0388f7c..8008e85 100644 (file)
@@ -38,6 +38,9 @@
 #include "KX_TouchEventManager.h"
 #include "KX_Scene.h" // needed to create a replica
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef PHYSICS_NOT_YET
 
index d4bb714..58c1494 100644 (file)
  */
 
 #include "KX_ObColorIpoSGController.h"
-
 #include "KX_ScalarInterpolator.h"
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 bool KX_ObColorIpoSGController::Update(double currentTime)
 {
index 97e1673..bcbabc3 100644 (file)
@@ -36,6 +36,9 @@
 #include "KX_GameObject.h"
 #include "KX_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index ece0897..0eff54d 100644 (file)
@@ -23,6 +23,9 @@
 #include "KX_GameObject.h"
 #include "KX_MotionState.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_OdePhysicsController::KX_OdePhysicsController(
                                                                                                 bool dyna,
index bead946..3d65e18 100644 (file)
  */
 
 #include "KX_OrientationInterpolator.h"
-
-
 #include "MT_Matrix3x3.h"
 #include "KX_IScalarInterpolator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void KX_OrientationInterpolator::Execute(float currentTime) const {
        MT_Vector3 eul(m_ipos[0]->GetValue(currentTime),
                                   m_ipos[1]->GetValue(currentTime),
index b14afbd..2bba77a 100644 (file)
 #include "PHY_IPhysicsEnvironment.h"
 #include "PHY_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_PhysicsObjectWrapper::KX_PhysicsObjectWrapper(
                                                PHY_IPhysicsController* ctrl,
                                                PHY_IPhysicsEnvironment* physenv,PyTypeObject *T)
index 96af6e3..eb8edcd 100644 (file)
  */
 
 #include "KX_PositionInterpolator.h"
-
-
 #include "MT_Point3.h"
 #include "KX_IScalarInterpolator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void KX_PositionInterpolator::Execute(float currentTime) const {
        m_target.setValue(m_ipos[0]->GetValue(currentTime),
                                          m_ipos[1]->GetValue(currentTime),
index 67a4063..ae7c8ca 100644 (file)
@@ -35,6 +35,9 @@
 #include "KX_PhysicsObjectWrapper.h"
 #include "PHY_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 // nasty glob variable to connect scripting language
 // if there is a better way (without global), please do so!
index 7b6c3a8..7c1b992 100644 (file)
  * Initialize Python thingies.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 2714298..19e26b6 100644 (file)
  */
 
 #include "KX_RadarSensor.h"
-
 #include "KX_GameObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /**
  *     RadarSensor constructor. Creates a near-sensor derived class, with a cone collision shape.
  */
index d57f97e..ca16ceb 100644 (file)
 #include "SCA_LogicManager.h"
 #include "SCA_ISensor.h"
 #include <vector>
+
 using namespace std;
 
 #include <iostream>
 #include <stdio.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void KX_RayEventManager::NextFrame(double curtime,double deltatime)
 {
        for (vector<class SCA_ISensor*>::const_iterator i= m_sensors.begin();!(i==m_sensors.end());i++)
index eac362a..5cca436 100644 (file)
@@ -41,6 +41,9 @@
 #include "KX_GameObject.h"
 #include "KX_Scene.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_RaySensor::KX_RaySensor(class SCA_EventManager* eventmgr,
                                        SCA_IObject* gameobj,
index 4e73f4e..666d447 100644 (file)
 #include "KX_GameObject.h"
 #include "KX_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index ca1c4d0..a549ef5 100644 (file)
 #include "KX_SCA_EndObjectActuator.h"
 #include "SCA_IScene.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_SCA_EndObjectActuator::KX_SCA_EndObjectActuator(SCA_IObject *gameobj,
                                                                                                   SCA_IScene* scene,
                                                                                                   PyTypeObject* T): 
index 731ddef..784a3e0 100644 (file)
 
 // Please look here for revision history.
 
-
 #include "KX_SCA_ReplaceMeshActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
 /* ------------------------------------------------------------------------- */
index 16529a9..437f696 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_SG_NodeRelationships.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /**
  * Implementation of classes defined in KX_SG_NodeRelationships.h
index e1c72c7..5e03660 100644 (file)
  */
 
 #include "KX_ScalarInterpolator.h"
-
 #include "KX_IScalarInterpolator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void KX_ScalarInterpolator::Execute(float currentTime) const {
        *m_target = m_ipo->GetValue(currentTime);
 }
index 87bd945..c645eb6 100644 (file)
  */
 
 #include "KX_ScalingInterpolator.h"
-
-
 #include "MT_Vector3.h"
 #include "KX_IScalarInterpolator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void KX_ScalingInterpolator::Execute(float currentTime) const {
        m_target.setValue(m_ipos[0]->GetValue(currentTime),
                                          m_ipos[1]->GetValue(currentTime),
index 508ada3..c2cb001 100644 (file)
  * Ketsji scene. Holds references to all scene data.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 7cba1a6..4a1d8c7 100644 (file)
 #include "KX_Camera.h"
 #include "KX_KetsjiEngine.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index b36ff5f..3e21032 100644 (file)
 #include "SND_Scene.h" // needed for replication
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index aa49f33..12b8775 100644 (file)
@@ -6,7 +6,9 @@
 #include "KX_GameObject.h"
 #include "KX_MotionState.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void   KX_SumoPhysicsController::applyImpulse(const MT_Point3& attach, const MT_Vector3& impulse)
 {
index 53a47ab..61bd038 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "KX_TimeCategoryLogger.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_TimeCategoryLogger::KX_TimeCategoryLogger(unsigned int maxNumMeasurements)
 : m_maxNumMeasurements(maxNumMeasurements)
index e2114e8..509f7e1 100644 (file)
@@ -32,7 +32,9 @@
 
 #include "KX_TimeLogger.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_TimeLogger::KX_TimeLogger(unsigned int maxNumMeasurements)
 : m_maxNumMeasurements(maxNumMeasurements), m_logging(false), m_logStart(0)
index d984839..8c7f189 100644 (file)
  */
 
 #include "KX_TouchEventManager.h"
-
 #include "SCA_ISensor.h"
 #include "KX_TouchSensor.h"
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef PHYSICS_NOT_YET
 
 KX_TouchEventManager::KX_TouchEventManager(class SCA_LogicManager* logicmgr,
index daf3449..ee2226d 100644 (file)
 #include "KX_TouchEventManager.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef PHYSICS_NOT_YET
 
 /* ------------------------------------------------------------------------- */
index 647ffb4..6dcb628 100644 (file)
@@ -45,6 +45,9 @@
 #include <iostream>
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index 2f61ef7..b9cb9af 100644 (file)
  */
 
 #include "KX_VertexProxy.h"
-
 #include "RAS_TexVert.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 PyTypeObject KX_VertexProxy::Type = {
        PyObject_HEAD_INIT(&PyType_Type)
index c39775f..ccaca4a 100644 (file)
 #include "KX_VisibilityActuator.h"
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 KX_VisibilityActuator::KX_VisibilityActuator(
        SCA_IObject* gameobj,
        bool visible,
index 4c18845..c2e696f 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_WorldInfo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_WorldInfo::~KX_WorldInfo()
 {
index c4907a2..4d7e659 100644 (file)
  */
 
 #include "KX_WorldIpoController.h"
-
 #include "KX_ScalarInterpolator.h"
 #include "KX_WorldInfo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 bool KX_WorldIpoController::Update(double currentTime)
 {
        if (m_modified)
index 9d4069b..fe13521 100644 (file)
 #include "NG_LoopBackNetworkDeviceInterface.h"
 #include "NG_NetworkMessage.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 // temporary debugging printf's
 #ifdef NAN_NET_DEBUG
   #include <stdio.h>
index d000dd4..44f13ae 100644 (file)
 #include "NG_NetworkMessage.h"
 #include <assert.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 int NG_NetworkMessage::s_nextID = 3; // just some number to start with
 
 NG_NetworkMessage::NG_NetworkMessage(
index 54db7c4..02805a9 100644 (file)
  */
 #include "NG_NetworkObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 NG_NetworkObject::NG_NetworkObject()
 {
 }
index 30bc1aa..e24fade 100644 (file)
 #include "NG_NetworkMessage.h"
 #include "NG_NetworkObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 NG_NetworkScene::NG_NetworkScene(NG_NetworkDeviceInterface* nic)
 {
        m_networkdevice = nic;
index 55710e0..44a7e57 100644 (file)
 #include "NG_TerraplayNetworkDeviceInterface.h"
 #include "NG_NetworkMessage.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 //---- relocate these
 void NG_TerraplayNetworkDeviceInterface::interface_error(char *str, GASResult error) {
        GASRString err_str = GAS->ErrorTranslate(error);
index db869ac..6493cac 100644 (file)
 
 #include <ode/ode.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 ///////////////////////////////////////////////////////////////////////////
 //
 // general to-do list for ODE physics. This is maintained in doxygen format.
index 8023b79..5b6942c 100644 (file)
@@ -29,6 +29,9 @@
 #include <../ode/src/joint.h>
 #include <ode/odemath.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 ODEPhysicsEnvironment::ODEPhysicsEnvironment()
 {
index bc88ae7..bfb24f5 100644 (file)
@@ -32,7 +32,9 @@
 #include "DummyPhysicsEnvironment.h"
 #include "PHY_IMotionState.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 DummyPhysicsEnvironment::DummyPhysicsEnvironment()
 {
index e8e78d8..53b9ae6 100644 (file)
 
 #include "solid.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 const MT_Scalar bowl_curv = 0.10;
 const MT_Scalar timeStep = 0.02;
 const MT_Scalar ground_margin = 0.0;
index 1c03621..cdf0a2d 100644 (file)
 
 #include "solid.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 const MT_Scalar bowl_curv = 0.10;
 const MT_Scalar timeStep = 0.04;
 const MT_Scalar ground_margin = 0.0;
index f8be49a..0ba5fd6 100644 (file)
@@ -1,6 +1,10 @@
 #include "SM_FhObject.h"
 #include "MT_MinMax.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 void SM_FhObject::ray_hit(void *client_data,
                                                  void *client_object1,
                                                  void *client_object2,
index d6717ca..51673b9 100644 (file)
@@ -4,6 +4,10 @@
  * The basic physics object.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 // This warning tells us about truncation of __long__ stl-generated names.
 // It can occasionally cause DevStudio to have internal compiler warnings.
index e3eb7e5..424796e 100644 (file)
@@ -4,6 +4,10 @@
  * The physics scene.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning(disable : 4786)  // shut off 255 char limit debug template warning
 #endif
index 2b2c5b8..d89e43c 100644 (file)
@@ -35,6 +35,9 @@
 #include "SM_Object.h"
 #include "MT_Quaternion.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SumoPhysicsController::SumoPhysicsController(
                                class SM_Scene* sumoScene,
index 05b88fc..ea18666 100644 (file)
@@ -34,6 +34,9 @@
 #include "SumoPhysicsController.h"
 #include "SM_Scene.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 const MT_Scalar UpperBoundForFuzzicsIntegrator = 0.01;
 // At least 100Hz (isn't this CPU hungry ?)
index 106f453..355f191 100644 (file)
  */
 #include "PHY_IMotionState.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 PHY_IMotionState::~PHY_IMotionState()
 {
 
index ec0f7b9..34849a5 100644 (file)
@@ -31,6 +31,9 @@
  */
 #include "PHY_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 PHY_IPhysicsController::~PHY_IPhysicsController()
 {
index 7c06609..2ba982b 100644 (file)
 
 #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.)
 *      A derived class may be able to 'construct' entities by loading and/or converting
index 39ec523..38eee62 100644 (file)
@@ -29,6 +29,9 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #ifdef WIN32
 // don't show these anoying STL warnings
index af0499b..d9b3708 100644 (file)
  */
 
 #include "RAS_FramingManager.h"
-
 #include "RAS_Rect.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        void
 RAS_FramingManager::
 ComputeDefaultFrustum(
index 7e1017b..1a11a04 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "RAS_IPolygonMaterial.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 RAS_IPolyMaterial::RAS_IPolyMaterial(const STR_String& texname,
                                                                         bool ba,
index d52ba72..aa0053f 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "RAS_IRenderTools.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 void RAS_IRenderTools::SetViewMat(const MT_Transform& trans)
 {
index ecb621c..d9e27c9 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
 #include "RAS_MaterialBucket.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable:4786)
 #include <windows.h>
index 3c78b7c..2a7323d 100644 (file)
  */
 
 #include "RAS_MeshObject.h"
-
 #include "RAS_IRasterizer.h"
 #include "MT_MinMax.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 STR_String RAS_MeshObject::s_emptyname = "";
 
 
index ff57e7a..0a62acb 100644 (file)
  */
 #include "RAS_CheckVertexArrays.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #endif // WIN32
index fe582a3..6350390 100644 (file)
@@ -1,9 +1,10 @@
-#ifdef WIN32
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
+#ifdef WIN32
 
 #include "RAS_VAOpenGLRasterizer.h"
-
-
 #include <windows.h>
 #include "GL/gl.h"
 
index c495ef9..4ca1e37 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #pragma warning (disable:4786)
index 20a4f0d..c29a16c 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "RAS_TexVert.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 RAS_TexVert::RAS_TexVert(const MT_Point3& xyz,
                                                 const MT_Point2& uv,
index 515f05b..791d6e3 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
-
-
 #include "RAS_TexMatrix.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)
 {
index 4a5735b..918b4ea 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "SG_Controller.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
        void 
 SG_Controller::
index 2561bd0..5433b50 100644 (file)
  */
 
 #include "SG_IObject.h"
-
 #include "SG_Controller.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SG_IObject::
 SG_IObject(
        void* clientobj,
index d40cdca..c3e4ef7 100644 (file)
  */
 
 #include "SG_Node.h"
-
 #include "SG_ParentRelation.h"
-
 #include <algorithm>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 using namespace std;
 
 
index 96370f2..e37fd08 100644 (file)
 #include "SG_Controller.h"
 #include "SG_ParentRelation.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SG_Spatial::
 SG_Spatial(
        void* clientobj,
index 6163b4a..f852530 100644 (file)
  */
 #include "GEN_HashedPtr.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 unsigned int GEN_Hash(unsigned int inDWord)
 {
        unsigned int key = inDWord;
index ad250ea..4b94164 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "GEN_Matrix4x4.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GEN_Matrix4x4::GEN_Matrix4x4()
 {
index 5692c53..b65ba69 100644 (file)
 #include "SYS_SingletonSystem.h"
 #include "GEN_DataCache.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SYS_SingletonSystem*   SYS_SingletonSystem::_instance = 0;
 
 void SYS_SingletonSystem::Destruct()
index 48f5b26..84cd61f 100644 (file)
 #include "SYS_System.h"
 #include "SYS_SingletonSystem.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SYS_SystemHandle SYS_GetSystem()
 {
        return (SYS_SystemHandle) SYS_SingletonSystem::Instance();