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/GameLogic
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/GameLogic')
-rw-r--r--source/gameengine/GameLogic/SCA_ANDController.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp6
-rw-r--r--source/gameengine/GameLogic/SCA_AlwaysSensor.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_EventManager.cpp5
-rw-r--r--source/gameengine/GameLogic/SCA_ExpressionController.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_IActuator.cpp3
-rw-r--r--source/gameengine/GameLogic/SCA_IController.cpp5
-rw-r--r--source/gameengine/GameLogic/SCA_IInputDevice.cpp5
-rw-r--r--source/gameengine/GameLogic/SCA_ILogicBrick.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_IObject.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_IScene.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_ISensor.cpp6
-rw-r--r--source/gameengine/GameLogic/SCA_KeyboardManager.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_KeyboardSensor.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_LogicManager.cpp6
-rw-r--r--source/gameengine/GameLogic/SCA_MouseManager.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_MouseSensor.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_ORController.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_PropertyActuator.cpp5
-rw-r--r--source/gameengine/GameLogic/SCA_PropertyEventManager.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_PropertySensor.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_PythonController.cpp3
-rw-r--r--source/gameengine/GameLogic/SCA_RandomActuator.cpp6
-rw-r--r--source/gameengine/GameLogic/SCA_RandomEventManager.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_RandomSensor.cpp4
-rw-r--r--source/gameengine/GameLogic/SCA_TimeEventManager.cpp4
27 files changed, 103 insertions, 21 deletions
diff --git a/source/gameengine/GameLogic/SCA_ANDController.cpp b/source/gameengine/GameLogic/SCA_ANDController.cpp
index 3dc20490819..4064bb6c840 100644
--- a/source/gameengine/GameLogic/SCA_ANDController.cpp
+++ b/source/gameengine/GameLogic/SCA_ANDController.cpp
@@ -37,6 +37,10 @@
#include "SCA_LogicManager.h"
#include "BoolValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp b/source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp
index 0e2db162ec3..41b9e45df53 100644
--- a/source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_AlwaysEventManager.cpp
@@ -38,9 +38,11 @@
#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),
diff --git a/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp b/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
index cf78d109e16..1ca8545b062 100644
--- a/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
@@ -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.
diff --git a/source/gameengine/GameLogic/SCA_EventManager.cpp b/source/gameengine/GameLogic/SCA_EventManager.cpp
index a6ce3a1af25..468d9a8c381 100644
--- a/source/gameengine/GameLogic/SCA_EventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_EventManager.cpp
@@ -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)
diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.cpp b/source/gameengine/GameLogic/SCA_ExpressionController.cpp
index 56934a695f2..36e83f2a98c 100644
--- a/source/gameengine/GameLogic/SCA_ExpressionController.cpp
+++ b/source/gameengine/GameLogic/SCA_ExpressionController.cpp
@@ -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 */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_IActuator.cpp b/source/gameengine/GameLogic/SCA_IActuator.cpp
index 81efeb6e647..31e6d3fdb10 100644
--- a/source/gameengine/GameLogic/SCA_IActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_IActuator.cpp
@@ -31,6 +31,9 @@
#include "SCA_IActuator.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
using namespace std;
diff --git a/source/gameengine/GameLogic/SCA_IController.cpp b/source/gameengine/GameLogic/SCA_IController.cpp
index 78f1980afde..bd70e4aa44b 100644
--- a/source/gameengine/GameLogic/SCA_IController.cpp
+++ b/source/gameengine/GameLogic/SCA_IController.cpp
@@ -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)
:
diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.cpp b/source/gameengine/GameLogic/SCA_IInputDevice.cpp
index 75a78fe5871..d73549b8818 100644
--- a/source/gameengine/GameLogic/SCA_IInputDevice.cpp
+++ b/source/gameengine/GameLogic/SCA_IInputDevice.cpp
@@ -30,10 +30,11 @@
*/
#include <iostream.h>
-
#include "SCA_IInputDevice.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_IInputDevice::SCA_IInputDevice()
:
diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.cpp b/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
index ce90a17fe0d..38fc75d7ad9 100644
--- a/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
+++ b/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
@@ -31,7 +31,9 @@
#include "SCA_ILogicBrick.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_LogicManager* SCA_ILogicBrick::m_sCurrentLogicManager = NULL;
diff --git a/source/gameengine/GameLogic/SCA_IObject.cpp b/source/gameengine/GameLogic/SCA_IObject.cpp
index 012479ba2d3..47a81f35896 100644
--- a/source/gameengine/GameLogic/SCA_IObject.cpp
+++ b/source/gameengine/GameLogic/SCA_IObject.cpp
@@ -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)
diff --git a/source/gameengine/GameLogic/SCA_IScene.cpp b/source/gameengine/GameLogic/SCA_IScene.cpp
index e9ed8232824..d4463196379 100644
--- a/source/gameengine/GameLogic/SCA_IScene.cpp
+++ b/source/gameengine/GameLogic/SCA_IScene.cpp
@@ -31,7 +31,9 @@
#include "SCA_IScene.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
SCA_IScene::SCA_IScene()
{
diff --git a/source/gameengine/GameLogic/SCA_ISensor.cpp b/source/gameengine/GameLogic/SCA_ISensor.cpp
index be26f1d503e..b95c42b0bae 100644
--- a/source/gameengine/GameLogic/SCA_ISensor.cpp
+++ b/source/gameengine/GameLogic/SCA_ISensor.cpp
@@ -36,9 +36,11 @@
#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);
diff --git a/source/gameengine/GameLogic/SCA_KeyboardManager.cpp b/source/gameengine/GameLogic/SCA_KeyboardManager.cpp
index 46223aa11af..79dbdbe0dc6 100644
--- a/source/gameengine/GameLogic/SCA_KeyboardManager.cpp
+++ b/source/gameengine/GameLogic/SCA_KeyboardManager.cpp
@@ -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),
diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
index 834c9254cc0..0352d5d7c67 100644
--- a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
@@ -36,7 +36,9 @@
#include "StringValue.h"
#include "SCA_IInputDevice.h"
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* ------------------------------------------------------------------------- */
/* Native functions */
diff --git a/source/gameengine/GameLogic/SCA_LogicManager.cpp b/source/gameengine/GameLogic/SCA_LogicManager.cpp
index a29d6d19729..f33b73199ce 100644
--- a/source/gameengine/GameLogic/SCA_LogicManager.cpp
+++ b/source/gameengine/GameLogic/SCA_LogicManager.cpp
@@ -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()
{
}
diff --git a/source/gameengine/GameLogic/SCA_MouseManager.cpp b/source/gameengine/GameLogic/SCA_MouseManager.cpp
index 580c77ee61f..8d968e0e54d 100644
--- a/source/gameengine/GameLogic/SCA_MouseManager.cpp
+++ b/source/gameengine/GameLogic/SCA_MouseManager.cpp
@@ -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.
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.cpp b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
index f21e4c1b07e..2c4b7d87c30 100644
--- a/source/gameengine/GameLogic/SCA_MouseSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
@@ -41,6 +41,10 @@
#include "ConstExpr.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_ORController.cpp b/source/gameengine/GameLogic/SCA_ORController.cpp
index 966884da809..773b66be637 100644
--- a/source/gameengine/GameLogic/SCA_ORController.cpp
+++ b/source/gameengine/GameLogic/SCA_ORController.cpp
@@ -37,6 +37,10 @@
#include "SCA_LogicManager.h"
#include "BoolValue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
index 893db892ef0..dfb6e3f644b 100644
--- a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
@@ -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 */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_PropertyEventManager.cpp b/source/gameengine/GameLogic/SCA_PropertyEventManager.cpp
index 2b3ad1d2c1c..4b81b0e4124 100644
--- a/source/gameengine/GameLogic/SCA_PropertyEventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_PropertyEventManager.cpp
@@ -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)
diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.cpp b/source/gameengine/GameLogic/SCA_PropertySensor.cpp
index 52642c6757f..6fceddcb5f8 100644
--- a/source/gameengine/GameLogic/SCA_PropertySensor.cpp
+++ b/source/gameengine/GameLogic/SCA_PropertySensor.cpp
@@ -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,
diff --git a/source/gameengine/GameLogic/SCA_PythonController.cpp b/source/gameengine/GameLogic/SCA_PythonController.cpp
index 2d57a5f116d..0d2f74c14cc 100644
--- a/source/gameengine/GameLogic/SCA_PythonController.cpp
+++ b/source/gameengine/GameLogic/SCA_PythonController.cpp
@@ -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;
diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.cpp b/source/gameengine/GameLogic/SCA_RandomActuator.cpp
index 50acf24251f..350b2f58b06 100644
--- a/source/gameengine/GameLogic/SCA_RandomActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomActuator.cpp
@@ -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 */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_RandomEventManager.cpp b/source/gameengine/GameLogic/SCA_RandomEventManager.cpp
index 12cf78d234a..ee517e5b915 100644
--- a/source/gameengine/GameLogic/SCA_RandomEventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomEventManager.cpp
@@ -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)
diff --git a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp
index 7faa76fd01d..a25ac4089f9 100644
--- a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.cpp
@@ -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
diff --git a/source/gameengine/GameLogic/SCA_RandomSensor.cpp b/source/gameengine/GameLogic/SCA_RandomSensor.cpp
index 7f3f2f93315..12f3e0bf5ed 100644
--- a/source/gameengine/GameLogic/SCA_RandomSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomSensor.cpp
@@ -39,6 +39,10 @@
#include "ConstExpr.h"
#include <iostream>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* Native functions */
/* ------------------------------------------------------------------------- */
diff --git a/source/gameengine/GameLogic/SCA_TimeEventManager.cpp b/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
index 784afcce298..05d1bebf18a 100644
--- a/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
@@ -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.