diff options
Diffstat (limited to 'source/gameengine/Expressions')
23 files changed, 1 insertions, 107 deletions
diff --git a/source/gameengine/Expressions/BoolValue.h b/source/gameengine/Expressions/BoolValue.h index 78c55f0c924..6c4d964249f 100644 --- a/source/gameengine/Expressions/BoolValue.h +++ b/source/gameengine/Expressions/BoolValue.h @@ -17,10 +17,6 @@ #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 dbc0e33436d..e27ece52a83 100644 --- a/source/gameengine/Expressions/ConstExpr.h +++ b/source/gameengine/Expressions/ConstExpr.h @@ -19,10 +19,6 @@ #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 05d66d64ddf..e9ee526cd6e 100644 --- a/source/gameengine/Expressions/EXP_C-Api.h +++ b/source/gameengine/Expressions/EXP_C-Api.h @@ -32,10 +32,6 @@ #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 EXP_DECLARE_HANDLE(EXP_ValueHandle); diff --git a/source/gameengine/Expressions/EmptyValue.h b/source/gameengine/Expressions/EmptyValue.h index 2cde0a96d3f..b9cca0e57e5 100644 --- a/source/gameengine/Expressions/EmptyValue.h +++ b/source/gameengine/Expressions/EmptyValue.h @@ -17,10 +17,6 @@ #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 f962f1071cc..16e608ca01a 100644 --- a/source/gameengine/Expressions/ErrorValue.h +++ b/source/gameengine/Expressions/ErrorValue.h @@ -18,10 +18,6 @@ #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 6d87d32eb40..400a2b7c789 100644 --- a/source/gameengine/Expressions/Expression.h +++ b/source/gameengine/Expressions/Expression.h @@ -18,13 +18,7 @@ #include "Value.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -//extern int gRefCountExpr; // only for debugging purposes (detect mem.leaks) - - +//extern int gRefCountExpr; // only for debugging purposes (detect mem.leaks) #define PLUGIN_DECLARE_SERIAL_EXPRESSION(class_name,base_class_name) \ diff --git a/source/gameengine/Expressions/FloatValue.h b/source/gameengine/Expressions/FloatValue.h index b0001189066..33f05f1d7f2 100644 --- a/source/gameengine/Expressions/FloatValue.h +++ b/source/gameengine/Expressions/FloatValue.h @@ -17,10 +17,6 @@ #include "Value.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - class CFloatValue : public CPropValue { //PLUGIN_DECLARE_SERIAL (CFloatValue,CValue) diff --git a/source/gameengine/Expressions/IdentifierExpr.h b/source/gameengine/Expressions/IdentifierExpr.h index 7a1aaf9b8d2..dbffe7c02bc 100644 --- a/source/gameengine/Expressions/IdentifierExpr.h +++ b/source/gameengine/Expressions/IdentifierExpr.h @@ -34,10 +34,6 @@ #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 7a39282de6e..9ab13dca413 100644 --- a/source/gameengine/Expressions/IfExpr.h +++ b/source/gameengine/Expressions/IfExpr.h @@ -21,10 +21,6 @@ #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 a1ea820c5a4..4caa47cbb0c 100644 --- a/source/gameengine/Expressions/InputParser.h +++ b/source/gameengine/Expressions/InputParser.h @@ -17,10 +17,6 @@ #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 8a1074f0540..4fdc1089857 100644 --- a/source/gameengine/Expressions/IntValue.h +++ b/source/gameengine/Expressions/IntValue.h @@ -18,10 +18,6 @@ #include "Value.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - class CIntValue : public CPropValue { //PLUGIN_DECLARE_SERIAL (CIntValue,CValue) diff --git a/source/gameengine/Expressions/KX_HashedPtr.h b/source/gameengine/Expressions/KX_HashedPtr.h index fbfbfb12455..18d183c2ae8 100644 --- a/source/gameengine/Expressions/KX_HashedPtr.h +++ b/source/gameengine/Expressions/KX_HashedPtr.h @@ -32,13 +32,8 @@ #ifndef __KX_HASHEDPTR #define __KX_HASHEDPTR -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - unsigned int KX_Hash(unsigned int inDWord); - class CHashedPtr { void* m_valptr; diff --git a/source/gameengine/Expressions/KX_Python.h b/source/gameengine/Expressions/KX_Python.h index 11dafcde3ce..6ba31796e4f 100644 --- a/source/gameengine/Expressions/KX_Python.h +++ b/source/gameengine/Expressions/KX_Python.h @@ -32,10 +32,6 @@ #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 11dafcde3ce..6ba31796e4f 100644 --- a/source/gameengine/Expressions/KX_Python_dynamic.h +++ b/source/gameengine/Expressions/KX_Python_dynamic.h @@ -32,10 +32,6 @@ #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 967dc01d6fd..1a9682c8ef4 100644 --- a/source/gameengine/Expressions/KX_Python_static.h +++ b/source/gameengine/Expressions/KX_Python_static.h @@ -32,10 +32,6 @@ #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 4a18abece8c..10c64a13177 100644 --- a/source/gameengine/Expressions/ListValue.h +++ b/source/gameengine/Expressions/ListValue.h @@ -16,10 +16,6 @@ #if !defined _LISTVALUE_H #define _LISTVALUE_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "Value.h" class CListValue : public CPropValue diff --git a/source/gameengine/Expressions/Operator1Expr.h b/source/gameengine/Expressions/Operator1Expr.h index a986cc9f0c1..eeb8e2b0585 100644 --- a/source/gameengine/Expressions/Operator1Expr.h +++ b/source/gameengine/Expressions/Operator1Expr.h @@ -18,10 +18,6 @@ #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 40fd9edf337..4064890bbae 100644 --- a/source/gameengine/Expressions/Operator2Expr.h +++ b/source/gameengine/Expressions/Operator2Expr.h @@ -20,11 +20,6 @@ #include "Expression.h" #include "Value.h" // Added by ClassView -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - - class COperator2Expr : public CExpression { //PLUGIN_DECLARE_SERIAL_EXPRESSION (COperator2Expr,CExpression) diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index a62919ed5ad..40d8ffb5903 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -30,10 +30,6 @@ * ***** 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 7cd524f0d8e..b824d4ef86d 100644 --- a/source/gameengine/Expressions/StringValue.h +++ b/source/gameengine/Expressions/StringValue.h @@ -18,10 +18,6 @@ #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 73e7d00dca0..ba394814fa7 100644 --- a/source/gameengine/Expressions/Value.h +++ b/source/gameengine/Expressions/Value.h @@ -13,17 +13,11 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #ifdef WIN32 #pragma warning (disable:4786) #endif //WIN32 ///////////////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////////////// -//// //// Baseclass CValue //// Together with CExpression, CValue and it's derived classes can be used to //// parse expressions into a parsetree with error detecting/correcting capabilities @@ -41,7 +35,6 @@ //// Some small editor-specific things added //// A helperclass CompressorArchive handles the serialization //// -//////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////// #ifndef __VALUE_H__ #define __VALUE_H__ @@ -49,9 +42,6 @@ #include <map> // array functionality for the propertylist #include "STR_String.h" // STR_String class - - - #ifndef GEN_NO_ASSERT #undef assert #define assert(exp) ((void)NULL) @@ -68,9 +58,6 @@ #define debug(exp) ((void)NULL) #endif - - - #ifndef GEN_NO_ASSERTD #undef assertd #define assertd(exp) ((void)NULL) diff --git a/source/gameengine/Expressions/VectorValue.h b/source/gameengine/Expressions/VectorValue.h index df8d16932fb..5d9b2a98891 100644 --- a/source/gameengine/Expressions/VectorValue.h +++ b/source/gameengine/Expressions/VectorValue.h @@ -15,10 +15,6 @@ #if !defined _VECTORVALUE_H #define _VECTORVALUE_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "Value.h" #define KX_X 0 diff --git a/source/gameengine/Expressions/VoidValue.h b/source/gameengine/Expressions/VoidValue.h index ca1dc09e179..bec611d62ce 100644 --- a/source/gameengine/Expressions/VoidValue.h +++ b/source/gameengine/Expressions/VoidValue.h @@ -35,11 +35,6 @@ #include "Value.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - - // // Void value, used to transport *any* type of data // |