#ifndef SND_BLENDER_H
#define SND_BLENDER_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#include "SND_Object.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_CDObject : public SND_Object
{
private:
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#if defined (_WIN32)
#define USE_FMOD
#include "SND_IAudioDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_DeviceManager
{
public :
#include "SND_WaveSlot.h"
#include "MT_Matrix3x3.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class SND_IAudioDevice
{
#include "MT_Matrix3x3.h"
#include "SoundDefines.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* SND_Object is an interface class for soundobjects, listeners and other
* kinds of sound related thingies.
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32
#include "SND_Object.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_SoundListener : public SND_Object
{
#include "SND_Object.h"
#include "STR_String.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/**
* SND_SoundObject is a class for api independent sounddata storage conected to an actuator
#include "SND_WaveSlot.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C"
{
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
#endif //WIN32
#include "STR_String.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_WaveSlot
{
STR_String m_samplename;
#ifndef __SOUNDDEFINES_H
#define __SOUNDDEFINES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* the types of devices */
enum
{
#include "SND_AudioDevice.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_DummyDevice : public SND_AudioDevice
{
public:
#include "SND_AudioDevice.h"
#include "SoundDefines.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_FmodDevice : public SND_AudioDevice
{
public:
#include "SoundDefines.h"
#include "SND_IdObject.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
class SND_AudioDevice : public SND_IAudioDevice
{
#include "GEN_List.h"
#include "SoundDefines.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_IdObject : public GEN_Link
{
SND_SoundObject* m_soundObject;
#include "SND_AudioDevice.h"
#include "SoundDefines.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class SND_OpenALDevice : public SND_AudioDevice
{
public:
#include <stdio.h> /* for FILE */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct _AviChunk {
int fcc;
int size;
#include <stdio.h> /* for FILE */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "MEM_guardedalloc.h"
unsigned int GET_FCC (FILE *fp);
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void *avi_converter_from_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size);
void *avi_converter_to_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, int *size);
#include <stdio.h>
#include "AVI_avi.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define AVI_RAW 0
#define AVI_CHUNK 1
#define AVI_LIST 2
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void *avi_converter_from_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size);
void *avi_converter_to_mjpeg (AviMovie *movie, int stream, unsigned char *buffer, int *size);
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size);
void *avi_converter_to_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size);
#include "DNA_listBase.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* The following structures are defined in DNA_action_types.h
*/
#ifndef BKE_ARMATURE_H
#define BKE_ARMATURE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Bone;
struct Main;
struct bArmature;
#ifndef BKE_BAD_LEVEL_CALLS_H
#define BKE_BAD_LEVEL_CALLS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* readfile.c */
struct PluginSeq;
void open_plugin_seq(struct PluginSeq *pis, char *seqname);
#ifndef BKE_BLENDER_H
#define BKE_BLENDER_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_BMFONT_H
#define BKE_BMFONT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_BMFONT_TYPES_H
#define BKE_BMFONT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define is_power_of_two(N) ((N ^ (N - 1)) == (2 * N - 1))
/*
Moved to IMB_imbuf_types.h where it will live close to the ImBuf type.
#ifndef BKE_BOOLEANOPS_H
#define BKE_BOOLEANOPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
struct Mesh;
struct Object;
#include "CSG_BooleanOps.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* Internal mesh structure.
* Safe to copy by value... hopefully.
#ifndef BKE_CONSTRAINT_H
#define BKE_CONSTRAINT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bConstraint;
struct Object;
struct ListBase;
#ifndef BKE_CURVE_H
#define BKE_CURVE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Curve;
struct ListBase;
struct Object;
#ifndef BKE_DEFORM_H
#define BKE_DEFORM_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct ListBase;
struct bDeformGroup;
#ifndef BKE_DISPLIST_H
#define BKE_DISPLIST_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define DL_POLY 0
#define DL_SEGM 1
#ifndef BKE_EFFECT_H
#define BKE_EFFECT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Effect;
struct ListBase;
struct Object;
#ifndef BKE_ENDIAN_H
#define BKE_ENDIAN_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define BKE_ENDIANNESS(a) { \
union { \
long l; \
#ifndef BKE_EXOTIC_H
#define BKE_EXOTIC_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Mesh;
void mcol_to_rgba(unsigned int col, float *r, float *g, float *b, float *a);
#ifndef BKE_VFONT_H
#define BKE_VFONT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct VFont;
struct Object;
struct Curve;
#ifndef BKE_GLOBAL_H
#define BKE_GLOBAL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#ifdef __cplusplus
*/
#ifndef BKE_GROUP_H
#define BKE_GROUP_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Group;
struct GroupKey;
struct GroupObject;
#ifndef BKE_IKA_H
#define BKE_IKA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Ika;
struct Limb;
struct Object;
#ifndef BKE_IMAGE_H
#define BKE_IMAGE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_IPO_H
#define BKE_IPO_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct CfraElem {
struct CfraElem *next, *prev;
float cfra;
#ifndef BKE_KEY_H
#define BKE_KEY_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Key;
struct KeyBlock;
struct ID;
#ifndef BKE_LATTICE_H
#define BKE_LATTICE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Lattice;
struct Object;
struct BPoint;
#ifndef BKE_LIBRARY_TYPES_H
#define BKE_LIBRARY_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ListBase;
struct ID;
struct Main;
#ifndef BKE_MAIN_H
#define BKE_MAIN_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
struct Library;
#ifndef BKE_MATERIAL_H
#define BKE_MATERIAL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_MBALL_H
#define BKE_MBALL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct MetaBall;
struct Object;
struct MetaElem;
#ifndef BKE_MESH_H
#define BKE_MESH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* texflag */
#define AUTOSPACE 1
#ifndef BKE_NLA_H
#define BKE_NLA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bActionStrip;
struct ListBase;
#ifndef BKE_OBJECT_H
#define BKE_OBJECT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_OSA_TYPES_H
#define BKE_OSA_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
/* typedef struct Osa */
typedef struct RE_Osa
{
#ifndef BKE_PACKEDFILE_H
#define BKE_PACKEDFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct PackedFile;
struct VFont;
struct bSample;
#ifndef BKE_PLUGIN_TYPES_H
#define BKE_PLUGIN_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
typedef int (*TexDoit)(int, void*, float*, float*, float*);
#ifndef BKE_PROPERTY_H
#define BKE_PROPERTY_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bProperty;
struct ListBase;
struct Object;
#ifndef BKE_SCA_H
#define BKE_SCA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Text;
struct bSensor;
struct Object;
#ifndef BKE_SCENE_H
#define BKE_SCENE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Scene;
struct Object;
struct Base;
#ifndef BKE_SCREEN_H
#define BKE_SCREEN_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void free_screen(struct bScreen *sc);
#ifndef BKE_SOUND_H
#define BKE_SOUND_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct PackedFile;
struct bSound;
struct bSample;
#ifndef BKE_SUBSURF_H
#define BKE_SUBSURF_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Mesh;
struct Object;
struct Displist;
#ifndef BKE_TEXT_H
#define BKE_TEXT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BKE_TEXTURE_H
#define BKE_TEXTURE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Tex;
struct MTex;
struct PluginTex;
#ifndef BKE_UTILDEFINES_H
#define BKE_UTILDEFINES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef FALSE
#define FALSE 0
#endif
#ifndef BKE_WORLD_H
#define BKE_WORLD_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct World;
void free_world(struct World *sc);
#ifndef BKE_WRITEAVI_H
#define BKE_WRITEAVI_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BLI_ARITHB_H
#define BLI_ARITHB_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BLI_BLENLIB_H
#define BLI_BLENLIB_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h" /* braindamage for the masses... needed
because fillvlakbase and fillvertbase are
used outside */
#ifndef BLI_DYNSTR_H
#define BLI_DYNSTR_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct DynStr;
/** The abstract DynStr type */
#ifndef BLI_EDITVERT_H
#define BLI_EDITVERT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct EditVert
{
struct EditVert *next, *prev, *vn;
#ifndef BLI_GHASH_H
#define BLI_GHASH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct GHash;
typedef struct GHash GHash;
#ifndef BLI_GSQUEUE_H
#define BLI_GSQUEUE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct _GSQueue GSQueue;
/**
#ifndef BLI_LINKLIST_H
#define BLI_LINKLIST_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct MemArena;
typedef void (*LinkNodeFreeFP)(void *link);
#ifndef BLI_MEMARENA_H
#define BLI_MEMARENA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* A reasonable standard buffer size, big
* enough to not cause much internal fragmentation,
* small enough not to waste resources
#ifndef BLI_RAND_H
#define BLI_RAND_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/** Seed the random number generator */
void BLI_srand (unsigned int seed);
#include <sys/stat.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define HDRSIZE 512
#define NAMSIZE 200
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifndef BLI_VFONTDATA_H
#define BLI_VFONTDATA_H
*/
#pragma warning(once: 4761 4305 4244 4018)
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#ifndef MATRIXOPS_H
#define MATRIXOPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef VECTOROPS_H
#define VECTOROPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ------------------------------------------------------------------------- */
void MTC_diff3Int(int v1[3], int v2[3], int v3[3]);
#ifndef __PIL_DYNLIB_H__
#define __PIL_DYNLIB_H__
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct PILdynlib PILdynlib;
PILdynlib*
#ifndef PIL_TIME_H
#define PIL_TIME_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BLI_CALLBACKS_H
#define BLI_CALLBACKS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// This is blenlib internal only
void callLocalErrorCallBack(char* msg);
int callLocalInterruptCallBack(void);
#ifndef BLI_FILEOPS_H
#define BLI_FILEOPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
char *first_slash(char *string);
/* only for the sane unix world: direct calls to system functions :( */
#ifndef BLI_SCANFILL_H
#define BLI_SCANFILL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#endif
#ifndef BLI_STORAGE_H
#define BLI_STORAGE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "BLI_storage_types.h"
void BLI_adddirstrings(void);
#ifndef BLI_UTIL_H
#define BLI_UTIL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define mallocstructN(x,y,name) (x*)MEM_mallocN((y)* sizeof(x),name)
#define callocstructN(x,y,name) (x*)MEM_callocN((y)* sizeof(x),name)
#ifndef BLO_GENFILE_H
#define BLO_GENFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
int BLO_findstruct_offset(char *structname, char *member);// used by py_main.c
#endif
#ifndef BLO_READFILE_H
#define BLO_READFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BLO_SOUNDFILE_H
#define BLO_SOUNDFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_sound_types.h"
#include "DNA_packedFile_types.h"
#ifndef BLO_WRITEFILE_H
#define BLO_WRITEFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
int BLO_write_file(char *dir, int write_flags, char **error_r);
void BLO_write_runtime(char *file, char *exename);
#ifndef GENFILE_H
#define GENFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct SDNA;
int dna_findstruct_nr(struct SDNA *sdna, char *str);
#ifndef READFILE_H
#define READFILE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct OldNewMap;
typedef struct FileData {
#ifndef FLOATPATCH_H
#define FLOATPATCH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* floating point libs differ at systems... with these defines it comilies at all! */
#ifdef MIPS1
#include <sys/types.h>
#include "util.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define IB_rect (1 << 0)
#define IB_planes (1 << 1)
#define IB_cmap (1 << 2)
#ifndef PLUGIN_H
#define PLUGIN_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "iff.h"
#include "util.h"
#include "floatpatch.h"
#ifndef UTIL_H
#define UTIL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Text;
struct ID;
struct ScriptLink;
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
#include "DNA_listBase.h"
#include "DNA_mesh_types.h"
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct {
PyObject_HEAD
PyObject *dict;
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "BPY_macros.h"
#include "opy_datablock.h"
/** example: DEFFUNC_GETLIST(text) defines a method for getting a list
* of text blocks */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// Example: _GETLIST(name) -> get_namelist
#define _GETLIST(x) get_##x##list
/* Hint: use gcc -E file.c to see what these macros are expanded in */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "api.h" // temporary defines for API version
#include "BPY_listbase_macro.h"
*/
// Note: Functions prefixed with BPY_ are called from blenkernel routines */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "Python.h" /* The python includes themselves. */
#include "compile.h" /* to give us PyCodeObject */
* these prototypes and init functions should be homogenized
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
extern PyObject *init_blender(void);
extern PyObject *init_py_nmesh(void);
extern PyObject *init_py_draw(void);
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
/* tools.c */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
extern PyObject *BPY_incr_ret (PyObject *ob);
extern PyObject *BPY_err_ret_ob (PyObject *type, char *err);
extern int py_err_ret_int (PyObject *type, char *err);
* API defined Object types
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
extern PyTypeObject PyIpoCurve_Type, PyBezTriple_Type;
extern PyTypeObject Button_Type, Buffer_Type;
extern PyTypeObject NMesh_Type, NMFace_Type, NMVert_Type, NMCol_Type;
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
void window_update_curCamera(Object *camera);
* see Makefile
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
#undef EXPERIMENTAL /* undefine this for release, please :-) */
/* Uncomment this if you want to have the new blender module
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
/* b_import.c */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
PyObject *importText (char *name);
PyObject *blender_import (PyObject *self, PyObject *args);
void init_ourImport (void);
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
#include "DNA_mesh_types.h"
#include "DNA_view3d_types.h"
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "BSE_edit.h" // for getname_< >_ei()
#include "BKE_global.h"
#include "BKE_main.h"
*/
/* opy_nmesh.c */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_mesh_types.h"
#define NMesh_Check(v) ((v)->ob_type == &NMesh_Type)
/*****************************/
/* temporar hack for typecasts */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef float (*Matrix4Ptr)[4];
typedef struct {
PyObject_VAR_HEAD
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BLO_DECRYPT_H
#define BLO_DECRYPT_H
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BLO_EN_DE_CRYPT_H
#define BLO_EN_DE_CRYPT_H
* zlib deflate compression wrapper library interface
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BLO_DEFLATE_H
#define BLO_DEFLATE_H
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BLO_ENCRYPT_H
#define BLO_ENCRYPT_H
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef IMB_IMBUF_H
#define IMB_IMBUF_H
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef IMB_IMBUF_TYPES_H
#define IMB_IMBUF_TYPES_H
#ifndef IMB_ALLOCIMBUF_H
#define IMB_ALLOCIMBUF_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
short imb_addrectImBuf(struct ImBuf * ibuf);
#ifndef IMB_AMIGA_H
#define IMB_AMIGA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
struct ImBuf *imb_loadamiga(int *iffmem,int flags);
#ifndef IMB_BITPLANES_H
#define IMB_BITPLANES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
void imb_bptolong(struct ImBuf *ibuf);
#ifndef IMB_BMP_H
#define IMB_BMP_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
int imb_is_a_bmp(void *buf);
#ifndef IMB_CMAP_H
#define IMB_CMAP_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
void imb_makecolarray(struct ImBuf *ibuf, unsigned char *mem, short nocols);
#ifndef IMB_DIVERS_H
#define IMB_DIVERS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
void imb_checkncols(struct ImBuf *ibuf);
#ifndef IMB_FILTER_H
#define IMB_FILTER_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
void imb_filterx(struct ImBuf *ibuf);
#ifndef IMB_HAM_H
#define IMB_HAM_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
short imb_converttoham(struct ImBuf *ibuf);
#ifndef IMB_HAMX_H
#define IMB_HAMX_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
struct ImBuf *imb_loadanim(int *iffmem, int flags);
#ifndef IMB_IFF_H
#define IMB_IFF_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
unsigned short imb_start_iff(struct ImBuf *ibuf, int file);
#ifndef IMB_IRIS_H
#define IMB_IRIS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
struct ImBuf *imb_loadiris(unsigned char *mem, int flags);
#ifndef IMB_JPEG_H
#define IMB_JPEG_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
struct jpeg_compress_struct;
#ifndef IMB_PNG_H
#define IMB_PNG_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
int imb_is_a_png(void *buf);
#ifndef IMB_TARGA_H
#define IMB_TARGA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
int imb_is_a_targa(void *buf);
#include <sys/types.h>
#include <stdio.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef WIN32
#include <unistd.h>
#endif
#ifndef IMBUF_PATCH_H
#define IMBUF_PATCH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* most of imbuf uses this aloc, and it will disappear soon
* (hopefully) (25-10-2001 nzc) */
#include "MEM_guardedalloc.h"
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* rgbyuv is identiek aan rgbbeta */
float rgbyuv[4][4]={ /* afgeleid uit videoframer = Y Cr Cb in kopieen van Francois*/
#include <stddef.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
typedef void* IMG_BrushPtr;
typedef void* IMG_CanvasPtr;
#ifndef _H_IMG_BrushRGBA32
#define _H_IMG_BrushRGBA32
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_PixmapRGBA32.h"
#ifndef _H_IMG_CanvasRGBA32
#define _H_IMG_CanvasRGBA32
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_PixmapRGBA32.h"
#include "IMG_BrushRGBA32.h"
#ifndef _H_IMG_Color
#define _H_IMG_Color
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
class IMG_ColorRGBA;
/**
#ifndef _H_IMG_Line
#define _H_IMG_Line
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_Types.h"
#include <math.h>
#include <stddef.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* A memory pointer for memory of any type.
* It can be used to avoid memory leaks when allocating memory in constructors.
#ifndef _H_IMG_Pixmap
#define _H_IMG_Pixmap
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_Types.h"
#include "IMG_Color.h"
#include "IMG_Rect.h"
#ifndef _H_IMG_PixmapRGBA32
#define _H_IMG_PixmapRGBA32
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_Pixmap.h"
#include "IMG_MemPtr.h"
#ifndef _H_IMG_Rect
#define _H_IMG_Rect
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "IMG_Types.h"
#include "IMG_Line.h"
#ifndef _H_IMG_Types
#define _H_IMG_Types
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef int TInt32;
typedef unsigned char TUns8;
typedef unsigned int TUns32;
#ifndef BDR_DRAWACTION_H
#define BDR_DRAWACTION_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct BezTriple;
struct Ipo;
struct gla2DDrawInfo;
#ifndef BDR_DRAWMESH_H
#define BDR_DRAWMESH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Image;
struct TFace;
struct Object;
#ifndef BDR_DRAWOBJECT_H
#define BDR_DRAWOBJECT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BDR_EDITCURVE_H
#define BDR_EDITCURVE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Curve;
struct Nurb;
struct BezTriple;
#ifndef BDR_EDITFACE_H
#define BDR_EDITFACE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct TFace;
struct Mesh;
#ifndef BDR_EDITMBALL_H
#define BDR_EDITMBALL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void make_editMball(void);
void load_editMball(void);
#ifndef BDR_EDITOBJECT_H
#define BDR_EDITOBJECT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct TransVert;
struct Object;
struct TransOb;
#ifndef BDR_ISECT_H
#define BDR_ISECT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
struct EditVert;
struct EditVlak;
#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);
#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);
#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);
#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);
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Scene;
void set_scene(struct Scene *sce);
#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);
#ifndef BIF_DRAWTEXT_H
#define BIF_DRAWTEXT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ScrArea;
struct SpaceText;
struct Text;
#ifndef BIF_EDITARMATURE_H
#define BIF_EDITARMATURE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct Bone;
struct bArmature;
#ifndef BIF_EDITCONSTRAINT_H
#define BIF_EDITCONSTRAINT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ListBase;
struct Object;
struct bConstraint;
#ifndef BIF_DEFORM_H
#define BIF_DEFORM_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct MDeformVert;
struct MDeformWeight;
#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);
*
* ***** 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);
*
* ***** 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);
#ifndef BIF_EDITKEY_H
#define BIF_EDITKEY_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Key;
struct KeyBlock;
struct Mesh;
#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);
#ifndef BIF_EDITMESH_H
#define BIF_EDITMESH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct EditVlak;
struct EditEdge;
struct EditVert;
#ifndef BIF_EDITNLA_H
#define BIF_EDITNLA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void clever_numbuts_nla(void);
#endif
#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);
#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);
#ifndef BIF_EDITSEQ_H
#define BIF_EDITSEQ_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Sequence;
void add_duplicate_seq(void);
*
* ***** 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);
#ifndef BIF_EDITSOUND_H
#define BIF_EDITSOUND_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bSound;
struct bSample;
struct ListBase;
#ifndef BIF_EDITVIEW_H
#define BIF_EDITVIEW_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Base;
struct Object;
#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);
#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
#ifndef BIF_GLUTIL_H
#define BIF_GLUTIL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct rcti;
struct rctf;
#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.
#ifndef BIF_IMASEL_H
#define BIF_IMASEL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct SpaceImaSel;
struct OneSelectableIma;
struct ScrArea;
#ifndef BIF_INTERFACE_H
#define BIF_INTERFACE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ID;
struct ListBase;
struct ScrArea;
#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
#ifndef BIF_MAINQUEUE_H
#define BIF_MAINQUEUE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define MAXQUEUE 256
unsigned short mainqtest (void);
#ifndef BIF_MYWINDOW_H
#define BIF_MYWINDOW_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct rcti;
/*---*/
#ifndef BIF_OOPS_H
#define BIF_OOPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Curve;
struct Oops;
struct OopsLink;
#ifndef BIF_POSEOBJECT
#define BIF_POSEOBJECT
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* Activates posemode
*/
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct SpaceButs;
void BIF_preview_changed (struct SpaceButs *area);
*
* ***** 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]);
#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,
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BIF_SCREEN_H
#define BIF_SCREEN_H
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef BIF_SPACE_H
#define BIF_SPACE_H
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ScrArea;
typedef struct _SpaceType SpaceType;
* ***** 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;
#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);
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* TBOXX: breedte in pixels */
#define TBOXXL 80
#define TBOXXR 170
#ifndef BIF_USIBLENDER_H
#define BIF_USIBLENDER_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void exit_usiblender(void);
void BIF_init(void);
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef _WIN32
void start_avi_codec(void);
#ifndef BIF_WRITEIMAGE_H
#define BIF_WRITEIMAGE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct ImBuf;
struct EnvMap;
#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);
#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);
#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);
#ifndef BSE_DRAWIPO_H
#define BSE_DRAWIPO_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct EditIpo;
struct View2D;
struct rctf;
#ifndef BSE_DRAWNLA_H
#define BSE_DRAWNLA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void drawnlaspace(void);
#endif /* BSE_DRAWNLA */
#ifndef BSE_DRAWOOPS_H
#define BSE_DRAWOOPS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Oops;
struct uiBlock;
#ifndef BSE_DRAWVIEW_H
#define BSE_DRAWVIEW_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct BGpic;
struct rcti;
#ifndef BSE_EDIT_H
#define BSE_EDIT_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct rcti;
#ifndef BSE_EDITACTION_H
#define BSE_EDITACTION_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bAction;
struct bActionChannel;
struct bPoseChannel;
#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
#ifndef BSE_EDITIPO_H
#define BSE_EDITIPO_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct TransVert;
struct IpoCurve;
struct BezTriple;
#ifndef BSE_EDITIPO_TYPES_H
#define BSE_EDITIPO_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct BezTriple;
typedef struct IpoKey {
#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
#ifndef BSE_FILESEL_H
#define BSE_FILESEL_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct SpaceFile;
struct direntry;
struct ID;
#ifndef BSE_HEADERBUTTONS_H
#define BSE_HEADERBUTTONS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct uiBlock;
struct ID;
#ifndef BSE_SEQUENCE_H
#define BSE_SEQUENCE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct PluginSeq;
struct StripElem;
struct Strip;
#ifndef BSE_TRANS_TYPES_H
#define BSE_TRANS_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
/* struct EditVlak; */
/* struct EditEdge; */
/* 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;
#ifndef BSE_VIEW_H
#define BSE_VIEW_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct BoundBox;
struct View3D;
#ifndef LOD_DEPENDKLUDGE_H
#define LOD_DEPENDKLUDGE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define NAN_DECIMATION
#ifndef TPT_DEPENDKLUDGE_H
#define TPT_DEPENDKLUDGE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define NAN_TPT
//#undef NAN_TPT
#ifndef BLENDEF_H
#define BLENDEF_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#else
#ifndef __BeOS
#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[];
#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 */
#ifndef INTERFACE_H
#define INTERFACE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* general defines */
#define UI_MAX_DRAW_STR 180
#ifndef IPO_H
#define IPO_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct BezTriple;
typedef struct IpoKey {
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define KEY_GETPTR(x) (g_ptrtab ? g_ptrtab[x] : 0)
#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
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
/* MOUSE : 0x00x */
#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
#ifndef OBJFNTDEF
#define OBJFNTDEF
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct chardesc {
short movex, movey; /* advance */
short llx, lly; /* bounding box */
#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);
#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);
#ifndef BLO_IN_DE_FLATE_H
#define BLO_IN_DE_FLATE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BLO_INFLATE_H
#define BLO_INFLATE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_ID_H
#define DNA_ID_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_ACTION_TYPES_H
#define DNA_ACTION_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_view2d_types.h"
#ifndef DNA_ACTUATOR_TYPES_H
#define DNA_ACTUATOR_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Object;
struct Mesh;
struct Scene;
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
#ifndef DNA_ARMATURE_TYPES_H
#define DNA_ARMATURE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_CONSTRAINT_TYPES_H
#define DNA_CONSTRAINT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
#include "DNA_ipo_types.h"
#include "DNA_object_types.h"
#ifndef DNA_CONTROLLER_TYPES_H
#define DNA_CONTROLLER_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bActuator;
struct Text;
struct bSensor;
#ifndef DNA_CURVE_TYPES_H
#define DNA_CURVE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#include "DNA_ID.h"
#ifndef DNA_EFFECT_TYPES_H
#define DNA_EFFECT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* DENK ERAAN: NIEUWE EFFECTEN OOK IN DE WRITEFILE.C IVM DNA!!! */
#define PAF_MAXMULT 4
#ifndef DNA_FILEGLOBAL_TYPES_H
#define DNA_FILEGLOBAL_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/**
* FileGlobal stores a part of the current user-unterface settings at
* the moment of saving, and the file-specific settings.
#ifndef DNA_GROUP_TYPES_H
#define DNA_GROUP_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_listBase.h"
#include "DNA_ID.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
struct Object;
struct Ipo;
#ifndef DNA_IMAGE_TYPES_H
#define DNA_IMAGE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct PackedFile;
#ifndef DNA_IPO_TYPES_H
#define DNA_IPO_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#include "DNA_listBase.h"
#include "DNA_ID.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct Ipo;
typedef struct KeyBlock {
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct MTex;
struct Ipo;
#ifndef DNA_LATTICE_TYPES_H
#define DNA_LATTICE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_ID.h"
struct BPoint;
#ifndef DNA_LISTBASE_H
#define DNA_LISTBASE_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_MATERIAL_TYPES_H
#define DNA_MATERIAL_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* #include "BLI_listBase.h" */
#include "DNA_ID.h"
#ifndef DNA_MESH_TYPES_H
#define DNA_MESH_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#ifndef DNA_META_TYPES_H
#define DNA_META_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-
#ifndef DNA_NLA_TYPES_H
#define DNA_NLA_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct bAction;
struct Ipo;
#ifndef DNA_OBJECT_TYPES_H
#define DNA_OBJECT_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_scriptlink_types.h"
#ifndef DNA_OOPS_TYPES_H
#define DNA_OOPS_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define OOPSX 5.0
#define OOPSY 1.8
#ifndef DNA_PACKEDFILE_TYPES_H
#define DNA_PACKEDFILE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct PackedFile {
int size;
int seek;
#ifndef DNA_PROPERTY_TYPES_H
#define DNA_PROPERTY_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ********************* PROPERTY ************************ */
typedef struct bProperty {
#ifndef DNA_RADIO_TYPES_H
#define DNA_RADIO_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct Radio {
short hemires, maxiter;
short drawtype, flag; /* bit 0 en 1: limits laten zien */
#ifndef DNA_SCENE_TYPES_H
#define DNA_SCENE_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_SCREEN_TYPES_H
#define DNA_SCREEN_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#ifndef DNA_SCRIPTLINK_TYPES_H
#define DNA_SCRIPTLINK_TYPES_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DNA_SDNA_H
#define DNA_SDNA_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#
#
struct SDNA {