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 "RE_ShadowBuffer.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct LampRen;
|
||||
|
||||
class RE_DummyShadowBuffer : public RE_ShadowBuffer {
|
||||
|
@@ -35,6 +35,10 @@
|
||||
|
||||
#include <iostream.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct ShadBuf;
|
||||
struct LampRen;
|
||||
|
||||
|
@@ -35,6 +35,10 @@
|
||||
|
||||
#include "RE_ShadowBuffer.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct LampRen;
|
||||
struct Lamp;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -34,6 +34,11 @@
|
||||
|
||||
#ifndef EDGERENDER_H
|
||||
#define EDGERENDER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
|
@@ -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" */
|
||||
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#ifndef ERRORHANDLER_H
|
||||
#define ERRORHANDLER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* error codes */
|
||||
enum RE_RENDER_ERROR {
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#ifndef JITTER_H
|
||||
#define JITTER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
@@ -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
|
||||
*/
|
||||
|
@@ -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 */
|
||||
|
@@ -37,6 +37,10 @@
|
||||
#ifndef PIXELSHADING_H
|
||||
#define PIXELSHADING_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
#include "render.h"
|
||||
|
@@ -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
|
||||
|
@@ -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 *) );
|
||||
|
@@ -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.
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -33,6 +33,10 @@
|
||||
#ifndef SHADOWBUFFER_H
|
||||
#define SHADOWBUFFER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@@ -39,6 +39,10 @@
|
||||
/* no types!!! */
|
||||
/* #include "texture_types.h" */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
struct Tex;
|
||||
struct MTex;
|
||||
struct HaloRen;
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include "vanillaRenderPipe_types.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Render pipeline with all kinds of extras.
|
||||
* status-------------------------\/
|
||||
|
@@ -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>
|
||||
|
@@ -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 */
|
||||
|
@@ -36,6 +36,10 @@
|
||||
#ifndef ZBUF_H
|
||||
#define ZBUF_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
*/
|
||||
|
@@ -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 */
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user