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

@@ -30,10 +30,12 @@
* ***** 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)
{

View File

@@ -30,10 +30,11 @@
*/
#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)

View 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)

View File

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

View 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()
{
}
}

View 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)

View 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
{

View File

@@ -30,11 +30,13 @@
* ***** 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)

View File

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

View File

@@ -31,8 +31,6 @@
*/
#include <assert.h>
//#include <iostream.h>
#include "render.h"
#include "render_intern.h"
#include "shadbuf.h"
@@ -41,6 +39,10 @@
#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;

View File

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

View File

@@ -30,10 +30,11 @@
*/
#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)

View 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...

View File

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

View 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

View 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

View File

@@ -29,10 +29,13 @@
* ***** 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,

View File

@@ -31,6 +31,10 @@
#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>

View File

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

View File

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

View File

@@ -40,6 +40,10 @@
#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);

View File

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

View File

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

View File

@@ -31,6 +31,10 @@
* 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;
}
}

View File

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

View File

@@ -31,6 +31,10 @@
* 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

View File

@@ -31,10 +31,13 @@
#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"

View File

@@ -29,9 +29,12 @@
* ***** 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);

View File

@@ -29,6 +29,10 @@
* ***** 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

View File

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

View File

@@ -31,7 +31,6 @@
#include "MEM_guardedalloc.h"
#include "KX_BlenderSceneConverter.h"
#include "KX_ConvertControllers.h"
#include "KX_Python.h"
@@ -46,6 +45,10 @@
#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"

View 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

View File

@@ -31,6 +31,10 @@
* 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

View File

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

View File

@@ -13,13 +13,14 @@
*
*/
#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

View File

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

View 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)
{

View 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

View File

@@ -12,13 +12,11 @@
*
*/
#include "ErrorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -122,4 +120,4 @@ CValue* CErrorValue::GetReplica()
assertd(false);
return NULL;
}
}

View File

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

View 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

View 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
}
}

View 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;
}
}

View File

@@ -27,6 +27,10 @@
#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...

View File

@@ -12,14 +12,16 @@
*
*/
#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);
}
}

View File

@@ -29,9 +29,12 @@
* ***** 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;

View File

@@ -14,12 +14,15 @@
*
*/
#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;
}
}

View File

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

View File

@@ -16,12 +16,14 @@
// 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
//////////////////////////////////////////////////////////////////////

View File

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

View File

@@ -12,13 +12,14 @@
*
*/
#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

View 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

View File

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

View File

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

View File

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

View File

@@ -32,6 +32,10 @@
* ***** 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.

View File

@@ -29,10 +29,11 @@
* ***** 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)

View File

@@ -32,15 +32,18 @@
* ***** 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 */
/* ------------------------------------------------------------------------- */

View File

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

View File

@@ -30,10 +30,13 @@
*/
#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)
:

View File

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

View File

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

View File

@@ -29,15 +29,18 @@
* ***** 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)

View File

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

View File

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

View File

@@ -39,6 +39,10 @@
#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),

View File

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

View File

@@ -32,14 +32,16 @@
*/
#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()
{
}

View File

@@ -33,6 +33,10 @@
* ***** 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.

View File

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

View File

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

View File

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

View File

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

View File

@@ -41,6 +41,10 @@
#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,

View 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;

View File

@@ -38,8 +38,12 @@
#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 */
/* ------------------------------------------------------------------------- */

View 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)

View File

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

View File

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

View File

@@ -29,6 +29,10 @@
* ***** 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.

View File

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

View File

@@ -29,6 +29,11 @@
*
* ***** 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

View 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,

View File

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

View File

@@ -30,10 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#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 */

View File

@@ -34,9 +34,12 @@
#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)

View File

@@ -31,10 +31,11 @@
// 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)
{

View File

@@ -31,10 +31,11 @@
// 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)
{

View 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)

View 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;
}
*/
*/

View File

@@ -61,6 +61,10 @@
#include "BKE_bmfont.h"
#include "BKE_bmfont_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*MAART:
void printfGlyph(bmGlyph * glyph)
{

View File

@@ -31,9 +31,12 @@
*/
//#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)
{

View File

@@ -32,11 +32,8 @@
#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

View File

@@ -32,6 +32,10 @@
#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);

View File

@@ -31,9 +31,11 @@
*/
#include <sys/time.h>
#include "GPU_System.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static struct timeval startTime;
static int startTimeDone = 0;

View File

@@ -32,6 +32,10 @@
#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)
{

View 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) :

View 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

View File

@@ -32,9 +32,11 @@
*/
#include <windows.h>
#include "GPW_System.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPW_System::GPW_System(void)
{

View File

@@ -31,6 +31,10 @@
* 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

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