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:
@@ -33,11 +33,13 @@
|
||||
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
|
||||
#include "BKE_bad_level_calls.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
int winqueue_break= 0;
|
||||
|
||||
/* readfile.c */
|
||||
|
@@ -66,6 +66,10 @@
|
||||
#include "BKE_constraint.h"
|
||||
#include "DNA_constraint_types.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* Local function prototypes */
|
||||
static
|
||||
void
|
||||
|
@@ -58,6 +58,10 @@
|
||||
|
||||
#include "BKE_bad_level_calls.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
ListBase duplilist= {0, 0};
|
||||
|
||||
void free_path(Path *path)
|
||||
|
@@ -66,6 +66,10 @@
|
||||
|
||||
#include "IK_solver.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* Function prototypes */
|
||||
|
||||
static void apply_pose_bonechildren (Bone* bone, bPose* pose, int doit);
|
||||
|
@@ -34,6 +34,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h> // for read close
|
||||
#include <sys/param.h> // for MAXPATHLEN
|
||||
|
@@ -61,6 +61,10 @@
|
||||
#include "BKE_bmfont.h"
|
||||
#include "BKE_bmfont_types.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void printfGlyph(bmGlyph * glyph)
|
||||
{
|
||||
printf("unicode: %d '%c'\n", glyph->unicode, glyph->unicode);
|
||||
|
@@ -57,6 +57,10 @@
|
||||
|
||||
#include "blendef.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
@@ -729,4 +733,4 @@ void free_constraint_channels (ListBase *chanbase)
|
||||
}
|
||||
|
||||
BLI_freelistN(chanbase);
|
||||
}
|
||||
}
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -36,15 +36,14 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BKE_deform.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void color_temperature (float input, unsigned char *r, unsigned char *g, unsigned char *b)
|
||||
{
|
||||
|
@@ -66,6 +66,9 @@
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_lattice.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
Effect *add_effect(int type)
|
||||
{
|
||||
|
@@ -77,6 +77,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
|
@@ -39,6 +39,11 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -53,6 +53,10 @@
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_ipo.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void free_object_key(ObjectKey *ok)
|
||||
{
|
||||
if(ok->ipo) ok->ipo->id.us--;
|
||||
|
@@ -56,6 +56,10 @@
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_ika.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* Let's go! */
|
||||
#define TOLER 0.000076
|
||||
#define CLAMP(a, b, c) if((a)<(b)) (a)=(b); else if((a)>(c)) (a)=(c)
|
||||
|
@@ -36,6 +36,11 @@
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -61,6 +61,9 @@
|
||||
#include "BKE_ipo.h"
|
||||
#include "BKE_lattice.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define KEY_BPOINT 1
|
||||
#define KEY_BEZTRIPLE 2
|
||||
|
@@ -63,6 +63,10 @@
|
||||
#include "BKE_object.h"
|
||||
#include "BKE_ika.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
Lattice *editLatt=0, *deformLatt=0;
|
||||
|
||||
float *latticedata=0, latmat[4][4];
|
||||
|
@@ -41,6 +41,10 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -59,6 +59,10 @@
|
||||
#include "BPY_extern.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void free_material(Material *ma)
|
||||
{
|
||||
int a;
|
||||
|
@@ -69,6 +69,10 @@
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_mball.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* Functions */
|
||||
|
||||
|
||||
|
@@ -35,6 +35,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -34,17 +34,18 @@
|
||||
|
||||
#include "BKE_nla.h"
|
||||
#include "BKE_blender.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "DNA_space_types.h"
|
||||
#include "DNA_nla_types.h"
|
||||
#include "DNA_action_types.h"
|
||||
#include "DNA_ID.h"
|
||||
#include "DNA_ipo_types.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void copy_actionstrip (bActionStrip **dst, bActionStrip **src){
|
||||
bActionStrip *dstrip;
|
||||
bActionStrip *sstrip = *src;
|
||||
|
@@ -33,11 +33,14 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -35,6 +35,11 @@
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
|
@@ -37,6 +37,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -37,6 +37,10 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
|
@@ -37,11 +37,13 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "DNA_screen_types.h"
|
||||
|
||||
#include "BKE_bad_level_calls.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* don't free screen itself */
|
||||
void free_screen(bScreen *sc)
|
||||
{
|
||||
|
@@ -20,6 +20,10 @@
|
||||
#include "BKE_sound.h"
|
||||
#include "BKE_packedFile.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
ListBase _samples = {0,0}, *samples = &_samples;
|
||||
|
||||
void sound_free_sound(bSound *sound)
|
||||
|
@@ -35,6 +35,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -48,6 +48,10 @@
|
||||
|
||||
#include "BPY_extern.h" // Blender Python library
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/***************/ /*
|
||||
|
||||
How Texts should work
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
@@ -58,6 +58,9 @@
|
||||
#include "BPY_extern.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void free_world(World *wrld)
|
||||
{
|
||||
|
@@ -35,6 +35,10 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user