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:
Kent Mein 2002-11-25 12:02:15 +00:00
parent b9a19f1ea7
commit d0e346d544
251 changed files with 1028 additions and 79 deletions

@ -40,6 +40,11 @@
#include "OpenALC-Api.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32)
#include <io.h>
#else

@ -46,6 +46,10 @@
#include "endian.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static int AVI_DEBUG=0;
static char DEBUG_FCC[4];

@ -41,6 +41,10 @@
#include "mjpeg.h"
#include "rgb32.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void *avi_format_convert (AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, int *size) {
if (from == to)
return buffer;

@ -43,6 +43,10 @@
#include "mjpeg.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define PADUP(num, amt) ((num+(amt-1))&~(amt-1))
static void jpegmemdestmgr_build (j_compress_ptr cinfo, unsigned char *buffer, int bufsize);

@ -37,9 +37,12 @@
#include "AVI_avi.h"
#include "avi_intern.h"
#include "endian.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* avi_set_compress_options gets its own file... now don't WE feel important? */
AviError AVI_set_compress_option (AviMovie *movie, int option_type, int stream, AviOption option, void *opt_data) {

@ -38,9 +38,12 @@
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "rgb32.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size) {
int y, x, rowstridea, rowstrideb;
unsigned char *buf;

@ -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

@ -35,10 +35,13 @@
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_dynstr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/***/
typedef struct DynStrElem DynStrElem;

@ -35,9 +35,12 @@
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/***/
static unsigned int hashsizes[]= {

@ -36,6 +36,10 @@
#include "BLI_linklist.h"
#include "BLI_memarena.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int BLI_linklist_length(LinkNode *list) {
if (0) {
return list?(1+BLI_linklist_length(list->next)):0;

@ -37,6 +37,10 @@
#include "BLI_memarena.h"
#include "BLI_linklist.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct MemArena {
unsigned char *curbuf;
int bufsize, cursize;

@ -44,6 +44,10 @@
#include <string.h>
#include <float.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __sun__
#include <strings.h>
#endif

@ -30,9 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include <stdlib.h>
#include "../PIL_dynlib.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
* XXX, should use mallocN so we can see
* handle's not being released. fixme zr

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

@ -32,9 +32,12 @@
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_gsqueue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct _GSQueueElem GSQueueElem;
struct _GSQueueElem {
GSQueueElem *next;

@ -41,6 +41,11 @@
#include "MTC_matrixops.h"
#include "MTC_vectorops.h"
/* ------------------------------------------------------------------------- */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "BLI_winstuff.h"
#endif

@ -35,6 +35,10 @@
#include <math.h>
#include "BLI_blenlib.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef _WIN32
#pragma warning (once : 4244) // "conversion from double to float"
#pragma warning (once : 4305) // "truncation from const double to float"

@ -46,6 +46,10 @@
#include "DNA_packedFile_types.h"
#include "DNA_curve_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ObjFnt types */
typedef struct chardesc {

@ -32,6 +32,10 @@
#include "PIL_time.h"
#include "BLI_rand.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
typedef unsigned __int64 r_uint64;
#else

@ -41,6 +41,10 @@
#include "DNA_vec_types.h"
#include "BLI_blenlib.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int BLI_rcti_is_empty(rcti * rect)
{
return ((rect->xmax<=rect->xmin) ||

@ -46,6 +46,10 @@
#include "BLI_scanfill.h"
#include "BLI_callbacks.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* callbacks for errors and interrupts and some goo */
static void (*BLI_localErrorCallBack)(char*) = NULL;
static int (*BLI_localInterruptCallBack)(void) = NULL;

@ -36,6 +36,10 @@
#include <stdio.h>
#include <stdlib.h> /* voorkomt dat je bij malloc type moet aangeven */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <windows.h>

@ -31,6 +31,10 @@
*/
#include "PIL_time.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <windows.h>

@ -46,6 +46,10 @@
#include "BLI_util.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#include <unistd.h>
#else

@ -44,6 +44,10 @@
#include "MTC_vectorops.h"
#include <math.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void MTC_diff3Int(int v1[3], int v2[3], int v3[3])
{
v1[0] = v2[0] - v3[0];

@ -31,6 +31,10 @@
* Windows-posix compatibility layer, windows-specific functions.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <stdlib.h>

@ -31,6 +31,10 @@
* DNA handling
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#include <unistd.h> // for read close
#else

@ -31,6 +31,10 @@
* .blend file reading entry point
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "BLI_winstuff.h"
#endif

@ -31,6 +31,10 @@
* .blend file reading
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "winsock2.h"
#include "BLI_winstuff.h"

@ -74,6 +74,10 @@ ACHTER LibBlock
- schrijf USER als aangegeven (~/.B.blend)
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#include <unistd.h>
#else

@ -41,6 +41,10 @@
* - util.h : Useful defines, memory management.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include "blenpluginapi\util.h"
#else

@ -51,9 +51,12 @@ c = module.Const['CONSTANT']
#include "Python.h"
#include "BPY_macros.h"
#include "BPY_constobject.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define Const_Check(v) ((v)->ob_type == &Const_Type)

@ -33,17 +33,17 @@
// TODO
#include "Python.h"
#include "BPY_csg.h"
#include "BKE_booleanops_mesh.h"
#include "BKE_booleanops.h"
#include "MEM_guardedalloc.h"
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef DEBUG
#define CSG_DEBUG(str) \
{ printf str; }

@ -40,6 +40,10 @@
#include "BPY_macros.h"
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
PyObject *INITMODULE(Image)(void);
/* Image_Get */

@ -44,6 +44,10 @@
#include "BSE_editipo.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* GLOBALS */
/* These should be put into a proper dictionary for quicker retrieval..*/

@ -37,6 +37,10 @@
#include "BPY_macros.h"
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* GLOBALS */
PyObject *g_blenderdict;

@ -46,6 +46,10 @@
#include "mydevice.h"
#include "import.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* PROTOS */
extern void init_frozenmodules(void); // frozen module library

@ -41,6 +41,10 @@
#include "BLI_arithb.h" /* Mat4Invert */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* PROTOS */

@ -52,6 +52,10 @@
#include "BPY_macros.h"
#include "BPY_window.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* DEFINES */
#define CHECK_VALIDSCENE(x) CHECK_VALIDDATA(x, \

@ -74,6 +74,10 @@
#include "b_interface.h"
#include "opy_datablock.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
DATABLOCK_GET(Textmodule, text object, getTextList())
#define CHECK_VALIDTEXT(x) CHECK_VALIDDATA(x, \

@ -34,6 +34,10 @@
#include "BKE_global.h"
#include "BPY_tools.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* These should all have BPY prefixes later on */
PyObject *BPY_incr_ret(PyObject *ob) {

@ -40,8 +40,6 @@
*/
#include "DNA_text_types.h"
#include "Python.h"
#include "import.h"
@ -49,14 +47,15 @@
#include "BKE_main.h"
#include "BKE_library.h"
#include "BKE_text.h"
#include "BLI_blenlib.h" // mallocs
#include "BPY_macros.h"
#include "BPY_main.h"
#include "b_import.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ---------------------------------------------------------------------------- */

@ -58,6 +58,10 @@
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/************************************************************************
* Generic low level routines
*

@ -59,6 +59,10 @@
//#include "screen.h"
//#include "ipo.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void INITMODULE(BLENDERMODULE)(void);
PyObject *g_sysmodule;

@ -99,6 +99,10 @@
#include "b_interface.h" /* needed for most of the DNA datatypes */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ---------------------------------------------------------------------- */

@ -41,6 +41,10 @@
#include "BLI_arithb.h"
#include "opy_vector.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
PyObject *BPY_tuple_repr(PyObject *self, int size);
/* PROTOS */

@ -59,6 +59,11 @@
#include "opy_vector.h"
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* PROTOS */
static int convert_NMeshToMesh(Mesh *mesh, NMesh *nmesh);

@ -38,7 +38,9 @@
#include "BPY_modules.h"
#include "opy_vector.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*****************************/
/* Vector Python Object */

@ -54,6 +54,9 @@
#include "DNA_view3d_types.h"
#include "DNA_space_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*********************************/
/* helper routines */

@ -48,6 +48,10 @@
#include "BLO_decrypt.h"
#include "BLO_en_de_cryptHeader.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct decryptStructType {
struct readStreamGlueStruct *streamGlue;
unsigned int streamDone;

@ -38,6 +38,10 @@
#include "BLO_readStreamErrors.h"
#include "BLO_decrypt.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
BLO_decryptStructHandle
BLO_decrypt_begin(
void *endControl)

@ -42,6 +42,10 @@
#include "BLO_deflate.h"
#include "BLO_in_de_flateHeader.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// TODO use other error function
static int CHECK_ERR(int err, char *msg);

@ -37,6 +37,10 @@
#include "BLO_streamglue.h"
#include "BLO_deflate.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int
BLO_deflate(
unsigned char *data,

@ -55,6 +55,10 @@
#include "BLO_deflate.h"
#include "BLO_writeStreamGlue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct streamGlueControlStruct *Global_streamGlueControl;
void printStreamGlueHeader(struct streamGlueHeaderStruct *s)

@ -34,6 +34,10 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>

@ -44,6 +44,10 @@
#include "IMB_divers.h"
#include "IMB_allocimbuf.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static unsigned int dfltcmap[16] = {
0x00000000, 0xffffffff, 0x777777ff, 0xccccccff,
0xcc3344ff, 0xdd8844ff, 0xccdd44ff, 0x888833ff,

@ -43,6 +43,10 @@
#include "IMB_bitplanes.h"
#include "IMB_amiga.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* actually hard coded endianness */
#define GET_BIG_LONG(x) (((uchar *) (x))[0] << 24 | ((uchar *) (x))[1] << 16 | ((uchar *) (x))[2] << 8 | ((uchar *) (x))[3])
#define GET_LITTLE_LONG(x) (((uchar *) (x))[3] << 24 | ((uchar *) (x))[2] << 16 | ((uchar *) (x))[1] << 8 | ((uchar *) (x))[0])

@ -41,6 +41,10 @@
#include <commdlg.h>
#include <vfw.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#undef AVIIF_KEYFRAME // redefined in AVI_avi.h
#undef AVIIF_LIST // redefined in AVI_avi.h

@ -40,9 +40,12 @@
#include "imbuf_patch.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_allocimbuf.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* werking:
1 - zoek een overgang in een kolom

@ -39,10 +39,12 @@
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_allocimbuf.h"
#include "IMB_bitplanes.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
unsigned int **imb_copyplanelist(struct ImBuf *ibuf)
{

@ -40,11 +40,13 @@
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_allocimbuf.h"
#include "IMB_cmap.h"
#include "IMB_bmp.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// some code copied from article on microsoft.com, copied
// here for enhanced BMP support in the future

@ -42,6 +42,10 @@
#include "IMB_cmap.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static short *lastcube = 0;
static uchar *lastcoltab = 0;
static short lastmaxcol;

@ -37,6 +37,10 @@
#include "imbuf_patch.h"
#include "IMB_imbuf_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/************************************************************************/
/* COLORSPACE */
/************************************************************************/

@ -35,6 +35,10 @@
#include "imbuf.h"
#include "matrix.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
static short quadbase[31] = {
150,133,117,102,

@ -39,6 +39,10 @@
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void IMB_dit0(struct ImBuf * ibuf, short ofs, short bits)
{
int x, y, and, add, pix;

@ -38,9 +38,11 @@
#include "imbuf_patch.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_divers.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void imb_checkncols(struct ImBuf *ibuf)
/* struct ImBuf *ibuf; */

@ -38,9 +38,12 @@
#include "imbuf_patch.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_filter.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/************************************************************************/
/* FILTERS */

@ -38,11 +38,14 @@
#include "imbuf_patch.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_cmap.h"
#include "IMB_hamx.h"
#include "IMB_ham.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern short alpha_col0;
#define HAMB 0x0100

Some files were not shown because too many files have changed in this diff Show More