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 4d1f69c6f33c5f304a07a58529ee9e982058f51b..820c151377a6ce617f30ceaf41831c71df6ed363 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 cc01b864428aafc1bade4f9a1a538ec6c109a6f4..6389971a1f62fd45893e969d343acd3a8e1044d1 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 2080015312869b088140d860a983695daa5a7d84..3fd8334d506124981b4cdddb1524e9366633f4df 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 8a4fc8f31a67eab13f8bb255fdbf49e9b1940ffb..1b03d66562cf8c4cb6059e6f562509d474dafd3a 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 97b502970b7397884f754ce29c1639b8b99c0a69..e4fcdfaceeb5f7939518b46e5b5448969d4d23d3 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 a3e72f8e9f6187f682df4bd88f638712ad900e5a..d6f23ff5de4c7c018e6d6f6a429db9ff148e3ff1 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 b7e13cacbe69f6f856f199f417a0105882878272..eac95de64a4173b3f6baf8d4bb6be70ac63f3432 100644 (file)
 
 #include "SND_IdObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SND_IdObject::SND_IdObject()
 {
 }
index 4417dfbcfc9eae2a65b81c9ffebeeaa53f07f06b..4b59b17e458190634948d3ed0321d9625ba24740 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 281da2aa7fb725503b284c9ab89f7f920ddac70d..0209ac5683a296ff8394b379127eeb7d3c946322 100644 (file)
 
 #include "SND_SoundListener.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 SND_SoundListener::SND_SoundListener()
 {
        m_modified = true;
index 69066d0a2ddc78cdc5437bf098fdba56adb48b15..e835b012ac1b2efbda7e0e4b5225569436e18331 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 543251e431fe9be5322408a5f354b9991b7ac08c..d356f17b897bdf92b01600a4cc0e7142584cd9cb 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 279bc29aa8302ce73239ed258451f2a1370639fb..0e4a26037890f81ccc3282e3383c93777ac936b6 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 51356bba4bf6098366010909e20bec34f33a37b8..6c74e326743e5a027ed81559916ab9d94fa4f13d 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 9364b6b1dbb69953a90e7f261d7643035a320a6e..67c7f1f2362851d1e6fb785d28559b5a71c21a7e 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 de05c742dea09df7de72035b487a37a5dc83e86a..c46c1f2c453156e7b4955c300b03b2d3e9f0e37b 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 1be8b294c284e2e226d8d180679e20b77bbb9bc6..95f7204c52558e9e01662d7eb94ddd26282f11c1 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 7c78e98a8cfd2a23bca328a4278b686fa88bdc7d..72e1c57ef63f5fbc1447619f4a74554b2c3fc29a 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 5358265337d4c8bb16bbcdfabb86158956fc52bf..2fd5e2762988be8cf589290d156bedef5a6ae6d9 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 2b864a63705a663b735b887e81629db20a641332..4fb4fb83ca42f1ea3fd90a3f676199a6c438b1c6 100644 (file)
@@ -31,3 +31,7 @@
  */
 #include "IMG_Line.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index fa2176d299c2a00ef1663800c935e9bd837635ca..dba2fddb4ddb22643b6ea86ea530334056e3cf87 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 7ef716643b769a642e2e44d1d15395a8420398c0..5ff647cd8ab3a422c46a4f47e10d82ac3fa17be1 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 67357712708cc84201d627e03be70e57e3f653f4..c2e7bfc89c63fdb1d6a820e006286cdc5509d48d 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 e2adefc05f2880657e4259ac39cf0da870b5db52..02858cba7171063f64a49f550a86a13ca308c27f 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 e126a755c35823228b92a74183a93413d7359df9..17feea283dcb446b79517c48e052ce81b4c3d5f2 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 76668f4e9ac43bf4882aae221957ffc9de0d8996..b60f7e160eb6c5d9815ef6433289f3455a7f1912 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 ba0c7fa3917afd1adf2592d2c608b09b74b96122..a70bd6c6f30a678256c649acf4e60879a4c6e5ee 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 3dfae2174530dcd86240fea9ee29b53ca587b1db..03f78c4b1459d29a69a15288264684f816aba8a4 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 c2b4da62eceab6cc968dfcb270c6431058000845..d8399fd335198066c3e7f3f9fab6246ec565d76c 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 b364d4d40dd1b420475a75a2a48d083131352a60..1423418924cd73fbdfe2babfa7f5fe5934ab9b20 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 81f233d64330b7555896df3ccc9c363641b5e917..b128d616209fad54f6b2753cb0972a14a9065cb9 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 e3d4f36cc2692c45a42e5dc36c7606fa4048400a..92e0a6113bb7f25c44c8627cee8266f80d4cca63 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 fc7eb3a6c7f6e676e8094040c805e85f392ccb94..be87fb0adc2104c0837cced09a9d0cce614d4186 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 4fdb9aafc33c4a668e456843473af0a8b42b1205..c9e86116052d76a6b502a4930b2f94480704658b 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 f690f7c74e2784b880d544087d6a85cb1a693c4e..290f1d717778f7e5a927fa7dfc3a96e9c3e195d6 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 cbe0dd2263c75858956a25b059784d28e50ecf57..50860bb4ad34d8a707214923e1aaf6bbbafbf405 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 1668cd522a3b42cae47b11967edb94fff6ab7900..0c0dda52d2c49556a6bc47f5812611cdad268178 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 2343c372f1be62839c43e21ed417e795429adc0a..75c92c7b132513bfc9aea595a4b8db321851e26c 100644 (file)
  * Convert blender data to ketsji
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif
index d6830380b000a2f35e4aaa8be4634d8917777117..6395dc26617ceb943da313ba466660e264aa270d 100644 (file)
 
 #include "BL_DeformableGameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 BL_DeformableGameObject::~BL_DeformableGameObject()
 {
        if (m_pDeformer)
index 3aa4287478d416730269f43e35bd01bffbdb2947..000bc35b97431517ada0d67b0d9bf63d27d66567 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 4eb2b849c3c192347c5da18c32e150129af70cf1..81b789dd1ba54b42a49cac170fff9f74854a8d6c 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 859b495b9d5ee5cf6273f1ba2a0525a022c1e926..2ed1a3a0d4823d7f59e05e112d129f2059bff8b0 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 5dd41a317aa9ad1fc80cdad7898d42b0377ed82c..59d7272b64ac7931caf482256363fded494dfae5 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 c75a6e5b4e74d9209e95b9f4507cb92f22910e30..8722f90f456c7bbb4e460a26075c4bde85a22662 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 a043291c5d5c7f2cda7aaf3fd867445a618b304c..d3a67abecfc0e821cb644b8b1e301c827a78872e 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 2628441ba72a36885254d40ec7481d3535a60455..0de9ce4bfc367a1eef055925f686ddcad356bff5 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 1a958744d7061299f87808f2a21ea1355dc0da11..5b30f5a4a2e0351ac748106f27e7335265f71437 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 e3cbadc580850944cb998768da9cd7689b490a0e..a1807732416a1f7e723e18cb6f83309ce38931a1 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 42be5354d20b3ed1cb7bb7691a63b3ef8a3ba324..3ec2c3596e5b0f1379f772da47e00874776a2ebb 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 46c9ef0ef131b9777a4b610b2358b6a39604a3b9..56eda51384b40c30ed50d53b73a77b40c613b724 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 // don't show stl-warnings
index 544b760f4e9eae4630e610617c930b503dfa2343..cadb34d7e8f26a3b4ef641d17d0a3b33dc8ccddc 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 c8b4c311b7c269b174d6a71e118c7339345a90ad..e33ba091ac407ebf29e6f6b6b83c5f1b7b526592 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 4d45fd556eb665aac592c20193f14b16119cede8..c5576e99e7d7edd8954fdb06bb1d659b2809a320 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 25c0b6af5d7c2c553890d2b2277ad55ef61297bd..c2b60e590a4fec7cb30f5e3bbd0142d32b636e3d 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 fd1ba7399b338dd0809b5cc480d03474642a9364..e52be4c8021b8e0dd266b14da17cf795837f5730 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 5e7950fbcf0b5e85657400263bfb3f8d8326dc07..5c5e1abea34f985b389c96f3477947dc18505292 100644 (file)
  *
  */
 
-
-
 #include "Expression.h"
 #include "ErrorValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
index 78185bbe163aa2814479b3bddb9ddca4783f5025..93f102d04a6437a4540ec78d63d6a86864fc4eeb 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 ff517aa7636b7c53eead711be9da1fa23a3c448b..cd7a9b0f186f3cff5762d83b263aef10442f3373 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 bcb365b87ccd9ce0b0a018f5ab35ed5c6b7c03ed..5d3eb3641ca3c1021a84759f1995528ae1e8b4bf 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 efb5e277737d93c1da0cedc95a2fa9ea2ccfa4fa..090c95e3c07f7514a6c9883da349dec39bfc89cb 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 591fe76cd487835f6e1789c12275181ec57b2af3..fbf4f4f59e03cb7cf21f5cbe298fb93efeb1f90b 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 7d573ebc37df7147de43268bcb23a876b8b63136..d01ff1626d79dc068488bceffe24b62dcc290207 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 25723350f3684460f29d7b2225c0f177eb2ccf4a..673dda5db2ddbe31256be2d63eaebfd2d3f95e2c 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 91a3a02aabe7327930ba54161369fb881d3f10e4..85b3c6698028a0db886dde73faf2c25ce1195c04 100644 (file)
  */
 
 #include "Operator1Expr.h"
-//#include "FactoryManager.h"
 #include "EmptyValue.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 //////////////////////////////////////////////////////////////////////
 // Construction/Destruction
 //////////////////////////////////////////////////////////////////////
index 33223b2ae3d027fd0318addad7e60c723f72cd34..2bd3f074b0b94c495ae36407d75063b6f1dc3b93 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 7b93b1d4daa718350cbbabf790d5fc5d2ef6b018..f9801fe0f60288b437c482cb403e198daf4cea85 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef NO_EXP_PYTHON_EMBEDDING
 
 /*------------------------------
index 7bdb841e1e4650f45d25015af0ed221a2e1b2988..1ef8c5629a00a906862c6777b42403c4bf260c37 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 e2a7189fb02e8f1d5211963720e22f7170569501..97b4f3951b30a9ed86380856ac694b5a25d4d35b 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 6aa7926bfa78899b6a0c4b857208bd82c081d635..bea6902eba88afa45e67529044790723169fa21b 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable:4786)
 #endif
index 3dc204908190efdaedc3d57d73159d1c6efbf886..4064bb6c8405b4a5e7ca141dadd4de526d690753 100644 (file)
 #include "SCA_LogicManager.h"
 #include "BoolValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 0e2db162ec33453a71eb7a62c40492ccf67a0cc2..41b9e45df53087fa10210999ab57368dced097d3 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 cf78d109e16783c7ddd50e1a3066bac9e0bfb27e..1ca8545b062cf091a998420a7482c7db9fbf33b8 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 a6ce3a1af255d666d833d66df7370fe167772892..468d9a8c3815426df56c56062bd73b1792ba0b34 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 56934a695f270a3a963cb7cff38ed22929f936e3..36e83f2a98c074599aad24b488eab560e1e59db5 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 81efeb6e647fac192165515b2fd0e31456ebd912..31e6d3fdb10be43dfc9b919fb1221e7a0bf3d73c 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "SCA_IActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 using namespace std;
 
index 78f1980afde191d6654a7bb62f27a92ca087f035..bd70e4aa44b10e0eb204ac26a6eef2d6e1bd4942 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 75a78fe5871ccead6a3761ca6915c6312f3aaeae..d73549b8818c152881b1602cfdcfd2b2fedb84c3 100644 (file)
  */
 
 #include <iostream.h>
-
 #include "SCA_IInputDevice.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_IInputDevice::SCA_IInputDevice()
        :
index ce90a17fe0d755fe548ee2ea8e3a93e8c5d4ff61..38fc75d7ad9dfc9dbfb7df394080661e8d045ce0 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 012479ba2d3eee83aa534a723464a0ee30936b98..47a81f358965400adba13ee9e50e72d5dfdcd2ee 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 e9ed82328240fceab9fa8c875471812e81694d46..d44631963799a9e93b5a249189dce8acb697ec45 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "SCA_IScene.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 SCA_IScene::SCA_IScene()
 {
index be26f1d503e967510489dcaad1c7be7530f15413..b95c42b0baecba138fb787151d3f2ee6f957e081 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 46223aa11af7a82208e43a9f6ffa5a0f88dde3f9..79dbdbe0dc680a50894094b943e5b18a681a2df9 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 834c9254cc09395db8e930fb9eb90400462f9170..0352d5d7c6797de0830d8fa2295090cc6c42357b 100644 (file)
@@ -36,7 +36,9 @@
 #include "StringValue.h"
 #include "SCA_IInputDevice.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index a29d6d19729ac8f0e70ba6964c1eccf57a372a1d..f33b73199ceb6e4a4987d5dde557ce166e4043da 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 580c77ee61fd6c3f086ca15f8a934f65a0b710a5..8d968e0e54d536d0b0d1627dbd3b74b902d30b68 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 f21e4c1b07e142d32598cb12fc56e043ec362788..2c4b7d87c30eec8f3b2911287ab4c5e87fd954e4 100644 (file)
 #include "ConstExpr.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 966884da809f8eb589b0e0e6e172b5e37b146f2d..773b66be6373872215a1848a5aea3412cf32ff2e 100644 (file)
 #include "SCA_LogicManager.h"
 #include "BoolValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 893db892ef0f6591cfc8a229b7c60fef95389b10..dfb6e3f644b9283684067699854d4c67d68f94f5 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 2b3ad1d2c1cfc16d09ecc8d51913c4480ab84c7c..4b81b0e41242142dc1faec0e2a05c5ac442a182e 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 52642c6757f35bdb9bd5bcec7783f76764a8d251..6fceddcb5f889a0a79eeb9d4d15e3480d3095928 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 2d57a5f116db2597a4a33cf30ab43bc22c9ea193..0d2f74c14cc416bdcd6359b63d0afc350daa7f5d 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 50acf24251f85ffa92ffc80ca5752421c5fd2470..350b2f58b06c09d5158468e9af4150b80e4b71ff 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 12cf78d234a54f388c5d05f197b6b6222b53318d..ee517e5b91596c783da483e2574fa69d6fae7f8e 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 7faa76fd01d9a49597425ba7b7ab093a34b0a8ac..a25ac4089f918d27765e3dd5876ebeac3a2ab9be 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 7f3f2f93315dd1600ce71bcb4e4ab65126759f57..12f3e0bf5ed9cf1f4b88699b4f67fe937351da75 100644 (file)
 #include "ConstExpr.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 784afcce2981b59ff9b6ccf2a571ec2a3bfa1410..05d1bebf18ae4a5ed6c7942b0dba41ef54a68f8a 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 4e59863f5102a55dc2fb09eb8043e76da0dff8eb..df2722afa68581611de7331633fb819267bd81cf 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #endif
index 8c54362e17a357762216c473dd03815c7525bec5..a9a099bf070510a80e960fad5f8db5a7ad3eb207 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 7cd1e48f9b363acce834326ea1ebebaa6d5121bd..71e20bfe35d20aa1298103e63a946cc365901847 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 a6ce7b3ae0d579ad34a2b3dab0ec671656a469c7..bfd1acaf65ddf9867b66500aa232e58736a23fdd 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "GPC_MouseDevice.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPC_MouseDevice::GPC_MouseDevice()
 {
index 77488597a70703cf9d440b3c6420120394489884..2741ba048c8dbaa5a244db0e85057b1ac36ca4b7 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 0a4b6ff3df612fe80fe903d5d83277b7d8b4f926..7d0886a292b009a15cf5ae5b04f9c62411ee8d4a 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 6ab2f1220e5181db02c899b17f8cc74d5c36822a..2ccd98b368aed7ba6bf6accb1823e2e83afbca62 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 0afb241408ec1d1669b4aa12be520f326a29e4ae..955a644513a4dfe4a82617976842c6fdfd2a2bd0 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 329cf1c4bad9594888a00e786e637b2bb6d5abfa..12212cfd182f3c3c24c1dd84b5126fd710046fb3 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 7c5c16a0b4893091db9a69ceabbeb739803f9219..31393505796db04b4172bf3cec860f79d5f33ada 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 752f2017c949b41c9b5a8ae672ab593decd12a72..c98c85bc272484d85daba65c51517c7ccc38ff4c 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 29f0bffe1c5317f76441f5331bdab1e3157babbb..d393f4196aa474dfe020350ab579c54265577fc8 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 56b1340eb924c8a86d93c43b9233d02b88f4c982..6bff9f20a6a36bf67ffeab0759e0c0569e587883 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 125adcc4b7b8534aa78b4df2cc0613a9107b75dd..bdd04fadb9ba0814d49a475318cf346db3428710 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 d7484c97dc23dfde0731be315c2912d7358c2c6d..eb2163f08bc285f3850a84cd8c25ad74047eddaf 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 de3f49e867e2ce11328be43b6daaa08514e1897d..372ab92711874b710f40ef5d0396adb5d627487f 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 ff4dca9c50e979215d8323bd8391b588fc4a94f0..43d2ca9bb6ea5b219e447dfab455f8e8d1c7004e 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 b9c884af525952d310a3c0ca3ad97a18b8212bf6..e9d70722336166f5f8c2d80a6d5f2859ac825d3a 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 ba71e036fc425c663f534e413bccc79f7974d876..9dbd704daed66164033d089d0911d684778e2448 100644 (file)
  */
 
 #include <windows.h>
-
 #include "GPW_System.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GPW_System::GPW_System(void)
 {
index 07ed803b20535952aa19459287ee485f5b59c603..17e9e77b5d3e0d40dd2c94e5cd70879dfe8679d1 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 da71d40acc06ce1a950e4b1085eac3f9e9337f97..2d3784736193fffc601e9cc80ffa3ddf2f556e60 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 7971a86bcbcf63aaaa8d1da9899c95a3dac408a7..0e474827ad50b144fd1c85815b2c55e6214c8e7b 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 6084505bbba12622cab50065c9f63f2df16bc012..d9f59f8b36a07e8cc28165512f074dbefc88f8a6 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 df683cb91cf8ddbd44af2ac9afb88ca366a6d0e8..f725d5c0dd38ae3378dad48f15f2ba8a9772f9c1 100644 (file)
 #include <iostream>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __linux__
 #ifdef __alpha__
 #include <signal.h>
index 99aa798cfa5ea86cf73ead5964b1364302807a98..ad2f786a3281625ae5e0e43cfc1a61874b5f0a60 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 1eb85d60b296a2be19c68672f0a32793c358df4c..aed6b6a97a17cd5e5b51ffbb438f3fa727a3a4a5 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 1eeceb55469e179c6a2b6b13a7283294df2b2e29..7e1e46d029a7ec0973756be022f115837f9c8a9c 100644 (file)
 #include "ListValue.h"
 #include "StringValue.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef NAN_NET_DEBUG
   #include <iostream>
 #endif
index a7800aea8c8c5894d18a415ef9950566671bb584..a27ac01d5c4dca79fb0775e6ecab4d91b088f2c9 100644 (file)
@@ -29,3 +29,7 @@
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index a7800aea8c8c5894d18a415ef9950566671bb584..9da25bcb70b611eed4b1aac0018f08232c98f037 100644 (file)
@@ -29,3 +29,8 @@
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
index e69e0e98960bcb4a6b9d3ecee24eb166bc29503a..b422585957e5c46a0b70192e94742e5d806793d4 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 919355d411a26196b4116b3e573d196c53d6ef60..6b669bcd936cf04f40e7ff84f576077dabaec3ac 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 8a6ed0106f58b6c85bbe676ebfa83caa1e11c0d8..df61aaf5243b27af68a11a184cc72a537db0ba0d 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 2e736864a44dfc7d6e837101e57d50a62c11cfb2..19f17ff32ede2181f90c997bab5f03e3cc751774 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 8aab3e7648d7bb8eaac5844dcda86c6d4eaed29c..e91c82cc81144ae1c2a3602418f1de7a687e6926 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 0a741aa55acdd6e34e48c7115ef5e9ff1dfba063..04bec5cb37c66b60752ddd848c0a7fea788623a1 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 97828b618f8f60df5f60a7de9db8e07153234ab1..a6e7daadb2c04bbc1d61df1b848d0d5a7a5e8e37 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 d3b120066d9d747588d1988dc4cfed2f7efc43e6..8a72ba62f514442fc01824ad6630d1413ca8eea2 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 240cef164a3c41a0ec807d84023fb4f787c78653..b3e503592243ab79782001008c6d29609777c38e 100644 (file)
 #include "KX_Scene.h"
 #include "KX_KetsjiEngine.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index 1f8b3a8e1ac50f5edb5219cfefc6baf66595fb12..24f0a36b152ed1924c3b08a1b1c55903d982b87d 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 ea5617b017a46a0f49bc3db587b15be5f0b42a56..8dfced41c1e9096fc055bbefc984f49dad0782de 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 5ef22dd4f7410c4b0d8bc635dba953b892314ed1..fe43261c0beabdccbfcbdd9e9ca8469fb3daf50c 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 1e351834822c63a79ff809b3d033ea0dc6197625..de2b31684e042ca35fe9530cde8d51bd48838075 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 c03e4e3d9641c2405707b5770184da64983053d1..80a4d13c916277e1d3d042dd6c53300d6f156d58 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 25e756ae66c36293889ac0d20ed65283c0fda24a..658f45a49b0e4decd1d1265db02d0dc53474217e 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #pragma warning (disable : 4786)
index 3dd26947a795421b7fe4083bf2de95830580d11c..e1bb3329ca84f967f5ee02b9868a778697e973fa 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 f17e5820d528057dfdace34f19c0818f2812b966..4b5580ed4382dd741520dc360e49ff161dcb96e3 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 50b1943e5f0e9416ccbab66cb320b212cf6653b9..6de9cf3b36e9a5ea4fe15a263da193c4499085df 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 006215b9fe862b6b0e5a520624a16310d709b062..c6f412656905eee40436ff7434504353de5469fc 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 0388f7cc33268bbca9f6d9df0e0b322955b63f84..8008e85843fc746532d2be8cd4642af6646e0ca7 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 d4bb714d75d9322272c54034312987bc2ece11d2..58c1494724c2ba8f6323e3eb6672d92afb6a8356 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 97e167385dcde954d8a2c3d30b63a17323497eb6..bcbabc384e977e7b5003d2234e8c9d698371221e 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 ece08975f4f8527dc477d36f632f1d3d29730166..0eff54dc0c653f99680e3481aaa6ef8e0cfc03ba 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 bead946ab37a854184fc643e316ff9839ab5b4fb..3d65e18a7d06bef27e5b8c1509c72a44032511ea 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 b14afbdc6782c89dbd2a3ff215f3c0a51da2d861..2bba77a966a2a2a1239e56048608238cfe8c372c 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 96af6e3ccf3a0251b157f4b3dc9093ce8c363bb9..eb8edcdca9408b357aec5c605fc4d5d31fb028b6 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 67a40639a1378e24491bfb197ba5da7bf5e77df4..ae7c8caaa51e87889267d025e06aa656e406f96d 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 7b6c3a823ca12eb1bab709b8bab382242e1b4f39..7c1b9928f5fc12fd51f770e2e6a49470eef74aa3 100644 (file)
  * Initialize Python thingies.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #pragma warning (disable : 4786)
 #endif //WIN32
index 27142987f4f3b4c869f682e3d9382e0094a3f89c..19e26b6f484cdb17e559f472f495ffa30a94a330 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 d57f97efb4428c80f4d362b3b2c5cc07ad64dd37..ca16ceb015b3ab4b0d8351d2fd3e0a919a904ef8 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 eac362a0b1c86475c2ea968c01bfe5b3f399d446..5cca436327a31a0cecff190d4aa8d34de3814070 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 4e73f4e27cae4b01a140b97f5948553fafd245c4..666d4474130f235fcfe732f0e7aeced244a4323c 100644 (file)
 #include "KX_GameObject.h"
 #include "KX_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index ca1c4d04084e9a523d14344148bb9fdbead93c4a..a549ef56714ff28e7a7a89a3c2782d07f999e493 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 731ddeff80da2597c128117337de1e66bcf2ce18..784a3e015dfdf765bd6ca9243fa908fe2408f7e1 100644 (file)
 
 // Please look here for revision history.
 
-
 #include "KX_SCA_ReplaceMeshActuator.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
 /* ------------------------------------------------------------------------- */
index 16529a91471196f46aa22fe521037d053786cb95..437f696d872022b2d0b5dbc80d22d38c0c5d678b 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 e1c72c74a41c916f33740800760bcf83940b1249..5e0366001197534d38ac5ac25b6fc521b8b0b353 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 87bd9455d748a6a83e8d141f056a045471b70afc..c645eb6a3ea681e1842cf8b237fbadb1c6457b1e 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 508ada3a5a99209a93513722ad7f5e283d4cd152..c2cb001cce88d95d0a047e5d82d6a3b52786fce4 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 7cba1a6ac1e7c165ee2551fa862a0fbad75400e9..4a1d8c74b77dd439211b5724fda0c7796cfbc006 100644 (file)
 #include "KX_Camera.h"
 #include "KX_KetsjiEngine.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index b36ff5f2c09927b88d215a231dda945f253cf615..3e2103245f1be0eb90d15cfcbb81fb98a5c0816e 100644 (file)
 #include "SND_Scene.h" // needed for replication
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
 /* ------------------------------------------------------------------------- */
index aa49f33bfb2bbdd9e554a2ac7d50e8ee51c0e594..12b8775b5cd9ffbcd3958f03c32f77c03ad75bce 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 53a47abd77e434db1d70baa553351d0a24a3b1c3..61bd0385972d9811f13744bd84701d55c08ecb94 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 e2114e8d8d757504650b35124c5006c00175a208..509f7e13234412afe36aa8d577f2139caa66dc2f 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 d9848398900607cf9815d2d5a5987e16c280e137..8c7f18983e5eb8b478153daab3cc1e7566e0b118 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 daf344999fcc573e89230ec40a686400e69049b0..ee2226d03ad8ff9e7f9a0281e9e1f3f03d0b97ba 100644 (file)
 #include "KX_TouchEventManager.h"
 #include <iostream>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef PHYSICS_NOT_YET
 
 /* ------------------------------------------------------------------------- */
index 647ffb447aa75ede84e56ba0d35543afc5e57a54..6dcb6281a631cd92844eae91daf083a5e6d193d1 100644 (file)
@@ -45,6 +45,9 @@
 #include <iostream>
 #include "KX_GameObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 /* ------------------------------------------------------------------------- */
 /* Native functions                                                          */
index 2f61ef7a630e6c255b7769de87f391d40c602f06..b9cb9affe72ef2814597ed205efc8735085b79b3 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 c39775f43917509a9d86702ba745fed9db9e2a78..ccaca4a93fb3703486a3f144d90b82480faccce6 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 4c1884572e54acea0ec641e94d3fd44e6a15c476..c2e696f856efdd7f7920e355689b1001c5fc50f1 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "KX_WorldInfo.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 KX_WorldInfo::~KX_WorldInfo()
 {
index c4907a29a7aaf71bcfb35768de03afeda63bfd16..4d7e6592b6b71c2e0d91a5cac2f68624facd7bea 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 9d4069bcac66c094c88ef7d5b197fefef5247b83..fe135210b91afdc8eda1e4e000349e59ac1c102f 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 d000dd4b4ccaad038da76ebac3eaf9bc61a2a210..44f13ae40c4ae88aa384f5bb76f2ba531a691a45 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 54db7c4f4b82693f2726e1ccf1011db75cc7165d..02805a9f91a8e71e51ac022e3adceb3d070f0d5a 100644 (file)
  */
 #include "NG_NetworkObject.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 NG_NetworkObject::NG_NetworkObject()
 {
 }
index 30bc1aac122431d3b2c0df2c6ade9430e6c2e302..e24fade91f8e403139d05bbb3fcc404b899150ac 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 55710e0f8ad6af99df3c5b9c1d98f6277a6c32d5..44a7e571b036092c90287d51daa3c42817e5a012 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 db869aca58e5610d41d6c6cc5327ec1a9327b23d..6493caca25baf0fb50d8487c877f8fffd1641ee7 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 8023b791be044ce930ed72bb5b5230a39face5ad..5b6942c4fbbf390c90724449189ead1a610c054f 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 bc88ae7012d7d02cb06114bc47c5a379aca6e783..bfb24f5fec1bfea2aeb9d01840431555252c490a 100644 (file)
@@ -32,7 +32,9 @@
 #include "DummyPhysicsEnvironment.h"
 #include "PHY_IMotionState.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 DummyPhysicsEnvironment::DummyPhysicsEnvironment()
 {
index e8e78d89a4eee380657c54f9257e654dbd284fdd..53b9ae684f3250d525fe0a1aefb9bad8c7d281d0 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 1c03621f530a39496bfe5252aa13d3cf2eacec8d..cdf0a2d8f643678a7d08296977962fc6f01af26f 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 f8be49aa126258025f4d77d3beeffef69e4e9d24..0ba5fd673ca76cc6e0e076be5e5fda4861056cda 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 d6717ca342e5cdbeedb26af00dbd08267a085132..51673b92ffb97edf10f293ccd6229ef10bb6e15c 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 e3eb7e5c5eab0f964b9811f7c21e9c1d3ac5aaf2..424796ea71e8a8802a161148beb4fbb73f75cc69 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 2b2c5b818569249ad7783fc47106e63657b3e1af..d89e43cd04bf763ad93ea7c464d973d197250078 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 05b88fcb06ba25097e20ff121bc8ff7636910bee..ea18666a72d9752b42b4b104b7ac44644a8e11a4 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 106f453424dc6a78819d61904488727366bab1f2..355f1910dc1dd128096962f7a085d4b20d6f7e18 100644 (file)
  */
 #include "PHY_IMotionState.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 PHY_IMotionState::~PHY_IMotionState()
 {
 
index ec0f7b9df3e4fdd6c35ed59b23de6aabdbd578da..34849a55817f87d304a77c3fe8abb048c60d7f24 100644 (file)
@@ -31,6 +31,9 @@
  */
 #include "PHY_IPhysicsController.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 PHY_IPhysicsController::~PHY_IPhysicsController()
 {
index 7c0660976fb9e84ca913188201cbdd4fbb63580e..2ba982b4442b51794644fed336f5747a5d429922 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 39ec523cfa2b2744a1abdaf4cf4506e1115f44ee..38eee62b9547af6fcb97f0b749cf30ce81e2ca7e 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 af0499bd3483736f679697ddeb06e2b30ba18f88..d9b3708f6aa3695a9ad47eb9be1d9065452f713a 100644 (file)
  */
 
 #include "RAS_FramingManager.h"
-
 #include "RAS_Rect.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
        void
 RAS_FramingManager::
 ComputeDefaultFrustum(
index 7e1017b5c393851f7eebda7f8b2b9af1113a0dbc..1a11a0400f460d7f3b1d187effb1feccd83f456e 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 d52ba72af40817927dd4b59192d9286333d3dbde..aa0053f3d1df4475a1347ff1b8e8b1b21e7baebe 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 ecb621c0d9dc3104256418ebff7beba40bcf6be8..d9e27c9c8d0486e116a99eeb7fee2fb077a4fbd3 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 3c78b7cf9914e82f3330ce59170beff90dce7575..2a7323d845aef6f591f29eda08cb0a1f22fd4e9e 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 ff57e7ab10290d2e752234bcbdf0f52ef0946a2b..0a62acbec712667f6f461de8121e1eb870e67f7b 100644 (file)
  */
 #include "RAS_CheckVertexArrays.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #endif // WIN32
index 32b5852137bffdd5771c9e74d303999f4dd74d01..959b8ecc99f97358da4e96804ea5a605557efd88 100644 (file)
@@ -1,5 +1,9 @@
 #include "RAS_OpenGLRasterizer.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include <windows.h>
 #endif // WIN32
index fe582a3d2ee1629d4029c2163c5c2071d69b0abf..6350390ef761a7b62414e2ce81093fa36fc62cea 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 c495ef9679de2b576b38a2f4aef5b1bf76dd5a2c..4ca1e37eb1fda8ec7f07fe345bc4fa244aaa4163 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 
 #pragma warning (disable:4786)
index 20a4f0d2570e9979dba1b098bc9de05019ae6917..c29a16c71d8eae34e2afa306bbeb2196baeda24c 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 515f05b830316c30611ca8b3f34e4b0aaada4e29..791d6e3dc7d5a16b2f8178a6293e371983ec231d 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 4a5735bb4c09217e5dfde64111a6a17598d579e4..918b4ea3fb44cc4e4f91422b7433da5f06360a9a 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "SG_Controller.h"
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
        void 
 SG_Controller::
index 2561bd0c6723babf1070bb33011968ca40e14694..5433b5017eb09b7c38ee2b8f790b4e1bc2355070 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 d40cdca0c76950a19e0b8563e850e6ec7e9c5124..c3e4ef79c286485ee5439b5237cb631e48acea6b 100644 (file)
  */
 
 #include "SG_Node.h"
-
 #include "SG_ParentRelation.h"
-
 #include <algorithm>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 using namespace std;
 
 
index 96370f28ef3991dfac8e86dfa5e5a1c30798b1d6..e37fd08a5179206f2994e133ada80be725e6d90c 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 6163b4a7c64b0dd66444ccd156149387ffc4b9d5..f852530fa5352cee2b4972b578dacc3456a12ac8 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 ad250ea9ffce7cc0157f6618d1253ad511e8b62f..4b941648e49ab2bc77e59c557b0db9ebc2a1e850 100644 (file)
@@ -31,7 +31,9 @@
 
 #include "GEN_Matrix4x4.h"
 
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 GEN_Matrix4x4::GEN_Matrix4x4()
 {
index 5692c5348dec4274e415c433ae6e99f28f168d72..b65ba69ec421f64cc67b3e3117dddcc4b40437cd 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 48f5b2632fd9caad396714cd39dbcb2d53700595..84cd61f0ba658f547b910258568b507f547e7851 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();