Last of the config.h mods...

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 15:29:57 +00:00
parent d0e346d544
commit 209a2ede2c
212 changed files with 799 additions and 146 deletions

View File

@@ -31,6 +31,10 @@
* SND_FmodDevice derived from SND_IAudioDevice * SND_FmodDevice derived from SND_IAudioDevice
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -31,6 +31,10 @@
* SND_FmodDevice derived from SND_IAudioDevice * SND_FmodDevice derived from SND_IAudioDevice
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -30,9 +30,12 @@
*/ */
#include "SND_AudioDevice.h" #include "SND_AudioDevice.h"
#include "SND_SoundObject.h" #include "SND_SoundObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names. // This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings. // It can occasionally cause DevStudio to have internal compiler warnings.

View File

@@ -34,6 +34,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "SND_C-api.h" #include "SND_C-api.h"
#include "SND_DeviceManager.h" #include "SND_DeviceManager.h"
#include "SND_Scene.h" #include "SND_Scene.h"

View File

@@ -36,6 +36,9 @@
#include "SND_CDObject.h" #include "SND_CDObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SND_CDObject* SND_CDObject::m_instance = NULL; SND_CDObject* SND_CDObject::m_instance = NULL;

View File

@@ -34,6 +34,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "SND_DeviceManager.h" #include "SND_DeviceManager.h"
#include "SND_DependKludge.h" #include "SND_DependKludge.h"
#include "SND_DummyDevice.h" #include "SND_DummyDevice.h"

View File

@@ -36,6 +36,10 @@
#include "SND_IdObject.h" #include "SND_IdObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SND_IdObject::SND_IdObject() SND_IdObject::SND_IdObject()
{ {
} }

View File

@@ -34,6 +34,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // Get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // Get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -36,6 +36,10 @@
#include "SND_SoundListener.h" #include "SND_SoundListener.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SND_SoundListener::SND_SoundListener() SND_SoundListener::SND_SoundListener()
{ {
m_modified = true; m_modified = true;

View File

@@ -36,7 +36,9 @@
#include "SND_SoundObject.h" #include "SND_SoundObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SND_SoundObject::SND_SoundObject()// : m_modified(true) SND_SoundObject::SND_SoundObject()// : m_modified(true)
{ {

View File

@@ -48,6 +48,10 @@ extern "C" {
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) #if defined(WIN32)
#include <io.h> #include <io.h>
#else #else

View File

@@ -34,6 +34,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // Get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // Get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -29,10 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "SND_WaveSlot.h" #include "SND_WaveSlot.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SND_WaveSlot::~SND_WaveSlot() SND_WaveSlot::~SND_WaveSlot()
{ {

View File

@@ -31,6 +31,10 @@
* SND_OpenALDevice derived from SND_IAudioDevice * SND_OpenALDevice derived from SND_IAudioDevice
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -29,6 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
* FreeBSD 3.4 does not yet have pthread_cancel (3.5 and above do) * FreeBSD 3.4 does not yet have pthread_cancel (3.5 and above do)
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include <osreldate.h> #include <osreldate.h>

View File

@@ -30,10 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "../IMG_Api.h" #include "../IMG_Api.h"
#include "IMG_BrushRGBA32.h" #include "IMG_BrushRGBA32.h"
#include "IMG_CanvasRGBA32.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) IMG_BrushPtr IMG_BrushCreate(unsigned int w, unsigned int h, float r, float g, float b, float a)
{ {

View File

@@ -30,10 +30,11 @@
*/ */
#include "IMG_BrushRGBA32.h" #include "IMG_BrushRGBA32.h"
#include <math.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_BrushRGBA32::IMG_BrushRGBA32(TUns32 w, TUns32 h, const IMG_ColorRGB& c, float a)
: IMG_PixmapRGBA32(w, h), m_color(c), m_alpha(a) : IMG_PixmapRGBA32(w, h), m_color(c), m_alpha(a)

View File

@@ -31,7 +31,9 @@
#include "IMG_CanvasRGBA32.h" #include "IMG_CanvasRGBA32.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
IMG_CanvasRGBA32::IMG_CanvasRGBA32(TUns32 width, TUns32 height) IMG_CanvasRGBA32::IMG_CanvasRGBA32(TUns32 width, TUns32 height)
: IMG_PixmapRGBA32(width, height) : IMG_PixmapRGBA32(width, height)

View File

@@ -31,3 +31,7 @@
*/ */
#include "IMG_Line.h" #include "IMG_Line.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View File

@@ -31,8 +31,9 @@
#include "IMG_Pixmap.h" #include "IMG_Pixmap.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
IMG_Pixmap::IMG_Pixmap() IMG_Pixmap::IMG_Pixmap()
{ {

View File

@@ -31,7 +31,9 @@
#include "IMG_PixmapRGBA32.h" #include "IMG_PixmapRGBA32.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
IMG_PixmapRGBA32::IMG_PixmapRGBA32(TUns32 width, TUns32 height) IMG_PixmapRGBA32::IMG_PixmapRGBA32(TUns32 width, TUns32 height)
: IMG_Pixmap(), m_mem(width * height) : IMG_Pixmap(), m_mem(width * height)

View File

@@ -31,6 +31,9 @@
#include "IMG_Rect.h" #include "IMG_Rect.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
TVisibility IMG_Rect::getVisibility(IMG_Rect& r) const TVisibility IMG_Rect::getVisibility(IMG_Rect& r) const
{ {

View File

@@ -30,11 +30,13 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
// #include <iostream.h>
#include "render_intern.h" #include "render_intern.h"
#include "RE_DummyShadowBuffer.h" #include "RE_DummyShadowBuffer.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct LampRen; struct LampRen;
RE_DummyShadowBuffer::RE_DummyShadowBuffer(void) RE_DummyShadowBuffer::RE_DummyShadowBuffer(void)

View File

@@ -32,8 +32,6 @@
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
//#include <iostream.h>
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"
#include "BLI_arithb.h" #include "BLI_arithb.h"
@@ -49,6 +47,11 @@
/* own include */ /* own include */
#include "RE_basicShadowBuffer.h" #include "RE_basicShadowBuffer.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* crud */ /* crud */
#define MIN2(x,y) ( (x)<(y) ? (x) : (y) ) #define MIN2(x,y) ( (x)<(y) ? (x) : (y) )
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -31,8 +31,6 @@
*/ */
#include <assert.h> #include <assert.h>
//#include <iostream.h>
#include "render.h" #include "render.h"
#include "render_intern.h" #include "render_intern.h"
#include "shadbuf.h" #include "shadbuf.h"
@@ -41,6 +39,10 @@
#include "RE_DummyShadowBuffer.h" /* A dummy shadow buffer */ #include "RE_DummyShadowBuffer.h" /* A dummy shadow buffer */
#include "RE_basicShadowBuffer.h" /* the 'old' shadow buffer */ #include "RE_basicShadowBuffer.h" /* the 'old' shadow buffer */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ShadBuf; struct ShadBuf;
struct LampRen; struct LampRen;
struct Lamp; struct Lamp;

View File

@@ -31,6 +31,10 @@
* Blender's Ketsji startpoint * Blender's Ketsji startpoint
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// don't show stl-warnings // don't show stl-warnings
#pragma warning (disable:4786) #pragma warning (disable:4786)

View File

@@ -30,10 +30,11 @@
*/ */
#include "BIF_scrarea.h" #include "BIF_scrarea.h"
#include "KX_BlenderCanvas.h" #include "KX_BlenderCanvas.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
KX_BlenderCanvas::KX_BlenderCanvas(struct ScrArea *area) : KX_BlenderCanvas::KX_BlenderCanvas(struct ScrArea *area) :
m_area(area) m_area(area)

View File

@@ -31,6 +31,9 @@
#include "KX_BlenderGL.h" #include "KX_BlenderGL.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* /*
* This little block needed for linking to Blender... * This little block needed for linking to Blender...

View File

@@ -30,3 +30,8 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "KX_BlenderInputDevice.h" #include "KX_BlenderInputDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View File

@@ -29,6 +29,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// annoying warnings about truncated STL debug info // annoying warnings about truncated STL debug info

View File

@@ -29,6 +29,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// annoying warnings about truncated STL debug info // annoying warnings about truncated STL debug info

View File

@@ -29,10 +29,13 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "KX_BlenderPolyMaterial.h" #include "KX_BlenderPolyMaterial.h"
#include "BKE_mesh.h" #include "BKE_mesh.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
KX_BlenderPolyMaterial::KX_BlenderPolyMaterial(const STR_String &texname, KX_BlenderPolyMaterial::KX_BlenderPolyMaterial(const STR_String &texname,
bool ba, bool ba,
const STR_String& matname, const STR_String& matname,

View File

@@ -31,6 +31,10 @@
#include "KX_BlenderRenderTools.h" #include "KX_BlenderRenderTools.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// OpenGL gl.h needs 'windows.h' on windows platforms // OpenGL gl.h needs 'windows.h' on windows platforms
#include <windows.h> #include <windows.h>

View File

@@ -31,6 +31,9 @@
#include "KX_ISystem.h" #include "KX_ISystem.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable :4786) #pragma warning (disable :4786)

View File

@@ -46,6 +46,10 @@
#include "MT_Matrix4x4.h" #include "MT_Matrix4x4.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
BL_ActionActuator::~BL_ActionActuator() BL_ActionActuator::~BL_ActionActuator()
{ {
if (m_pose) { if (m_pose) {

View File

@@ -40,6 +40,10 @@
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"
#include "DNA_action_types.h" #include "DNA_action_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
CValue* BL_ArmatureObject::GetReplica() CValue* BL_ArmatureObject::GetReplica()
{ {
BL_ArmatureObject* replica = new BL_ArmatureObject(*this); BL_ArmatureObject* replica = new BL_ArmatureObject(*this);

View File

@@ -31,6 +31,10 @@
* Convert blender data to ketsji * Convert blender data to ketsji
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable : 4786) #pragma warning (disable : 4786)
#endif #endif

View File

@@ -32,6 +32,10 @@
#include "BL_DeformableGameObject.h" #include "BL_DeformableGameObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
BL_DeformableGameObject::~BL_DeformableGameObject() BL_DeformableGameObject::~BL_DeformableGameObject()
{ {
if (m_pDeformer) if (m_pDeformer)

View File

@@ -31,6 +31,10 @@
* Simple deformation controller that restores a mesh to its rest position * Simple deformation controller that restores a mesh to its rest position
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names. // This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings. // It can occasionally cause DevStudio to have internal compiler warnings.

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable : 4786) #pragma warning (disable : 4786)
#endif //WIN32 #endif //WIN32

View File

@@ -31,6 +31,10 @@
* Deformer that supports armature skinning * Deformer that supports armature skinning
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32 #endif //WIN32

View File

@@ -31,10 +31,13 @@
#include <stdio.h> // printf() #include <stdio.h> // printf()
#include "BlenderWorldInfo.h" #include "BlenderWorldInfo.h"
#include "KX_BlenderGL.h" #include "KX_BlenderGL.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* This little block needed for linking to Blender... */ /* This little block needed for linking to Blender... */
#ifdef WIN32 #ifdef WIN32
#include "BLI_winstuff.h" #include "BLI_winstuff.h"

View File

@@ -29,9 +29,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "KX_BlenderScalarInterpolator.h" #include "KX_BlenderScalarInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern "C" int IPO_GetChannels(struct Ipo *ipo, short *channels); extern "C" int IPO_GetChannels(struct Ipo *ipo, short *channels);
extern "C" float IPO_GetFloatValue(struct Ipo *ipo, /*IPO_Channel*/ short channel, float ctime); extern "C" float IPO_GetFloatValue(struct Ipo *ipo, /*IPO_Channel*/ short channel, float ctime);

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning #pragma warning (disable:4786) // suppress stl-MSVC debug info warning

View File

@@ -31,6 +31,10 @@
* Convert Blender actuators for use in the GameEngine * Convert Blender actuators for use in the GameEngine
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable : 4786) #pragma warning (disable : 4786)
#endif //WIN32 #endif //WIN32

View File

@@ -31,7 +31,6 @@
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"
#include "KX_BlenderSceneConverter.h" #include "KX_BlenderSceneConverter.h"
#include "KX_ConvertControllers.h" #include "KX_ConvertControllers.h"
#include "KX_Python.h" #include "KX_Python.h"
@@ -46,6 +45,10 @@
#include "KX_GameObject.h" #include "KX_GameObject.h"
#include "IntValue.h" #include "IntValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* This little block needed for linking to Blender... */ /* This little block needed for linking to Blender... */
#ifdef WIN32 #ifdef WIN32
#include "BLI_winstuff.h" #include "BLI_winstuff.h"

View File

@@ -31,6 +31,9 @@
#include "KX_ConvertProperties.h" #include "KX_ConvertProperties.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* This little block needed for linking to Blender... */ /* This little block needed for linking to Blender... */
#ifdef WIN32 #ifdef WIN32

View File

@@ -31,6 +31,10 @@
* Conversion of Blender data blocks to KX sensor system * Conversion of Blender data blocks to KX sensor system
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable : 4786) #pragma warning (disable : 4786)
#endif //WIN32 #endif //WIN32

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// don't show stl-warnings // don't show stl-warnings

View File

@@ -13,13 +13,14 @@
* *
*/ */
#include "BoolValue.h" #include "BoolValue.h"
#include "StringValue.h" #include "StringValue.h"
#include "ErrorValue.h" #include "ErrorValue.h"
#include "VoidValue.h" #include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -13,13 +13,13 @@
* *
*/ */
#include "Value.h" // for precompiled header #include "Value.h" // for precompiled header
#include "ConstExpr.h" #include "ConstExpr.h"
#include "VectorValue.h" #include "VectorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -36,6 +36,9 @@
#include "ErrorValue.h" #include "ErrorValue.h"
#include "InputParser.h" #include "InputParser.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
EXP_ValueHandle EXP_CreateInt(int innie) EXP_ValueHandle EXP_CreateInt(int innie)
{ {

View File

@@ -13,9 +13,6 @@
* *
*/ */
#include "EmptyValue.h" #include "EmptyValue.h"
#include "IntValue.h" #include "IntValue.h"
#include "FloatValue.h" #include "FloatValue.h"
@@ -24,6 +21,9 @@
#include "ListValue.h" #include "ListValue.h"
#include "VoidValue.h" #include "VoidValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -12,13 +12,11 @@
* *
*/ */
#include "ErrorValue.h" #include "ErrorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -12,11 +12,12 @@
* *
*/ */
#include "Expression.h" #include "Expression.h"
#include "ErrorValue.h" #include "ErrorValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -12,7 +12,6 @@
* *
*/ */
#include "FloatValue.h" #include "FloatValue.h"
#include "IntValue.h" #include "IntValue.h"
#include "StringValue.h" #include "StringValue.h"
@@ -20,8 +19,9 @@
#include "ErrorValue.h" #include "ErrorValue.h"
#include "VoidValue.h" #include "VoidValue.h"
///#include "..\..\menuvalue.h" #ifdef HAVE_CONFIG_H
//#include "FactoryManager.h" #include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -31,6 +31,9 @@
#include "IdentifierExpr.h" #include "IdentifierExpr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context) CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context)
:m_identifier(identifier) :m_identifier(identifier)

View File

@@ -16,6 +16,9 @@
#include "EmptyValue.h" #include "EmptyValue.h"
#include "ErrorValue.h" #include "ErrorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -27,6 +27,10 @@
#include "Operator1Expr.h" #include "Operator1Expr.h"
#include "IdentifierExpr.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 // 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 // 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... // cool things like (IF(LOD==1,CCurvedValue,IF(LOD==2,CCurvedValue2)) etc...

View File

@@ -12,14 +12,16 @@
* *
*/ */
#include "IntValue.h" #include "IntValue.h"
#include "ErrorValue.h" #include "ErrorValue.h"
#include "FloatValue.h" #include "FloatValue.h"
#include "BoolValue.h" #include "BoolValue.h"
#include "StringValue.h" #include "StringValue.h"
#include "VoidValue.h" #include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -29,9 +29,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "KX_HashedPtr.h" #include "KX_HashedPtr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
unsigned int KX_Hash(unsigned int inDWord) unsigned int KX_Hash(unsigned int inDWord)
{ {
unsigned int key = inDWord; unsigned int key = inDWord;

View File

@@ -14,12 +14,15 @@
* *
*/ */
#include "ListValue.h" #include "ListValue.h"
#include "StringValue.h" #include "StringValue.h"
#include "VoidValue.h" #include "VoidValue.h"
#include <algorithm> #include <algorithm>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int listvalue_bufferlen(PyObject* list) int listvalue_bufferlen(PyObject* list)
{ {
return ( ((CListValue*)list)->GetCount()); return ( ((CListValue*)list)->GetCount());

View File

@@ -13,8 +13,12 @@
*/ */
#include "Operator1Expr.h" #include "Operator1Expr.h"
//#include "FactoryManager.h"
#include "EmptyValue.h" #include "EmptyValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@@ -16,12 +16,14 @@
// have to do the trick // have to do the trick
// when expression is cached, there will be a call to UpdateCalc() instead of Calc() // when expression is cached, there will be a call to UpdateCalc() instead of Calc()
#include "Operator2Expr.h" #include "Operator2Expr.h"
#include "StringValue.h" #include "StringValue.h"
#include "VoidValue.h" #include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef NO_EXP_PYTHON_EMBEDDING #ifndef NO_EXP_PYTHON_EMBEDDING
/*------------------------------ /*------------------------------

View File

@@ -12,13 +12,14 @@
* *
*/ */
#include "StringValue.h" #include "StringValue.h"
#include "BoolValue.h" #include "BoolValue.h"
#include "ErrorValue.h" #include "ErrorValue.h"
#include "VoidValue.h" #include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -15,7 +15,6 @@
* *
*/ */
#include "Value.h" #include "Value.h"
#include "FloatValue.h" #include "FloatValue.h"
#include "IntValue.h" #include "IntValue.h"
@@ -25,7 +24,9 @@
#include "ErrorValue.h" #include "ErrorValue.h"
#include "ListValue.h" #include "ListValue.h"
//#include "FactoryManager.h" #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction

View File

@@ -12,6 +12,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) #pragma warning (disable:4786)
#endif #endif

View File

@@ -37,6 +37,10 @@
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#include "BoolValue.h" #include "BoolValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -38,10 +38,12 @@
#include <vector> #include <vector>
#include "SCA_ISensor.h" #include "SCA_ISensor.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
using namespace std; using namespace std;
SCA_AlwaysEventManager::SCA_AlwaysEventManager(class SCA_LogicManager* logicmgr) SCA_AlwaysEventManager::SCA_AlwaysEventManager(class SCA_LogicManager* logicmgr)
: m_logicmgr(logicmgr), : m_logicmgr(logicmgr),
SCA_EventManager(ALWAYS_EVENTMGR) SCA_EventManager(ALWAYS_EVENTMGR)

View File

@@ -32,6 +32,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names. // This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings. // It can occasionally cause DevStudio to have internal compiler warnings.

View File

@@ -29,10 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "SCA_EventManager.h" #include "SCA_EventManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_EventManager::SCA_EventManager(EVENT_MANAGER_TYPE mgrtype) SCA_EventManager::SCA_EventManager(EVENT_MANAGER_TYPE mgrtype)
:m_mgrtype(mgrtype) :m_mgrtype(mgrtype)

View File

@@ -32,15 +32,18 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "SCA_ExpressionController.h" #include "SCA_ExpressionController.h"
#include "SCA_ISensor.h" #include "SCA_ISensor.h"
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#include "BoolValue.h" #include "BoolValue.h"
#include "InputParser.h" #include "InputParser.h"
#include "MT_Transform.h" // for fuzzyZero #include "MT_Transform.h" // for fuzzyZero
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -31,6 +31,9 @@
#include "SCA_IActuator.h" #include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
using namespace std; using namespace std;

View File

@@ -30,10 +30,13 @@
*/ */
#include "SCA_IController.h" #include "SCA_IController.h"
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#include "SCA_IActuator.h" #include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_IController::SCA_IController(SCA_IObject* gameobj, SCA_IController::SCA_IController(SCA_IObject* gameobj,
PyTypeObject* T) PyTypeObject* T)
: :

View File

@@ -30,10 +30,11 @@
*/ */
#include <iostream.h> #include <iostream.h>
#include "SCA_IInputDevice.h" #include "SCA_IInputDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_IInputDevice::SCA_IInputDevice() SCA_IInputDevice::SCA_IInputDevice()
: :

View File

@@ -31,7 +31,9 @@
#include "SCA_ILogicBrick.h" #include "SCA_ILogicBrick.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_LogicManager* SCA_ILogicBrick::m_sCurrentLogicManager = NULL; SCA_LogicManager* SCA_ILogicBrick::m_sCurrentLogicManager = NULL;

View File

@@ -29,15 +29,18 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#include "SCA_IObject.h" #include "SCA_IObject.h"
#include "SCA_ISensor.h" #include "SCA_ISensor.h"
#include "SCA_IController.h" #include "SCA_IController.h"
#include "SCA_IActuator.h" #include "SCA_IActuator.h"
#include "MT_Point3.h" #include "MT_Point3.h"
#include "ListValue.h" #include "ListValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
MT_Point3 SCA_IObject::m_sDummy=MT_Point3(0,0,0); MT_Point3 SCA_IObject::m_sDummy=MT_Point3(0,0,0);
SCA_IObject::SCA_IObject(PyTypeObject* T): CValue(T) SCA_IObject::SCA_IObject(PyTypeObject* T): CValue(T)

View File

@@ -31,7 +31,9 @@
#include "SCA_IScene.h" #include "SCA_IScene.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_IScene::SCA_IScene() SCA_IScene::SCA_IScene()
{ {

View File

@@ -36,9 +36,11 @@
#include "SCA_EventManager.h" #include "SCA_EventManager.h"
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Native functions */ /* Native functions */
void SCA_ISensor::ReParent(SCA_IObject* parent) void SCA_ISensor::ReParent(SCA_IObject* parent)
{ {
SCA_ILogicBrick::ReParent(parent); SCA_ILogicBrick::ReParent(parent);

View File

@@ -39,6 +39,10 @@
#include "IntValue.h" #include "IntValue.h"
#include <vector> #include <vector>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_KeyboardManager::SCA_KeyboardManager(SCA_LogicManager* logicmgr, SCA_KeyboardManager::SCA_KeyboardManager(SCA_LogicManager* logicmgr,
SCA_IInputDevice* inputdev) SCA_IInputDevice* inputdev)
: SCA_EventManager(KEYBOARD_EVENTMGR), : SCA_EventManager(KEYBOARD_EVENTMGR),

View File

@@ -36,7 +36,9 @@
#include "StringValue.h" #include "StringValue.h"
#include "SCA_IInputDevice.h" #include "SCA_IInputDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */

View File

@@ -32,14 +32,16 @@
*/ */
#include "Value.h" #include "Value.h"
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#include "SCA_ISensor.h" #include "SCA_ISensor.h"
#include "SCA_IController.h" #include "SCA_IController.h"
#include "SCA_IActuator.h" #include "SCA_IActuator.h"
#include "SCA_EventManager.h" #include "SCA_EventManager.h"
#include <set> #include <set>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_LogicManager::SCA_LogicManager() SCA_LogicManager::SCA_LogicManager()
{ {
} }

View File

@@ -33,6 +33,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names. // This warning tells us about truncation of __long__ stl-generated names.
// It can occasionally cause DevStudio to have internal compiler warnings. // It can occasionally cause DevStudio to have internal compiler warnings.

View File

@@ -41,6 +41,10 @@
#include "ConstExpr.h" #include "ConstExpr.h"
#include <iostream> #include <iostream>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -37,6 +37,10 @@
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#include "BoolValue.h" #include "BoolValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -34,10 +34,13 @@
#include "SCA_PropertyActuator.h" #include "SCA_PropertyActuator.h"
#include "InputParser.h" #include "InputParser.h"
#include "Operator2Expr.h" #include "Operator2Expr.h"
#include "ConstExpr.h" #include "ConstExpr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -30,9 +30,11 @@
*/ */
#include "SCA_ISensor.h" #include "SCA_ISensor.h"
#include "SCA_PropertyEventManager.h" #include "SCA_PropertyEventManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_PropertyEventManager::SCA_PropertyEventManager(class SCA_LogicManager* logicmgr) SCA_PropertyEventManager::SCA_PropertyEventManager(class SCA_LogicManager* logicmgr)

View File

@@ -41,6 +41,10 @@
#include "SCA_EventManager.h" #include "SCA_EventManager.h"
#include "SCA_LogicManager.h" #include "SCA_LogicManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_PropertySensor::SCA_PropertySensor(SCA_EventManager* eventmgr, SCA_PropertySensor::SCA_PropertySensor(SCA_EventManager* eventmgr,
SCA_IObject* gameobj, SCA_IObject* gameobj,
const STR_String& propname, const STR_String& propname,

View File

@@ -39,6 +39,9 @@
#include "compile.h" #include "compile.h"
#include "eval.h" #include "eval.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// initialize static member variables // initialize static member variables
SCA_PythonController* SCA_PythonController::m_sCurrentController = NULL; SCA_PythonController* SCA_PythonController::m_sCurrentController = NULL;

View File

@@ -38,8 +38,12 @@
#include "SCA_IActuator.h" #include "SCA_IActuator.h"
#include "SCA_RandomActuator.h" #include "SCA_RandomActuator.h"
#include "math.h" #include "math.h"
#include "MT_Transform.h" #include "MT_Transform.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -40,6 +40,10 @@ using namespace std;
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
SCA_RandomEventManager::SCA_RandomEventManager(class SCA_LogicManager* logicmgr) SCA_RandomEventManager::SCA_RandomEventManager(class SCA_LogicManager* logicmgr)
: m_logicmgr(logicmgr), : m_logicmgr(logicmgr),
SCA_EventManager(RANDOM_EVENTMGR) SCA_EventManager(RANDOM_EVENTMGR)

View File

@@ -37,6 +37,10 @@
#include <limits.h> #include <limits.h>
#include "SCA_RandomNumberGenerator.h" #include "SCA_RandomNumberGenerator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Period parameters */ /* Period parameters */
#define N 624 #define N 624
#define M 397 #define M 397

View File

@@ -39,6 +39,10 @@
#include "ConstExpr.h" #include "ConstExpr.h"
#include <iostream> #include <iostream>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* Native functions */ /* Native functions */
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
// This warning tells us about truncation of __long__ stl-generated names. // This warning tells us about truncation of __long__ stl-generated names.

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
#endif #endif

View File

@@ -29,6 +29,11 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
#endif // WIN32 #endif // WIN32

View File

@@ -33,6 +33,9 @@
#include <iostream.h> #include <iostream.h>
#include "GPC_KeyboardDevice.h" #include "GPC_KeyboardDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/** /**
* NextFrame toggles currentTable with previousTable, * NextFrame toggles currentTable with previousTable,

View File

@@ -32,6 +32,9 @@
#include "GPC_MouseDevice.h" #include "GPC_MouseDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPC_MouseDevice::GPC_MouseDevice() GPC_MouseDevice::GPC_MouseDevice()
{ {

View File

@@ -30,10 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GPC_PolygonMaterial.h" #include "GPC_PolygonMaterial.h"
#include "MT_Vector3.h" #include "MT_Vector3.h"
#include "RAS_IRasterizer.h" #include "RAS_IRasterizer.h"
/* This list includes only data type definitions */ /* This list includes only data type definitions */

Some files were not shown because too many files have changed in this diff Show More