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

@@ -25,6 +25,10 @@
#include "PHY_IPhysicsController.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
ODE Physics Controller, a special kind of a PhysicsController.

View File

@@ -25,6 +25,10 @@
#include "PHY_IPhysicsEnvironment.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.)

View File

@@ -32,9 +32,12 @@
#ifndef _DUMMYPHYSICSENVIRONMENT
#define _DUMMYPHYSICSENVIRONMENT
#include "PHY_IPhysicsEnvironment.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* DummyPhysicsEnvironment is an empty placeholder
* Alternatives are ODE,Sumo and Dynamo PhysicsEnvironments

View File

@@ -1,6 +1,10 @@
#ifndef SM_CALLBACK_H
#define SM_CALLBACK_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class SM_Callback {
public:
virtual void do_me() = 0;

View File

@@ -1,6 +1,10 @@
#ifndef __SM_CLIENTOBJECT_INFO_H
#define __SM_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

@@ -3,6 +3,10 @@
#include "SM_Object.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class SM_FhObject : public SM_Object {
public:
SM_FhObject() {}

View File

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

View File

@@ -9,6 +9,9 @@
#include "SM_MotionState.h"
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class SM_FhObject;

View File

@@ -34,6 +34,10 @@
#include <MT_Scalar.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// Properties of dynamic objects
struct SM_ShapeProps {
MT_Scalar m_mass; // Total mass

View File

@@ -18,6 +18,10 @@
#include "MT_Vector3.h"
#include "MT_Point3.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class SM_Object;
class SM_Scene {

View File

@@ -32,11 +32,13 @@
#ifndef __SUMO_PHYSICSCONTROLLER_H
#define __SUMO_PHYSICSCONTROLLER_H
#include "PHY_IPhysicsController.h"
#include "SM_Scene.h"
#include "SM_Callback.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
Sumo Physics Controller, a special kind of a PhysicsController.

View File

@@ -32,11 +32,13 @@
#ifndef _SUMOPhysicsEnvironment
#define _SUMOPhysicsEnvironment
#include "PHY_IPhysicsEnvironment.h"
#include "solid.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.)
* A derived class may be able to 'construct' entities by loading and/or converting

View File

@@ -3,6 +3,10 @@
#include "solid_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -3,6 +3,10 @@
#include "solid_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -3,6 +3,10 @@
#include "solid_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -1,6 +1,10 @@
#ifndef SOLID_TYPES_H
#define SOLID_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define DT_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
typedef double DT_Scalar;

View File

@@ -32,6 +32,10 @@
#ifndef __PHY_DYNAMIC_TYPES
#define __PHY_DYNAMIC_TYPES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/// PHY_ScalarType enumerates possible scalar types.
/// See the PHY_IMeshInterface for its use
typedef enum PHY_ScalarType {

View File

@@ -32,6 +32,9 @@
#ifndef PHY__MOTIONSTATE_H
#define PHY__MOTIONSTATE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
PHY_IMotionState is the Interface to explicitly synchronize the world transformation.

View File

@@ -32,6 +32,10 @@
#ifndef PHY_IPHYSICSCONTROLLER_H
#define PHY_IPHYSICSCONTROLLER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
PHY_IPhysicsController is the abstract simplified Interface to a physical object.
It contains the IMotionState and IDeformableMesh Interfaces.

View File

@@ -35,6 +35,9 @@
#include <vector>
#include "PHY_DynamicTypes.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.)

View File

@@ -34,6 +34,10 @@
#include <MT_Scalar.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// Properties of dynamic objects
struct PHY_ShapeProps {
MT_Scalar m_mass; // Total mass