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:
@@ -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:
|
||||
*
|
||||
|
@@ -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$";
|
||||
|
@@ -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
|
||||
|
@@ -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 */
|
||||
|
@@ -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. */
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -50,6 +50,9 @@
|
||||
#include "gammaCorrectionTables.h"
|
||||
|
||||
/* externals */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* Debug/behaviour defines */
|
||||
|
@@ -86,6 +86,10 @@
|
||||
#include "errorHandler.h"
|
||||
#include "pixelshading.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* maybe declare local functions here? */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
@@ -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;
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
@@ -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;
|
||||
|
@@ -67,6 +67,10 @@
|
||||
#include "render.h"
|
||||
#include "render_intern.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
VertRen *RE_findOrAddVert(int nr)
|
||||
|
@@ -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 */
|
||||
|
||||
|
@@ -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) )
|
||||
|
||||
|
@@ -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) )
|
||||
/*-----------------------------------------------------------*/
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user