Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Expressions')
-rw-r--r--source/gameengine/Expressions/BoolValue.h4
-rw-r--r--source/gameengine/Expressions/ConstExpr.h4
-rw-r--r--source/gameengine/Expressions/EXP_C-Api.h3
-rw-r--r--source/gameengine/Expressions/EmptyValue.h4
-rw-r--r--source/gameengine/Expressions/ErrorValue.h4
-rw-r--r--source/gameengine/Expressions/Expression.h4
-rw-r--r--source/gameengine/Expressions/FloatValue.h3
-rw-r--r--source/gameengine/Expressions/IdentifierExpr.h4
-rw-r--r--source/gameengine/Expressions/IfExpr.h4
-rw-r--r--source/gameengine/Expressions/InputParser.h4
-rw-r--r--source/gameengine/Expressions/IntValue.h3
-rw-r--r--source/gameengine/Expressions/KX_HashedPtr.h4
-rw-r--r--source/gameengine/Expressions/KX_Python.h4
-rw-r--r--source/gameengine/Expressions/KX_Python_dynamic.h4
-rw-r--r--source/gameengine/Expressions/KX_Python_static.h4
-rw-r--r--source/gameengine/Expressions/ListValue.h3
-rw-r--r--source/gameengine/Expressions/Operator1Expr.h6
-rw-r--r--source/gameengine/Expressions/Operator2Expr.h4
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.h5
-rw-r--r--source/gameengine/Expressions/StringValue.h4
-rw-r--r--source/gameengine/Expressions/Value.h4
-rw-r--r--source/gameengine/Expressions/VectorValue.h3
-rw-r--r--source/gameengine/Expressions/VoidValue.h4
23 files changed, 88 insertions, 2 deletions
diff --git a/source/gameengine/Expressions/BoolValue.h b/source/gameengine/Expressions/BoolValue.h
index 6c4d964249f..78c55f0c924 100644
--- a/source/gameengine/Expressions/BoolValue.h
+++ b/source/gameengine/Expressions/BoolValue.h
@@ -17,6 +17,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* Smart Boolean Value class.
* Is used by parser when an expression tree is build containing booleans.
diff --git a/source/gameengine/Expressions/ConstExpr.h b/source/gameengine/Expressions/ConstExpr.h
index e27ece52a83..dbc0e33436d 100644
--- a/source/gameengine/Expressions/ConstExpr.h
+++ b/source/gameengine/Expressions/ConstExpr.h
@@ -19,6 +19,10 @@
#include "Expression.h"
#include "Value.h" // Added by ClassView
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CConstExpr : public CExpression
{
//PLUGIN_DECLARE_SERIAL_EXPRESSION (CConstExpr,CExpression)
diff --git a/source/gameengine/Expressions/EXP_C-Api.h b/source/gameengine/Expressions/EXP_C-Api.h
index 48167a7bf44..05d66d64ddf 100644
--- a/source/gameengine/Expressions/EXP_C-Api.h
+++ b/source/gameengine/Expressions/EXP_C-Api.h
@@ -32,6 +32,9 @@
#ifndef __EXPRESSION_INCLUDE
#define __EXPRESSION_INCLUDE
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define EXP_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
diff --git a/source/gameengine/Expressions/EmptyValue.h b/source/gameengine/Expressions/EmptyValue.h
index b9cca0e57e5..2cde0a96d3f 100644
--- a/source/gameengine/Expressions/EmptyValue.h
+++ b/source/gameengine/Expressions/EmptyValue.h
@@ -17,6 +17,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CListValue;
class CEmptyValue : public CPropValue
diff --git a/source/gameengine/Expressions/ErrorValue.h b/source/gameengine/Expressions/ErrorValue.h
index 16e608ca01a..f962f1071cc 100644
--- a/source/gameengine/Expressions/ErrorValue.h
+++ b/source/gameengine/Expressions/ErrorValue.h
@@ -18,6 +18,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CErrorValue : public CPropValue
{
diff --git a/source/gameengine/Expressions/Expression.h b/source/gameengine/Expressions/Expression.h
index 10659dca875..6d87d32eb40 100644
--- a/source/gameengine/Expressions/Expression.h
+++ b/source/gameengine/Expressions/Expression.h
@@ -18,6 +18,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//extern int gRefCountExpr; // only for debugging purposes (detect mem.leaks)
diff --git a/source/gameengine/Expressions/FloatValue.h b/source/gameengine/Expressions/FloatValue.h
index 9a1a1d4ed2b..b0001189066 100644
--- a/source/gameengine/Expressions/FloatValue.h
+++ b/source/gameengine/Expressions/FloatValue.h
@@ -17,6 +17,9 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class CFloatValue : public CPropValue
{
diff --git a/source/gameengine/Expressions/IdentifierExpr.h b/source/gameengine/Expressions/IdentifierExpr.h
index dbffe7c02bc..7a1aaf9b8d2 100644
--- a/source/gameengine/Expressions/IdentifierExpr.h
+++ b/source/gameengine/Expressions/IdentifierExpr.h
@@ -34,6 +34,10 @@
#include "Expression.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CIdentifierExpr : public CExpression
{
CValue* m_idContext;
diff --git a/source/gameengine/Expressions/IfExpr.h b/source/gameengine/Expressions/IfExpr.h
index 9ab13dca413..7a39282de6e 100644
--- a/source/gameengine/Expressions/IfExpr.h
+++ b/source/gameengine/Expressions/IfExpr.h
@@ -21,6 +21,10 @@
#include "Expression.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CIfExpr : public CExpression
{
//PLUGIN_DECLARE_SERIAL_EXPRESSION (CIfExpr,CExpression)
diff --git a/source/gameengine/Expressions/InputParser.h b/source/gameengine/Expressions/InputParser.h
index 4caa47cbb0c..a1ea820c5a4 100644
--- a/source/gameengine/Expressions/InputParser.h
+++ b/source/gameengine/Expressions/InputParser.h
@@ -17,6 +17,10 @@
#ifndef __INPUTPARSER_H__
#define __INPUTPARSER_H__
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CParser;
#include "Expression.h"
diff --git a/source/gameengine/Expressions/IntValue.h b/source/gameengine/Expressions/IntValue.h
index 2361de8b0a9..8a1074f0540 100644
--- a/source/gameengine/Expressions/IntValue.h
+++ b/source/gameengine/Expressions/IntValue.h
@@ -18,6 +18,9 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class CIntValue : public CPropValue
{
diff --git a/source/gameengine/Expressions/KX_HashedPtr.h b/source/gameengine/Expressions/KX_HashedPtr.h
index e96f0217039..fbfbfb12455 100644
--- a/source/gameengine/Expressions/KX_HashedPtr.h
+++ b/source/gameengine/Expressions/KX_HashedPtr.h
@@ -32,6 +32,10 @@
#ifndef __KX_HASHEDPTR
#define __KX_HASHEDPTR
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
unsigned int KX_Hash(unsigned int inDWord);
diff --git a/source/gameengine/Expressions/KX_Python.h b/source/gameengine/Expressions/KX_Python.h
index 6ba31796e4f..11dafcde3ce 100644
--- a/source/gameengine/Expressions/KX_Python.h
+++ b/source/gameengine/Expressions/KX_Python.h
@@ -32,6 +32,10 @@
#ifndef KX_PYTHON_H
#define KX_PYTHON_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//#define USE_DL_EXPORT
#include "Python.h"
diff --git a/source/gameengine/Expressions/KX_Python_dynamic.h b/source/gameengine/Expressions/KX_Python_dynamic.h
index 6ba31796e4f..11dafcde3ce 100644
--- a/source/gameengine/Expressions/KX_Python_dynamic.h
+++ b/source/gameengine/Expressions/KX_Python_dynamic.h
@@ -32,6 +32,10 @@
#ifndef KX_PYTHON_H
#define KX_PYTHON_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//#define USE_DL_EXPORT
#include "Python.h"
diff --git a/source/gameengine/Expressions/KX_Python_static.h b/source/gameengine/Expressions/KX_Python_static.h
index 1a9682c8ef4..967dc01d6fd 100644
--- a/source/gameengine/Expressions/KX_Python_static.h
+++ b/source/gameengine/Expressions/KX_Python_static.h
@@ -32,6 +32,10 @@
#ifndef KX_PYTHON_H
#define KX_PYTHON_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define USE_DL_EXPORT
#include "Python.h"
diff --git a/source/gameengine/Expressions/ListValue.h b/source/gameengine/Expressions/ListValue.h
index 337d59e96ac..4a18abece8c 100644
--- a/source/gameengine/Expressions/ListValue.h
+++ b/source/gameengine/Expressions/ListValue.h
@@ -16,6 +16,9 @@
#if !defined _LISTVALUE_H
#define _LISTVALUE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Value.h"
diff --git a/source/gameengine/Expressions/Operator1Expr.h b/source/gameengine/Expressions/Operator1Expr.h
index 96b328dd504..a986cc9f0c1 100644
--- a/source/gameengine/Expressions/Operator1Expr.h
+++ b/source/gameengine/Expressions/Operator1Expr.h
@@ -16,10 +16,12 @@
#if !defined(AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_)
#define AFX_OPERATOR1EXPR_H__A1653901_BF41_11D1_A51C_00A02472FC58__INCLUDED_
-
-
#include "Expression.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class COperator1Expr : public CExpression
{
//PLUGIN_DECLARE_SERIAL_EXPRESSION (COperator1Expr,CExpression)
diff --git a/source/gameengine/Expressions/Operator2Expr.h b/source/gameengine/Expressions/Operator2Expr.h
index 1d1c4d09f22..40fd9edf337 100644
--- a/source/gameengine/Expressions/Operator2Expr.h
+++ b/source/gameengine/Expressions/Operator2Expr.h
@@ -20,6 +20,10 @@
#include "Expression.h"
#include "Value.h" // Added by ClassView
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class COperator2Expr : public CExpression
{
diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h
index e88ea2b255a..a62919ed5ad 100644
--- a/source/gameengine/Expressions/PyObjectPlus.h
+++ b/source/gameengine/Expressions/PyObjectPlus.h
@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef NO_EXP_PYTHON_EMBEDDING
#ifndef _adr_py_lib_h_ // only process once,
diff --git a/source/gameengine/Expressions/StringValue.h b/source/gameengine/Expressions/StringValue.h
index b824d4ef86d..7cd524f0d8e 100644
--- a/source/gameengine/Expressions/StringValue.h
+++ b/source/gameengine/Expressions/StringValue.h
@@ -18,6 +18,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class CStringValue : public CPropValue
{
diff --git a/source/gameengine/Expressions/Value.h b/source/gameengine/Expressions/Value.h
index 5b3ad8ffa52..73e7d00dca0 100644
--- a/source/gameengine/Expressions/Value.h
+++ b/source/gameengine/Expressions/Value.h
@@ -13,6 +13,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786)
#endif //WIN32
diff --git a/source/gameengine/Expressions/VectorValue.h b/source/gameengine/Expressions/VectorValue.h
index 8ed671721a3..df8d16932fb 100644
--- a/source/gameengine/Expressions/VectorValue.h
+++ b/source/gameengine/Expressions/VectorValue.h
@@ -15,6 +15,9 @@
#if !defined _VECTORVALUE_H
#define _VECTORVALUE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Value.h"
diff --git a/source/gameengine/Expressions/VoidValue.h b/source/gameengine/Expressions/VoidValue.h
index 68a3270792c..ca1dc09e179 100644
--- a/source/gameengine/Expressions/VoidValue.h
+++ b/source/gameengine/Expressions/VoidValue.h
@@ -35,6 +35,10 @@
#include "Value.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//
// Void value, used to transport *any* type of data