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

@@ -33,6 +33,10 @@
#ifndef BDR_DRAWACTION_H
#define BDR_DRAWACTION_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct BezTriple;
struct Ipo;
struct gla2DDrawInfo;

View File

@@ -33,6 +33,10 @@
#ifndef BDR_DRAWMESH_H
#define BDR_DRAWMESH_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Image;
struct TFace;
struct Object;

View File

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

View File

@@ -33,6 +33,10 @@
#ifndef BDR_EDITCURVE_H
#define BDR_EDITCURVE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Curve;
struct Nurb;
struct BezTriple;

View File

@@ -33,6 +33,10 @@
#ifndef BDR_EDITFACE_H
#define BDR_EDITFACE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct TFace;
struct Mesh;

View File

@@ -33,6 +33,10 @@
#ifndef BDR_EDITMBALL_H
#define BDR_EDITMBALL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void make_editMball(void);
void load_editMball(void);

View File

@@ -33,6 +33,10 @@
#ifndef BDR_EDITOBJECT_H
#define BDR_EDITOBJECT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct TransVert;
struct Object;
struct TransOb;

View File

@@ -34,6 +34,9 @@
#ifndef BDR_ISECT_H
#define BDR_ISECT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct EditVert;
struct EditVlak;

View File

@@ -33,6 +33,10 @@
#ifndef BDR_VPAINT_H
#define BDR_VPAINT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Mesh;
struct MDeformVert; /* __NLA */
unsigned int vpaint_get_current_col(void);

View File

@@ -32,6 +32,10 @@
#ifndef BIF_BUTTONS_H
#define BIF_BUTTONS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Base;
extern void do_blenderbuttons(unsigned short event);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_DRAWIMAGE_H
#define BIF_DRAWIMAGE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct SpaceImage;
void calc_image_view(struct SpaceImage *sima, char mode);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_DRAWOOPS_H
#define BIF_DRAWOOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void give_oopslink_line(Oops *oops, OopsLink *ol, float *v1, float *v2);
void mysbox(float x1, float y1, float x2, float y2);
void boundbox_oops(void);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Scene;
void set_scene(struct Scene *sce);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_DRAWSEQ_H
#define BIF_DRAWSEQ_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Sequence;
void drawseqspace(void);
void drawseq(struct Sequence *seq);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_DRAWTEXT_H
#define BIF_DRAWTEXT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ScrArea;
struct SpaceText;
struct Text;

View File

@@ -32,6 +32,10 @@
#ifndef BIF_EDITARMATURE_H
#define BIF_EDITARMATURE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
struct Bone;
struct bArmature;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITCONSTRAINT_H
#define BIF_EDITCONSTRAINT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ListBase;
struct Object;
struct bConstraint;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_DEFORM_H
#define BIF_DEFORM_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
struct MDeformVert;
struct MDeformWeight;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITFONT_H
#define BIF_EDITFONT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void do_textedit(unsigned short event, short val, char ascii);
void make_editText(void);
void load_editText(void);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Group;
void set_active_group(void);
void add_selected_to_group(void);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
void draw_ika(struct Object *ob, int sel);
void draw_ika_nrs(struct Object *ob, int type);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITKEY_H
#define BIF_EDITKEY_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Key;
struct KeyBlock;
struct Mesh;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITLATTICE_H
#define BIF_EDITLATTICE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void apply_lattice(void);
void free_editLatt(void);
void make_editLatt(void);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITMESH_H
#define BIF_EDITMESH_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct EditVlak;
struct EditEdge;
struct EditVert;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITNLA_H
#define BIF_EDITNLA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void clever_numbuts_nla(void);
#endif

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITOOPS_H
#define BIF_EDITOOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void borderselect_oops(void);
void deselect_all_area_oops(void);
void mouse_select_oops(void);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITSCA_H
#define BIF_EDITSCA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void make_unique_prop_names(char *str);
void do_gamebuts(unsigned short event);
void gamebuts(void);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITSEQ_H
#define BIF_EDITSEQ_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Sequence;
void add_duplicate_seq(void);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void clever_numbuts_sima(void);
void borderselect_sima(void);
void mouseco_to_curtile(void);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITSOUND_H
#define BIF_EDITSOUND_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct bSound;
struct bSample;
struct ListBase;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_EDITVIEW_H
#define BIF_EDITVIEW_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Base;
struct Object;

View File

@@ -34,6 +34,10 @@
#ifndef BSE_FSMENU_H
#define BSE_FSMENU_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/** Returns the number of entries in the Fileselect Menu */
int fsmenu_get_nentries (void);

View File

@@ -37,6 +37,10 @@
#include <GL/gl.h>
#include <GL/glu.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
* these should be phased out. cpack should be replaced in
* code with calls to glColor3ub, lrectwrite probably should

View File

@@ -37,6 +37,10 @@
#ifndef BIF_GLUTIL_H
#define BIF_GLUTIL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct rcti;
struct rctf;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_GRAPHICS_H
#define BIF_GRAPHICS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* XXX, should move somewhere else, with collected windowing
* stuff, to be done once the proper windowing stuff has
* been formed.

View File

@@ -32,6 +32,10 @@
#ifndef BIF_IMASEL_H
#define BIF_IMASEL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct SpaceImaSel;
struct OneSelectableIma;
struct ScrArea;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_INTERFACE_H
#define BIF_INTERFACE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ID;
struct ListBase;
struct ScrArea;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_KEYVAL_H
#define BIF_KEYVAL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
char *key_event_to_string(unsigned short event);
#endif

View File

@@ -35,6 +35,10 @@
#ifndef BIF_MAINQUEUE_H
#define BIF_MAINQUEUE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define MAXQUEUE 256
unsigned short mainqtest (void);

View File

@@ -36,6 +36,10 @@
#ifndef BIF_MYWINDOW_H
#define BIF_MYWINDOW_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct rcti;
/*---*/

View File

@@ -33,6 +33,10 @@
#ifndef BIF_OOPS_H
#define BIF_OOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Curve;
struct Oops;
struct OopsLink;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_POSEOBJECT
#define BIF_POSEOBJECT
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Activates posemode
*/

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct SpaceButs;
void BIF_preview_changed (struct SpaceButs *area);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ScrArea;
void calc_renderwin_rectangle(int posmask, int renderpos_r[2], int rendersize_r[2]);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_RESOURCES_H
#define BIF_RESOURCES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef enum {
#define BIFICONID_FIRST (ICON_VIEW3D)
ICON_VIEW3D,

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -34,6 +34,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef BIF_SCREEN_H
#define BIF_SCREEN_H

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef BIF_SPACE_H
#define BIF_SPACE_H

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ScrArea;
typedef struct _SpaceType SpaceType;

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
/* defines callback structure for toolbox menu */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct _TBcallback {
char *desc;
char *key;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_TOETS_H
#define BIF_TOETS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void BIF_save_rendered_image(void);
int save_image_filesel_str(char *str);

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* TBOXX: breedte in pixels */
#define TBOXXL 80
#define TBOXXR 170

View File

@@ -33,6 +33,10 @@
#ifndef BIF_USIBLENDER_H
#define BIF_USIBLENDER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void exit_usiblender(void);
void BIF_init(void);

View File

@@ -33,6 +33,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef _WIN32
void start_avi_codec(void);

View File

@@ -33,6 +33,10 @@
#ifndef BIF_WRITEIMAGE_H
#define BIF_WRITEIMAGE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ImBuf;
struct EnvMap;

View File

@@ -33,6 +33,10 @@
#ifndef BIF_WRITEMOVIE_H
#define BIF_WRITEMOVIE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void start_movie(void);
void append_movie(int fnum);
void end_movie(void);

View File

@@ -33,6 +33,10 @@
#ifndef BSE_BUTTONS_H
#define BSE_BUTTONS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct ID;
void test_meshpoin_but(char *name, struct ID **idpp);

View File

@@ -33,6 +33,10 @@
#ifndef BSE_DRAWIMASEL_H
#define BSE_DRAWIMASEL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct SpaceImaSel;
void viewgate(short sx, short sy, short ex, short ey);

View File

@@ -33,6 +33,10 @@
#ifndef BSE_DRAWIPO_H
#define BSE_DRAWIPO_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct EditIpo;
struct View2D;
struct rctf;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_DRAWNLA_H
#define BSE_DRAWNLA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void drawnlaspace(void);
#endif /* BSE_DRAWNLA */

View File

@@ -33,6 +33,10 @@
#ifndef BSE_DRAWOOPS_H
#define BSE_DRAWOOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Oops;
struct uiBlock;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_DRAWVIEW_H
#define BSE_DRAWVIEW_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
struct BGpic;
struct rcti;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDIT_H
#define BSE_EDIT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
struct rcti;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDITACTION_H
#define BSE_EDITACTION_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct bAction;
struct bActionChannel;
struct bPoseChannel;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDITACTION_TYPES_H
#define BSE_EDITACTION_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define CHANNELHEIGHT 16
#define CHANNELSKIP 2
#define ACTWIDTH 128

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDITIPO_H
#define BSE_EDITIPO_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct TransVert;
struct IpoCurve;
struct BezTriple;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDITIPO_TYPES_H
#define BSE_EDITIPO_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct BezTriple;
typedef struct IpoKey {

View File

@@ -33,6 +33,10 @@
#ifndef BSE_EDITNLA_TYPES_H
#define BSE_EDITNLA_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NLAWIDTH 196
#define NLACHANNELHEIGHT 16
#define NLACHANNELSKIP 1

View File

@@ -34,6 +34,10 @@
#ifndef BSE_FILESEL_H
#define BSE_FILESEL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct SpaceFile;
struct direntry;
struct ID;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_HEADERBUTTONS_H
#define BSE_HEADERBUTTONS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct uiBlock;
struct ID;

View File

@@ -34,6 +34,10 @@
#ifndef BSE_SEQUENCE_H
#define BSE_SEQUENCE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct PluginSeq;
struct StripElem;
struct Strip;

View File

@@ -33,6 +33,10 @@
#ifndef BSE_TRANS_TYPES_H
#define BSE_TRANS_TYPES_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
/* struct EditVlak; */
/* struct EditEdge; */

View File

@@ -32,6 +32,10 @@
/* forward declarations for some prototype header */
/* these may wildly occur in other header files, too */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct BGpic;
struct SpaceText;
struct Oops;

View File

@@ -34,6 +34,10 @@
#ifndef BSE_VIEW_H
#define BSE_VIEW_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Object;
struct BoundBox;
struct View3D;

View File

@@ -34,6 +34,9 @@
#ifndef LOD_DEPENDKLUDGE_H
#define LOD_DEPENDKLUDGE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NAN_DECIMATION

View File

@@ -34,6 +34,9 @@
#ifndef TPT_DEPENDKLUDGE_H
#define TPT_DEPENDKLUDGE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define NAN_TPT
//#undef NAN_TPT

View File

@@ -31,6 +31,10 @@
#ifndef BLENDEF_H
#define BLENDEF_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#else
#ifndef __BeOS

View File

@@ -35,6 +35,10 @@
#ifndef DATATOC_H
#define DATATOC_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern int datatoc_B_blend_size;
extern char datatoc_B_blend[];

View File

@@ -36,6 +36,10 @@
#define EDITLATTICE_EXT_H "$Id$"
#define EDITLATTICE_EXT_H "Copyright (C) 2001 NaN Technologies B.V.
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void end_latt_deform(void);
#endif /* EDITLATTICE_EXT_H */

View File

@@ -33,6 +33,10 @@
#ifndef INTERFACE_H
#define INTERFACE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* general defines */
#define UI_MAX_DRAW_STR 180

View File

@@ -37,6 +37,10 @@
#ifndef IPO_H
#define IPO_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct BezTriple;
typedef struct IpoKey {

View File

@@ -29,6 +29,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define KEY_GETPTR(x) (g_ptrtab ? g_ptrtab[x] : 0)

View File

@@ -32,6 +32,10 @@
#ifndef LICENCEKEY_H
#define LICENCEKEY_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define I_AM_PUBLISHER temp_val2
#define LICENSE_KEY_VALID temp_val
#define SHOW_LICENSE_KEY rotop

View File

@@ -38,7 +38,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* MOUSE : 0x00x */

View File

@@ -53,6 +53,10 @@
#ifndef NLA_H
#define NLA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define __NLA
#define __NLA_BAKE // Not for release: Not yet fully implemented

View File

@@ -31,6 +31,10 @@
#ifndef OBJFNTDEF
#define OBJFNTDEF
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct chardesc {
short movex, movey; /* advance */
short llx, lly; /* bounding box */

View File

@@ -34,6 +34,10 @@
#ifndef PARTICLE_EFFECT_H
#define PARTICLE_EFFECT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* effect.c */
extern Effect *add_effect(int type);
extern PartEff *give_parteff(Object *ob);

View File

@@ -34,6 +34,10 @@
#ifndef PLAYANIM_EXT_H
#define PLAYANIM_EXT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* used in apps */
extern void playanim(int argc, char **argv);