* 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
* 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
{
if (m_dspunit)
FSOUND_DSP_SetActive(m_dspunit, false);
-}
\ No newline at end of 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.
* ***** 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"
#include "SND_CDObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SND_CDObject* SND_CDObject::m_instance = NULL;
* ***** 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"
#include "SND_IdObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SND_IdObject::SND_IdObject()
{
}
* ***** 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
#include "SND_SoundListener.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SND_SoundListener::SND_SoundListener()
{
m_modified = true;
#include "SND_SoundObject.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SND_SoundObject::SND_SoundObject()// : m_modified(true)
{
#include <math.h>
#include <string.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#if defined(WIN32)
#include <io.h>
#else
* ***** 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
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
#include "SND_WaveSlot.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SND_WaveSlot::~SND_WaveSlot()
{
* 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
* ***** 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>
* ***** 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)
{
*/
#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)
#include "IMG_CanvasRGBA32.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
IMG_CanvasRGBA32::IMG_CanvasRGBA32(TUns32 width, TUns32 height)
: IMG_PixmapRGBA32(width, height)
*/
#include "IMG_Line.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_Pixmap.h"
-
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
IMG_Pixmap::IMG_Pixmap()
{
IMG_Pixmap::~IMG_Pixmap()
{
-}
\ No newline at end of file
+}
#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)
#include "IMG_Rect.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
TVisibility IMG_Rect::getVisibility(IMG_Rect& r) const
{
* ***** 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)
#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) )
/* ------------------------------------------------------------------------- */
*/
#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;
* Blender's Ketsji startpoint
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
// don't show stl-warnings
#pragma warning (disable:4786)
*/
#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)
#include "KX_BlenderGL.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/*
* This little block needed for linking to Blender...
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "KX_BlenderInputDevice.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
// annoying warnings about truncated STL debug info
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
// annoying warnings about truncated STL debug info
* ***** 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,
#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>
#include "KX_ISystem.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
#pragma warning (disable :4786)
#include "MT_Matrix4x4.h"
#include "BKE_utildefines.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
BL_ActionActuator::~BL_ActionActuator()
{
if (m_pose) {
#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);
* Convert blender data to ketsji
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif
#include "BL_DeformableGameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
BL_DeformableGameObject::~BL_DeformableGameObject()
{
if (m_pDeformer)
* 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.
m_tvtot = m_bmesh->totvert;
}
}
-
\ No newline at end of file
+
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
* 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
#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"
* ***** 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);
* ***** 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
* Convert Blender actuators for use in the GameEngine
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
#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"
#include "KX_ConvertProperties.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* This little block needed for linking to Blender... */
#ifdef WIN32
* 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
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
// don't show stl-warnings
*
*/
-
-
#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
*
*/
-
-
#include "Value.h" // for precompiled header
-
#include "ConstExpr.h"
#include "VectorValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
#include "ErrorValue.h"
#include "InputParser.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
EXP_ValueHandle EXP_CreateInt(int innie)
{
*
*/
-
-
-
#include "EmptyValue.h"
#include "IntValue.h"
#include "FloatValue.h"
#include "ListValue.h"
#include "VoidValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
*
*/
-
-
-
-
-
#include "ErrorValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
assertd(false);
return NULL;
-}
\ No newline at end of file
+}
*
*/
-
-
#include "Expression.h"
#include "ErrorValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
*
*/
-
#include "FloatValue.h"
#include "IntValue.h"
#include "StringValue.h"
#include "ErrorValue.h"
#include "VoidValue.h"
-///#include "..\..\menuvalue.h"
-//#include "FactoryManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
#include "IdentifierExpr.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context)
:m_identifier(identifier)
void CIdentifierExpr::BroadcastOperators(VALUE_OPERATOR op)
{
assertd(false); // not implemented yet
-}
\ No newline at end of file
+}
#include "EmptyValue.h"
#include "ErrorValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
unsigned char CIfExpr::GetExpressionID()
{
return CIFEXPRESSIONID;
-}
\ No newline at end of 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...
*
*/
-
#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
PyObject* CIntValue::ConvertValueToPython()
{
return PyInt_FromLong(m_int);
-}
\ No newline at end of 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;
*
*/
-
#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());
bmod = bmod || GetValue(i)->IsModified();
return bmod;
-}
\ No newline at end of file
+}
*/
#include "Operator1Expr.h"
-//#include "FactoryManager.h"
#include "EmptyValue.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
// 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
//////////////////////////////////////////////////////////////////////
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef NO_EXP_PYTHON_EMBEDDING
/*------------------------------
*
*/
-
#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
*
*/
-
#include "Value.h"
#include "FloatValue.h"
#include "IntValue.h"
#include "ErrorValue.h"
#include "ListValue.h"
-//#include "FactoryManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786)
#endif
#include "SCA_LogicManager.h"
#include "BoolValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#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),
* ***** 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.
* ***** 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)
* ***** 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 */
/* ------------------------------------------------------------------------- */
#include "SCA_IActuator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
using namespace std;
*/
#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)
:
*/
#include <iostream.h>
-
#include "SCA_IInputDevice.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_IInputDevice::SCA_IInputDevice()
:
#include "SCA_ILogicBrick.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_LogicManager* SCA_ILogicBrick::m_sCurrentLogicManager = NULL;
* ***** 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)
#include "SCA_IScene.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_IScene::SCA_IScene()
{
#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);
#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),
#include "StringValue.h"
#include "SCA_IInputDevice.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
*/
#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()
{
}
* ***** 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.
#include "ConstExpr.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#include "SCA_LogicManager.h"
#include "BoolValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#include "SCA_PropertyActuator.h"
#include "InputParser.h"
-
#include "Operator2Expr.h"
#include "ConstExpr.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
*/
#include "SCA_ISensor.h"
-
#include "SCA_PropertyEventManager.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_PropertyEventManager::SCA_PropertyEventManager(class SCA_LogicManager* logicmgr)
#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,
#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;
#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 */
/* ------------------------------------------------------------------------- */
#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)
#include <limits.h>
#include "SCA_RandomNumberGenerator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* Period parameters */
#define N 624
#define M 397
#include "ConstExpr.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
* ***** 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.
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
#endif
*
* ***** 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
#include <iostream.h>
#include "GPC_KeyboardDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/**
* NextFrame toggles currentTable with previousTable,
#include "GPC_MouseDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
GPC_MouseDevice::GPC_MouseDevice()
{
* ***** 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 */
#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)
// 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)
{
// 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)
{
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
#pragma warning (disable : 4786)
#include "GPC_KeyboardDevice.h"
#include "NG_NetworkDeviceInterface.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
GPC_System::GPC_System()
// : m_ndi(0)
{
return m_ndi;
}
-*/
\ No newline at end of file
+*/
#include "BKE_bmfont.h"
#include "BKE_bmfont_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/*MAART:
void printfGlyph(bmGlyph * glyph)
{
*/
//#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)
{
#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"
#include "GPC_RenderTools.h"
#include "GPC_RawImage.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void Redraw(GPU_Engine *engine); // -the- redraw function
#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);
*/
#include <sys/time.h>
-
#include "GPU_System.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
static struct timeval startTime;
static int startTimeDone = 0;
#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)
{
#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) :
#include "GPW_KeyboardDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// Key code values not found in winuser.h
#ifndef VK_MINUS
*/
#include <windows.h>
-
#include "GPW_System.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
GPW_System::GPW_System(void)
{
* 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
*/
#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)
* GHOST Blender Player keyboard device implementation.
*/
-
#include "GPG_KeyboardDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
GPG_KeyboardDevice::GPG_KeyboardDevice(void)
{
*/
#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)
#include <iostream>
#include <math.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __linux__
#ifdef __alpha__
#include <signal.h>
#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)
#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
#include "ListValue.h"
#include "StringValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef NAN_NET_DEBUG
#include <iostream>
#endif
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "SND_Scene.h" // needed for replication
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
PyObject* result = PyFloat_FromDouble(gain);
return result;
-}
\ No newline at end of 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)
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 */
*/
#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)
{
#include "MT_Point3.h"
#include "MT_Matrix3x3.h"
#include "KX_GameObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
* ***** 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,
#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"
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "KX_EmptyObject.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KX_Scene.h"
#include "KX_KetsjiEngine.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
* 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.
* 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.
*/
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_IPhysicsController::KX_IPhysicsController(bool dyna,void* userdata)
#include "KX_IpoActuator.h"
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Type strings */
* ***** 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
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
*/
#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)
{
*/
#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)
#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)
{
* 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"
/* ------------------------------------------------------------------------- */
#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
*/
#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)
{
#include "KX_GameObject.h"
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
#include "KX_GameObject.h"
#include "KX_MotionState.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_OdePhysicsController::KX_OdePhysicsController(
bool dyna,
*/
#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),
#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)
*/
#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),
#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!
* Initialize Python thingies.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
*/
#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.
*/
#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++)
#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,
#include "KX_GameObject.h"
#include "KX_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#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):
// Please look here for revision history.
-
#include "KX_SCA_ReplaceMeshActuator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Python functions */
/* ------------------------------------------------------------------------- */
#include "KX_SG_NodeRelationships.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/**
* Implementation of classes defined in KX_SG_NodeRelationships.h
*/
#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);
}
*/
#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),
* Ketsji scene. Holds references to all scene data.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable : 4786)
#endif //WIN32
#include "KX_Camera.h"
#include "KX_KetsjiEngine.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#include "SND_Scene.h" // needed for replication
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
#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)
{
#include "KX_TimeCategoryLogger.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_TimeCategoryLogger::KX_TimeCategoryLogger(unsigned int maxNumMeasurements)
: m_maxNumMeasurements(maxNumMeasurements)
#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)
*/
#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,
#include "KX_TouchEventManager.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef PHYSICS_NOT_YET
/* ------------------------------------------------------------------------- */
#include <iostream>
#include "KX_GameObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
*/
#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)
#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,
#include "KX_WorldInfo.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
KX_WorldInfo::~KX_WorldInfo()
{
*/
#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)
#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>
#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(
*/
#include "NG_NetworkObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
NG_NetworkObject::NG_NetworkObject()
{
}
#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;
#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);
#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.
#include <../ode/src/joint.h>
#include <ode/odemath.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
ODEPhysicsEnvironment::ODEPhysicsEnvironment()
{
#include "DummyPhysicsEnvironment.h"
#include "PHY_IMotionState.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
DummyPhysicsEnvironment::DummyPhysicsEnvironment()
{
#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;
#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;
#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,
* 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.
* 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
#include "SM_Object.h"
#include "MT_Quaternion.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SumoPhysicsController::SumoPhysicsController(
class SM_Scene* sumoScene,
#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 ?)
*/
#include "PHY_IMotionState.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
PHY_IMotionState::~PHY_IMotionState()
{
*/
#include "PHY_IPhysicsController.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
PHY_IPhysicsController::~PHY_IPhysicsController()
{
#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
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
// don't show these anoying STL warnings
*/
#include "RAS_FramingManager.h"
-
#include "RAS_Rect.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void
RAS_FramingManager::
ComputeDefaultFrustum(
#include "RAS_IPolygonMaterial.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
RAS_IPolyMaterial::RAS_IPolyMaterial(const STR_String& texname,
bool ba,
#include "RAS_IRenderTools.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void RAS_IRenderTools::SetViewMat(const MT_Transform& trans)
{
* ***** 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>
*/
#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 = "";
*/
#include "RAS_CheckVertexArrays.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
#endif // WIN32
#include "RAS_OpenGLRasterizer.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
#endif // WIN32
-#ifdef WIN32
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#ifdef WIN32
#include "RAS_VAOpenGLRasterizer.h"
-
-
#include <windows.h>
#include "GL/gl.h"
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786)
#include "RAS_TexVert.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
RAS_TexVert::RAS_TexVert(const MT_Point3& xyz,
const MT_Point2& uv,
* ***** 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)
{
#include "SG_Controller.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void
SG_Controller::
*/
#include "SG_IObject.h"
-
#include "SG_Controller.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SG_IObject::
SG_IObject(
void* clientobj,
*/
#include "SG_Node.h"
-
#include "SG_ParentRelation.h"
-
#include <algorithm>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
using namespace std;
#include "SG_Controller.h"
#include "SG_ParentRelation.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
SG_Spatial::
SG_Spatial(
void* clientobj,
*/
#include "GEN_HashedPtr.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
unsigned int GEN_Hash(unsigned int inDWord)
{
unsigned int key = inDWord;
#include "GEN_Matrix4x4.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
GEN_Matrix4x4::GEN_Matrix4x4()
{
#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()
#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();