updated .c files to include:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Just need to finish cpp files now :)

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 12:02:15 +00:00
parent b9a19f1ea7
commit d0e346d544
251 changed files with 1028 additions and 79 deletions

View File

@@ -36,6 +36,10 @@
#include "render_intern.h"
#include "RE_callbacks.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
* The callbacks are done in three parts:
*

View File

@@ -67,6 +67,10 @@
#include "zbuf.h" /* for zbufclipwire and zbufclip */
#include "jitter.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef RE_EDGERENDERSAFE
char edgeRender_h[] = EDGERENDER_H;
char edgeRender_c[] = "$Id$";

View File

@@ -37,6 +37,10 @@
#include <math.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "BLI_winstuff.h"
#endif

View File

@@ -34,9 +34,12 @@
#include "GEN_messaging.h"
#include "stdio.h"
#include "errorHandler.h"
#include "render_intern.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
/* counters for error handling */

View File

@@ -35,9 +35,12 @@
#include "gammaCorrectionTables.h"
#include <stdlib.h>
#include <math.h>
#include "render_intern.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* There are two parts here: one for the old renderer, one for the unified */
/* renderer. we start with the latter. */

View File

@@ -38,6 +38,10 @@
#include <string.h>
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "BLI_winstuff.h"
#endif

View File

@@ -43,6 +43,10 @@
#include "render_intern.h"
#include "jitter.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
float jit[64][2];
void init_render_jit(int nr);

View File

@@ -51,6 +51,10 @@
#include "renderHelp.h"
#include "RE_callbacks.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern short pa; /* can move to inside the outer loop */
/* should make a gamtab module, just like the jitter... */
extern unsigned short *mask1[9], *mask2[9], *igamtab2;

View File

@@ -50,6 +50,9 @@
#include "gammaCorrectionTables.h"
/* externals */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
/* Debug/behaviour defines */

View File

@@ -86,6 +86,10 @@
#include "errorHandler.h"
#include "pixelshading.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
/* maybe declare local functions here? */
/* ------------------------------------------------------------------------- */

View File

@@ -41,7 +41,9 @@
#include "renderHelp.h"
#include "zbuf.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static float panovco, panovsi;
static float panophi=0.0;

View File

@@ -44,6 +44,10 @@
#include "renderHelp.h"
#include "shadowBuffer.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Rotate all objects, make shadowbuffers and environment maps.
*/

View File

@@ -68,6 +68,10 @@
#include "rendercore.h"
#include "rendercore_int.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* globals for this file */
/* moved to renderData.c? Not yet... */
RE_Render R;

View File

@@ -67,6 +67,10 @@
#include "render.h"
#include "render_intern.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
VertRen *RE_findOrAddVert(int nr)

View File

@@ -54,6 +54,10 @@
#include "jitter.h"
#include "zbuf.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* if defined: objects don't cast shadows anymore */
/* #define RE_NO_SHADOWS */

View File

@@ -76,6 +76,10 @@
#include "vanillaRenderPipe.h"
#include "vanillaRenderPipe_int.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* crud */
#define MIN2(x,y) ( (x)<(y) ? (x) : (y) )

View File

@@ -63,6 +63,10 @@
#include "zbuf.h"
#include "zbuf_int.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* crud */
#define MIN2(x,y) ( (x)<(y) ? (x) : (y) )
/*-----------------------------------------------------------*/

View File

@@ -63,6 +63,11 @@
#include "zbufferdatastruct.h"
#include "render.h"
#include "render_intern.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* if defined: all jittersamples are stored individually. _very_ serious */
/* performance hit ! also gives some buffer size problems in big scenes */
/* #define RE_INDIVIDUAL_SUBPIXELS */