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:
2002-11-25 11:16:17 +00:00
parent 3f2f1571e5
commit b9a19f1ea7
555 changed files with 2210 additions and 29 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -35,6 +35,10 @@
#include "SCA_ISensor.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_NetworkEventManager;
class NG_NetworkScene;

View File

@@ -30,3 +30,7 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View File

@@ -30,3 +30,7 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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

View File

@@ -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

View File

@@ -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
*/

View File

@@ -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
{

View File

@@ -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;

View File

@@ -33,6 +33,9 @@
#define KX_CONVERTPHYSICSOBJECTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//#define USE_SUMO_SOLID

View File

@@ -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:

View File

@@ -38,6 +38,10 @@
#include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_GameActuator : public SCA_IActuator
{
Py_Header;

View File

@@ -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

View File

@@ -34,6 +34,10 @@
#include <vector>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_IInterpolator {
public:
virtual ~KX_IInterpolator() {}

View File

@@ -37,6 +37,10 @@
#include "MT_Transform.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_IPOTransform {
public:
KX_IPOTransform() :

View File

@@ -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;

View File

@@ -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.

View File

@@ -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() {}

View File

@@ -36,6 +36,10 @@
#include "KX_Python.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_ISceneConverter
{

View File

@@ -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.
*/

View File

@@ -37,6 +37,10 @@
#include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_IpoActuator : public SCA_IActuator
{
Py_Header;

View File

@@ -43,6 +43,10 @@
#include <vector>
#include <set>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_TimeCategoryLogger;
#define LEFT_EYE 1

View File

@@ -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;

View File

@@ -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

View File

@@ -34,6 +34,10 @@
#include "SCA_IObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_MeshProxy : public SCA_IObject
{
Py_Header;

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -37,6 +37,9 @@
#include "KX_IInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_ObColorIpoSGController : public SG_Controller
{

View File

@@ -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

View File

@@ -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.

View File

@@ -34,6 +34,10 @@
#include "KX_IInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class MT_Matrix3x3;
class KX_IScalarInterpolator;

View File

@@ -32,6 +32,10 @@
#ifndef __KX_PHYSICSENGINEENUMS
#define __KX_PHYSICSENGINEENUMS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
enum e_PhysicsEngine
{
UseNone=1,

View File

@@ -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;

View File

@@ -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

View File

@@ -34,6 +34,10 @@
#include "KX_IInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class MT_Point3;
class KX_IScalarInterpolator;

View File

@@ -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();

View File

@@ -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

View File

@@ -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.
*/

View File

@@ -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
{

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -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
{

View File

@@ -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 {

View File

@@ -34,6 +34,10 @@
#include "KX_IInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class MT_Vector3;
class KX_IScalarInterpolator;

View File

@@ -49,6 +49,10 @@
#include "RAS_FramingManager.h"
#include "RAS_Rect.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* @section Forward declarations
*/

View File

@@ -38,6 +38,10 @@
#include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_SceneActuator : public SCA_IActuator
{
Py_Header;

View File

@@ -37,6 +37,10 @@
#include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_SoundActuator : public SCA_IActuator
{
Py_Header;

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -39,6 +39,10 @@
#include <vector>
using namespace std;
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_TouchEventManager : public SCA_EventManager
{

View File

@@ -40,6 +40,10 @@
#include "KX_ClientObjectInfo.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_TouchSensor : public SCA_ISensor
{
protected:

View File

@@ -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;

View File

@@ -34,6 +34,10 @@
#include "SCA_IObject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_VertexProxy : public SCA_IObject
{
Py_Header;

View File

@@ -36,6 +36,10 @@
#include "SCA_IActuator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_VisibilityActuator : public SCA_IActuator
{
Py_Header;

View File

@@ -34,6 +34,9 @@
#include "MT_Scalar.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class MT_CmMatrix4x4;

View File

@@ -37,6 +37,10 @@
#include "KX_IInterpolator.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class KX_WorldIpoController : public SG_Controller
{
public: