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 "RE_ShadowBuffer.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct LampRen;
class RE_DummyShadowBuffer : public RE_ShadowBuffer {

View File

@@ -35,6 +35,10 @@
#include <iostream.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ShadBuf;
struct LampRen;

View File

@@ -35,6 +35,10 @@
#include "RE_ShadowBuffer.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct LampRen;
struct Lamp;

View File

@@ -34,6 +34,10 @@
#ifndef RE_CALLBACKS_H
#define RE_CALLBACKS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -34,6 +34,11 @@
#ifndef EDGERENDER_H
#define EDGERENDER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
/**

View File

@@ -35,6 +35,10 @@
#ifndef ENVMAP_EXT_H
#define ENVMAP_EXT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* no types!!! */
/* #include "envmap_types.h" */

View File

@@ -35,6 +35,10 @@
#ifndef ERRORHANDLER_H
#define ERRORHANDLER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
/* error codes */
enum RE_RENDER_ERROR {

View File

@@ -35,6 +35,9 @@
#ifndef GAMMACORRECTIONTABLES_H
#define GAMMACORRECTIONTABLES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Default gamma. For most CRTs, gamma ranges from 2.2 to 2.5 (Foley), so */

View File

@@ -40,6 +40,10 @@
#include "DNA_effect_types.h" /* for PartEff type */
#include "render_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Functions */
void init_def_material(void);

View File

@@ -35,6 +35,10 @@
#ifndef JITTER_H
#define JITTER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -34,6 +34,10 @@
#ifndef OLD_ZBUFFER_TYPES_H
#define OLD_ZBUFFER_TYPES_H "$Id$"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
typedef struct PixStr

View File

@@ -35,6 +35,10 @@
#ifndef OUTERRENDERLOOP_H
#define OUTERRENDERLOOP_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Outer loop for rendering a single picture.
*/

View File

@@ -42,6 +42,11 @@
/* own include */
#include "pixelblending_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Samples pixel, depending on R.osa setting
*/

View File

@@ -36,6 +36,10 @@
#ifndef PIXELBLENDING_TYPES_H
#define PIXELBLENDING_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* #include "blender.h" */
/* Threshold for a 'full' pixel: pixels with alpha above this level are */

View File

@@ -37,6 +37,10 @@
#ifndef PIXELSHADING_H
#define PIXELSHADING_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
#include "render.h"

View File

@@ -35,6 +35,10 @@
#ifndef RENDERHELP_EXT_H
#define RENDERHELP_EXT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -35,6 +35,10 @@
#ifndef RENDERPREANDPOST_H
#define RENDERPREANDPOST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void prepareScene(void);
void finalizeScene(void);
void doClipping( void (*projectfunc)(float *, float *) );

View File

@@ -33,6 +33,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* XXX, should die, no good reason to write
* regular (non-file related) endian dependant
* code.

View File

@@ -36,6 +36,10 @@
#define RENDERCORE_H
#include "render_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct HaloRen;
float mistfactor(float *co); /* dist en hoogte, return alpha */

View File

@@ -38,6 +38,10 @@
#include "zbuf_types.h"
#include "render_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* float CookTorr(float *n, float *l, float *v, int hard); */
void do_lamphalo_tex(LampRen *lar, float *p1, float *p2, float *intens);
void spothalo(struct LampRen *lar, float *view, float *intens);

View File

@@ -35,6 +35,10 @@
#ifndef SHADBUF_EXT_H
#define SHADBUF_EXT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "render_types.h"
#ifdef __cplusplus

View File

@@ -33,6 +33,10 @@
#ifndef SHADOWBUFFER_H
#define SHADOWBUFFER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -39,6 +39,10 @@
/* no types!!! */
/* #include "texture_types.h" */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Tex;
struct MTex;
struct HaloRen;

View File

@@ -37,6 +37,10 @@
#include "vanillaRenderPipe_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Render pipeline with all kinds of extras.
* status-------------------------\/

View File

@@ -38,6 +38,10 @@
#include "vanillaRenderPipe_types.h"
#include "zbufferdatastruct_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Z buffer initializer, for new pipeline.
* <LI>

View File

@@ -35,6 +35,10 @@
#ifndef VANILLARENDERPIPE_TYPES_H
#define VANILLARENDERPIPE_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Render defines */
#define RE_MAX_OSA_COUNT 16 /* The max. number of possible oversamples */
#define RE_MAX_FACES_PER_PIXEL 500 /* max. nr of faces rendered behind one */

View File

@@ -36,6 +36,10 @@
#ifndef ZBUF_H
#define ZBUF_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -40,7 +40,9 @@
#include "render_types.h"
#include "zbuf_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Convert a homogenous coordinate to a z buffer coordinate. The

View File

@@ -36,6 +36,10 @@
#ifndef ZBUF_TYPES_H
#define ZBUF_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -37,6 +37,10 @@
#include "zbufferdatastruct_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Set memory and counters for a fresh z buffer
*/

View File

@@ -35,6 +35,10 @@
#ifndef ZBUFFERDATASTRUCT_TYPES_H
#define ZBUFFERDATASTRUCT_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define RE_ZBUFLEN 64 /* number of lines in the accumulation buffer */
/**