Did all of the .h's in source
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
|
||||
#include "SCA_EventManager.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_NetworkEventManager : public SCA_EventManager
|
||||
{
|
||||
class SCA_LogicManager* m_logicmgr;
|
||||
|
@@ -34,11 +34,13 @@
|
||||
#define __KX_NETWORKMESSAGEACTUATOR_H
|
||||
|
||||
#include "STR_String.h"
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#include "NG_NetworkMessage.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_NetworkMessageActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -35,6 +35,10 @@
|
||||
|
||||
#include "SCA_ISensor.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_NetworkEventManager;
|
||||
class NG_NetworkScene;
|
||||
|
||||
|
@@ -30,3 +30,7 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
@@ -30,3 +30,7 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
@@ -38,6 +38,9 @@
|
||||
#include "SCA_IActuator.h"
|
||||
#include "SND_CDObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_CDActuator : public SCA_IActuator
|
||||
{
|
||||
|
@@ -44,6 +44,10 @@
|
||||
#include "IntValue.h"
|
||||
#include "RAS_CameraData.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
class KX_Camera : public KX_GameObject
|
||||
{
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include "SCA_IActuator.h"
|
||||
#include "MT_Scalar.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* The camera actuator does a Robbie Muller prespective for you. This is a
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct RAS_CameraData;
|
||||
|
||||
class KX_CameraIpoSGController : public SG_Controller
|
||||
|
@@ -32,6 +32,10 @@
|
||||
#ifndef __KX_CLIENTOBJECT_INFO_H
|
||||
#define __KX_CLIENTOBJECT_INFO_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks
|
||||
*/
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include "SCA_IActuator.h"
|
||||
#include "MT_Scalar.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
class KX_ConstraintActuator : public SCA_IActuator
|
||||
{
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "Value.h"
|
||||
#include "PHY_DynamicTypes.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_ConstraintWrapper : public PyObjectPlus
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -33,6 +33,9 @@
|
||||
#define KX_CONVERTPHYSICSOBJECTS
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
//#define USE_SUMO_SOLID
|
||||
|
@@ -33,6 +33,10 @@
|
||||
#define __KX_EMPTYOBJECT
|
||||
#include "KX_GameObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_EmptyObject : public KX_GameObject
|
||||
{
|
||||
public:
|
||||
|
@@ -38,6 +38,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_GameActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -34,6 +34,10 @@
|
||||
#ifndef __KX_GAMEOBJECT
|
||||
#define __KX_GAMEOBJECT
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
// get rid of this stupid "warning 'this' used in initialiser list", generated by VC when including Solid/Sumo
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IInterpolator {
|
||||
public:
|
||||
virtual ~KX_IInterpolator() {}
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "MT_Transform.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IPOTransform {
|
||||
public:
|
||||
KX_IPOTransform() :
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include "KX_IPOTransform.h"
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IpoSGController : public SG_Controller
|
||||
{
|
||||
KX_IPOTransform m_ipo_xform;
|
||||
|
@@ -37,6 +37,10 @@
|
||||
#include "MT_Point3.h"
|
||||
#include "MT_Matrix3x3.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
Physics Controller, a special kind of Scene Graph Transformation Controller.
|
||||
It get's callbacks from Physics in case a transformation change took place.
|
||||
|
@@ -32,6 +32,10 @@
|
||||
#ifndef KX_ISCALARINTERPOLATOR_H
|
||||
#define KX_ISCALARINTERPOLATOR_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IScalarInterpolator {
|
||||
public:
|
||||
virtual ~KX_IScalarInterpolator() {}
|
||||
|
@@ -36,6 +36,10 @@
|
||||
|
||||
#include "KX_Python.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_ISceneConverter
|
||||
{
|
||||
|
||||
|
@@ -40,6 +40,10 @@ using namespace std;
|
||||
|
||||
#include "STR_String.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* System Abstraction, needed only for getting some timing stuff from the host.
|
||||
*/
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IpoActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -43,6 +43,10 @@
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_TimeCategoryLogger;
|
||||
|
||||
#define LEFT_EYE 1
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "RAS_LightObject.h"
|
||||
#include "KX_GameObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_LightObject : public KX_GameObject
|
||||
{
|
||||
RAS_LightObject m_lightobj;
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct RAS_LightObject;
|
||||
|
||||
class KX_LightIpoSGController : public SG_Controller
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "SCA_IObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_MeshProxy : public SCA_IObject
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "PHY_IMotionState.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_MotionState : public PHY_IMotionState
|
||||
{
|
||||
class SG_Spatial* m_node;
|
||||
|
@@ -37,6 +37,10 @@
|
||||
#include "SCA_MouseSensor.h"
|
||||
/* #include "SCA_IInputDevice.h" */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The mouse focus sensor extends the basic SCA_MouseSensor. It has
|
||||
* been placed in KX because it needs access to the rasterizer and
|
||||
|
@@ -36,6 +36,11 @@
|
||||
#define KX_NEARSENSOR_H
|
||||
|
||||
#include "KX_TouchSensor.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_Scene;
|
||||
|
||||
class KX_NearSensor : public KX_TouchSensor
|
||||
|
@@ -37,6 +37,9 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_ObColorIpoSGController : public SG_Controller
|
||||
{
|
||||
|
@@ -38,6 +38,9 @@
|
||||
#include "SCA_IActuator.h"
|
||||
#include "MT_Vector3.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
//
|
||||
// Bitfield that stores the flags for each CValue derived class
|
||||
|
@@ -25,6 +25,9 @@
|
||||
#include "KX_IPhysicsController.h"
|
||||
#include "OdePhysicsController.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
Physics Controller, a special kind of Scene Graph Transformation Controller.
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class MT_Matrix3x3;
|
||||
class KX_IScalarInterpolator;
|
||||
|
||||
|
@@ -32,6 +32,10 @@
|
||||
#ifndef __KX_PHYSICSENGINEENUMS
|
||||
#define __KX_PHYSICSENGINEENUMS
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
enum e_PhysicsEngine
|
||||
{
|
||||
UseNone=1,
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "Value.h"
|
||||
#include "PHY_DynamicTypes.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_PhysicsObjectWrapper : public PyObjectPlus
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include <MT_Scalar.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
// Properties of dynamic objects
|
||||
struct KX_ShapeProps {
|
||||
MT_Scalar m_mass; // Total mass
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class MT_Point3;
|
||||
class KX_IScalarInterpolator;
|
||||
|
||||
|
@@ -32,9 +32,11 @@
|
||||
#ifndef PHY_PYTHON_CONSTRAINTBINDING
|
||||
#define PHY_PYTHON_CONSTRAINTBINDING
|
||||
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
PyObject* initPythonConstraintBinding();
|
||||
void PHY_RemovePythonConstraintBinding();
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "KX_Python.h"
|
||||
#include "STR_String.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
psl_Lowest = 0,
|
||||
psl_Highest
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "KX_NearSensor.h"
|
||||
#include "MT_Point3.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Radar 'cone' sensor. Very similar to a near-sensor, but instead of a sphere, a cone is used.
|
||||
*/
|
||||
|
@@ -37,6 +37,11 @@
|
||||
#include "SCA_EventManager.h"
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_RayEventManager : public SCA_EventManager
|
||||
{
|
||||
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include "SCA_ISensor.h"
|
||||
#include "MT_Point3.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_RaySensor : public SCA_ISensor
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -46,6 +46,10 @@
|
||||
|
||||
#include "MT_Vector3.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class SCA_IScene;
|
||||
|
||||
class KX_SCA_AddObjectActuator : public SCA_IActuator
|
||||
|
@@ -40,6 +40,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class SCA_IScene;
|
||||
|
||||
class KX_SCA_EndObjectActuator : public SCA_IActuator
|
||||
|
@@ -46,6 +46,10 @@
|
||||
|
||||
#include "RAS_MeshObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_SCA_ReplaceMeshActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -50,6 +50,9 @@
|
||||
#include "SG_Spatial.h"
|
||||
#include "SG_ParentRelation.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_NormalParentRelation : public SG_ParentRelation
|
||||
{
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include "MT_Scalar.h"
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_IScalarInterpolator;
|
||||
|
||||
class KX_ScalarInterpolator : public KX_IInterpolator {
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class MT_Vector3;
|
||||
class KX_IScalarInterpolator;
|
||||
|
||||
|
@@ -49,6 +49,10 @@
|
||||
#include "RAS_FramingManager.h"
|
||||
#include "RAS_Rect.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @section Forward declarations
|
||||
*/
|
||||
|
@@ -38,6 +38,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_SceneActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_SoundActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -14,6 +14,10 @@
|
||||
#include "SumoPhysicsController.h"
|
||||
#include "KX_IPhysicsController.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_SumoPhysicsController : public KX_IPhysicsController,
|
||||
public SumoPhysicsController
|
||||
|
||||
|
@@ -33,6 +33,10 @@
|
||||
#ifndef __KX_TIME_CATEGORY_LOGGER_H
|
||||
#define __KX_TIME_CATEGORY_LOGGER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
#endif
|
||||
|
@@ -33,6 +33,10 @@
|
||||
#ifndef __KX_TIME_LOGGER_H
|
||||
#define __KX_TIME_LOGGER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
#endif
|
||||
|
@@ -39,6 +39,10 @@
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
class KX_TouchEventManager : public SCA_EventManager
|
||||
{
|
||||
|
@@ -40,6 +40,10 @@
|
||||
|
||||
#include "KX_ClientObjectInfo.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_TouchSensor : public SCA_ISensor
|
||||
{
|
||||
protected:
|
||||
|
@@ -38,6 +38,10 @@
|
||||
#include "SCA_IActuator.h"
|
||||
#include "SCA_IObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_TrackToActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include "SCA_IObject.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_VertexProxy : public SCA_IObject
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -36,6 +36,10 @@
|
||||
|
||||
#include "SCA_IActuator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_VisibilityActuator : public SCA_IActuator
|
||||
{
|
||||
Py_Header;
|
||||
|
@@ -34,6 +34,9 @@
|
||||
|
||||
#include "MT_Scalar.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class MT_CmMatrix4x4;
|
||||
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "KX_IInterpolator.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
class KX_WorldIpoController : public SG_Controller
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user