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

@@ -38,6 +38,10 @@
#include "RAS_MaterialBucket.h"
#include "GEN_Map.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class RAS_BucketManager
{

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_CAMERADATA_H
#define __RAS_CAMERADATA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct RAS_CameraData
{
float m_lens;

View File

@@ -33,6 +33,10 @@
#ifndef RAS_DEFORMER
#define RAS_DEFORMER
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32

View File

@@ -32,6 +32,10 @@
#ifndef RAS_FRAMINGMANAGER_H
#define RAS_FRAMINGMANAGER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class RAS_Rect;
/**

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_ICANVAS
#define __RAS_ICANVAS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* 2D rendering device context. The connection from 3d rendercontext to 2d surface.
*/

View File

@@ -34,6 +34,9 @@
#include "STR_HashedString.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Polygon Material on which the material buckets are sorted

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_IRASTERIZER
#define __RAS_IRASTERIZER
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786)
#endif

View File

@@ -35,10 +35,13 @@
#include "MT_Transform.h"
#include "RAS_IRasterizer.h"
#include <vector>
#include <algorithm>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class RAS_IPolyMaterial;
struct RAS_LightObject;

View File

@@ -34,6 +34,10 @@
#include "MT_CmMatrix4x4.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct RAS_LightObject
{
enum LightType{

View File

@@ -44,6 +44,10 @@
#include <set>
using namespace std;
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef vector< vector<class RAS_TexVert>* > vecVertexArray;
typedef vector<unsigned int> KX_IndexArray;
typedef vector< KX_IndexArray* > vecIndexArrays;

View File

@@ -32,6 +32,9 @@
#ifndef __RAS_MESHOBJECT
#define __RAS_MESHOBJECT
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
// disable the STL warnings ("debug information length > 255")

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_OBJECTCOLOR_H
#define __RAS_OBJECTCOLOR_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct RAS_ObjectColor {
float m_red;
float m_green;

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_CHECKVERTEXARRAYS
#define __RAS_CHECKVERTEXARRAYS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
bool RAS_SystemSupportsVertexArrays();
#endif //__RAS_CHECKVERTEXARRAYS

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_OPENGLRASTERIZER
#define __RAS_OPENGLRASTERIZER
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786)
#endif

View File

@@ -32,6 +32,10 @@
#ifndef __KX_VERTEXARRAYOPENGLRASTERIZER
#define __KX_VERTEXARRAYOPENGLRASTERIZER
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "RAS_OpenGLRasterizer.h"
class RAS_VAOpenGLRasterizer : public RAS_OpenGLRasterizer

View File

@@ -32,6 +32,10 @@
#ifndef __RAS_POLYGON
#define __RAS_POLYGON
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "RAS_TexVert.h"
//#include "KX_BoundingVolumes.h"
#include "RAS_MaterialBucket.h"

View File

@@ -33,6 +33,9 @@
#ifndef _RAS_RECT
#define _RAS_RECT
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* @section interface class.

View File

@@ -35,11 +35,12 @@
#include "MT_Matrix3x3.h"
#include "MT_Point3.h"
#include "MT_Point2.h"
#include "RAS_TexVert.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void RAS_CalcTexMatrix(RAS_TexVert p[3],MT_Point3& origin,MT_Vector3& udir,MT_Vector3& vdir);
#endif //__RASTEXMATRIX

View File

@@ -37,6 +37,9 @@
#include "MT_Point2.h"
#include "MT_Transform.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static MT_Point3 g_pt3;
static MT_Point2 g_pt2;