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:
authorKent Mein <mein@cs.umn.edu>2002-11-25 18:29:57 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-25 18:29:57 +0300
commit209a2ede2cdeade0d543969e7b2ff62fee84b43e (patch)
tree28484297290b14033587b3704535db4a0bb06c71 /source/gameengine/Expressions
parentd0e346d544cd3abb0007a68137b31923020f7aeb (diff)
Last of the config.h mods...
#ifdef HAVE_CONFIG_H #include <config.h> #endif added to these files. Kent -- mein@cs.umn.edu
Diffstat (limited to 'source/gameengine/Expressions')
-rw-r--r--source/gameengine/Expressions/BoolValue.cpp7
-rw-r--r--source/gameengine/Expressions/ConstExpr.cpp6
-rw-r--r--source/gameengine/Expressions/EXP_C-Api.cpp3
-rw-r--r--source/gameengine/Expressions/EmptyValue.cpp6
-rw-r--r--source/gameengine/Expressions/ErrorValue.cpp10
-rw-r--r--source/gameengine/Expressions/Expression.cpp7
-rw-r--r--source/gameengine/Expressions/FloatValue.cpp6
-rw-r--r--source/gameengine/Expressions/IdentifierExpr.cpp5
-rw-r--r--source/gameengine/Expressions/IfExpr.cpp5
-rw-r--r--source/gameengine/Expressions/InputParser.cpp4
-rw-r--r--source/gameengine/Expressions/IntValue.cpp8
-rw-r--r--source/gameengine/Expressions/KX_HashedPtr.cpp5
-rw-r--r--source/gameengine/Expressions/ListValue.cpp7
-rw-r--r--source/gameengine/Expressions/Operator1Expr.cpp6
-rw-r--r--source/gameengine/Expressions/Operator2Expr.cpp8
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.cpp4
-rw-r--r--source/gameengine/Expressions/StringValue.cpp5
-rw-r--r--source/gameengine/Expressions/Value.cpp5
-rw-r--r--source/gameengine/Expressions/VectorValue.cpp4
19 files changed, 74 insertions, 37 deletions
diff --git a/source/gameengine/Expressions/BoolValue.cpp b/source/gameengine/Expressions/BoolValue.cpp
index 544b760f4e9..cadb34d7e8f 100644
--- a/source/gameengine/Expressions/BoolValue.cpp
+++ b/source/gameengine/Expressions/BoolValue.cpp
@@ -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
diff --git a/source/gameengine/Expressions/ConstExpr.cpp b/source/gameengine/Expressions/ConstExpr.cpp
index c8b4c311b7c..e33ba091ac4 100644
--- a/source/gameengine/Expressions/ConstExpr.cpp
+++ b/source/gameengine/Expressions/ConstExpr.cpp
@@ -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
diff --git a/source/gameengine/Expressions/EXP_C-Api.cpp b/source/gameengine/Expressions/EXP_C-Api.cpp
index 4d45fd556eb..c5576e99e7d 100644
--- a/source/gameengine/Expressions/EXP_C-Api.cpp
+++ b/source/gameengine/Expressions/EXP_C-Api.cpp
@@ -36,6 +36,9 @@
#include "ErrorValue.h"
#include "InputParser.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
EXP_ValueHandle EXP_CreateInt(int innie)
{
diff --git a/source/gameengine/Expressions/EmptyValue.cpp b/source/gameengine/Expressions/EmptyValue.cpp
index 25c0b6af5d7..c2b60e590a4 100644
--- a/source/gameengine/Expressions/EmptyValue.cpp
+++ b/source/gameengine/Expressions/EmptyValue.cpp
@@ -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
diff --git a/source/gameengine/Expressions/ErrorValue.cpp b/source/gameengine/Expressions/ErrorValue.cpp
index fd1ba7399b3..e52be4c8021 100644
--- a/source/gameengine/Expressions/ErrorValue.cpp
+++ b/source/gameengine/Expressions/ErrorValue.cpp
@@ -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;
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Expressions/Expression.cpp b/source/gameengine/Expressions/Expression.cpp
index 5e7950fbcf0..5c5e1abea34 100644
--- a/source/gameengine/Expressions/Expression.cpp
+++ b/source/gameengine/Expressions/Expression.cpp
@@ -12,11 +12,12 @@
*
*/
-
-
#include "Expression.h"
#include "ErrorValue.h"
-//#include "FactoryManager.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
diff --git a/source/gameengine/Expressions/FloatValue.cpp b/source/gameengine/Expressions/FloatValue.cpp
index 78185bbe163..93f102d04a6 100644
--- a/source/gameengine/Expressions/FloatValue.cpp
+++ b/source/gameengine/Expressions/FloatValue.cpp
@@ -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
diff --git a/source/gameengine/Expressions/IdentifierExpr.cpp b/source/gameengine/Expressions/IdentifierExpr.cpp
index ff517aa7636..cd7a9b0f186 100644
--- a/source/gameengine/Expressions/IdentifierExpr.cpp
+++ b/source/gameengine/Expressions/IdentifierExpr.cpp
@@ -31,6 +31,9 @@
#include "IdentifierExpr.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context)
:m_identifier(identifier)
@@ -100,4 +103,4 @@ void CIdentifierExpr::ClearModified()
void CIdentifierExpr::BroadcastOperators(VALUE_OPERATOR op)
{
assertd(false); // not implemented yet
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Expressions/IfExpr.cpp b/source/gameengine/Expressions/IfExpr.cpp
index bcb365b87cc..5d3eb3641ca 100644
--- a/source/gameengine/Expressions/IfExpr.cpp
+++ b/source/gameengine/Expressions/IfExpr.cpp
@@ -16,6 +16,9 @@
#include "EmptyValue.h"
#include "ErrorValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -138,4 +141,4 @@ void CIfExpr::BroadcastOperators(VALUE_OPERATOR op)
unsigned char CIfExpr::GetExpressionID()
{
return CIFEXPRESSIONID;
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Expressions/InputParser.cpp b/source/gameengine/Expressions/InputParser.cpp
index efb5e277737..090c95e3c07 100644
--- a/source/gameengine/Expressions/InputParser.cpp
+++ b/source/gameengine/Expressions/InputParser.cpp
@@ -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...
diff --git a/source/gameengine/Expressions/IntValue.cpp b/source/gameengine/Expressions/IntValue.cpp
index 591fe76cd48..fbf4f4f59e0 100644
--- a/source/gameengine/Expressions/IntValue.cpp
+++ b/source/gameengine/Expressions/IntValue.cpp
@@ -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);
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Expressions/KX_HashedPtr.cpp b/source/gameengine/Expressions/KX_HashedPtr.cpp
index 7d573ebc37d..d01ff1626d7 100644
--- a/source/gameengine/Expressions/KX_HashedPtr.cpp
+++ b/source/gameengine/Expressions/KX_HashedPtr.cpp
@@ -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;
diff --git a/source/gameengine/Expressions/ListValue.cpp b/source/gameengine/Expressions/ListValue.cpp
index 25723350f36..673dda5db2d 100644
--- a/source/gameengine/Expressions/ListValue.cpp
+++ b/source/gameengine/Expressions/ListValue.cpp
@@ -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;
-} \ No newline at end of file
+}
diff --git a/source/gameengine/Expressions/Operator1Expr.cpp b/source/gameengine/Expressions/Operator1Expr.cpp
index 91a3a02aabe..85b3c669802 100644
--- a/source/gameengine/Expressions/Operator1Expr.cpp
+++ b/source/gameengine/Expressions/Operator1Expr.cpp
@@ -13,8 +13,12 @@
*/
#include "Operator1Expr.h"
-//#include "FactoryManager.h"
#include "EmptyValue.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
diff --git a/source/gameengine/Expressions/Operator2Expr.cpp b/source/gameengine/Expressions/Operator2Expr.cpp
index 33223b2ae3d..2bd3f074b0b 100644
--- a/source/gameengine/Expressions/Operator2Expr.cpp
+++ b/source/gameengine/Expressions/Operator2Expr.cpp
@@ -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
//////////////////////////////////////////////////////////////////////
diff --git a/source/gameengine/Expressions/PyObjectPlus.cpp b/source/gameengine/Expressions/PyObjectPlus.cpp
index 7b93b1d4daa..f9801fe0f60 100644
--- a/source/gameengine/Expressions/PyObjectPlus.cpp
+++ b/source/gameengine/Expressions/PyObjectPlus.cpp
@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef NO_EXP_PYTHON_EMBEDDING
/*------------------------------
diff --git a/source/gameengine/Expressions/StringValue.cpp b/source/gameengine/Expressions/StringValue.cpp
index 7bdb841e1e4..1ef8c5629a0 100644
--- a/source/gameengine/Expressions/StringValue.cpp
+++ b/source/gameengine/Expressions/StringValue.cpp
@@ -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
diff --git a/source/gameengine/Expressions/Value.cpp b/source/gameengine/Expressions/Value.cpp
index e2a7189fb02..97b4f3951b3 100644
--- a/source/gameengine/Expressions/Value.cpp
+++ b/source/gameengine/Expressions/Value.cpp
@@ -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
diff --git a/source/gameengine/Expressions/VectorValue.cpp b/source/gameengine/Expressions/VectorValue.cpp
index 6aa7926bfa7..bea6902eba8 100644
--- a/source/gameengine/Expressions/VectorValue.cpp
+++ b/source/gameengine/Expressions/VectorValue.cpp
@@ -12,6 +12,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786)
#endif