diff options
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blender/nodes/Makefile | 6 | ||||
-rw-r--r-- | source/blender/nodes/SConscript | 4 | ||||
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/Makefile | 2 | ||||
-rw-r--r-- | source/blender/nodes/intern/CMP_util.h | 19 | ||||
-rw-r--r-- | source/blender/nodes/intern/Makefile | 5 | ||||
-rw-r--r-- | source/blender/nodes/intern/SHD_nodes/Makefile | 2 | ||||
-rw-r--r-- | source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c | 11 | ||||
-rw-r--r-- | source/blender/nodes/intern/SHD_util.h | 23 |
9 files changed, 28 insertions, 46 deletions
diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt index cf83804b999..7f003cb2b42 100644 --- a/source/blender/nodes/CMakeLists.txt +++ b/source/blender/nodes/CMakeLists.txt @@ -26,7 +26,7 @@ FILE(GLOB SRC intern/*.c intern/CMP_nodes/*.c intern/SHD_nodes/*.c) SET(INC - . ../../../intern/guardedalloc ../include ../blenlib ../makesdna + . ../../../intern/guardedalloc ../editors/include ../blenlib ../makesdna ../python ../render/extern/include ../../../intern/decimation/extern ../imbuf ../avi ../../../intern/elbeem/extern ../../../intern/iksolver/extern ../blenloader ../quicktime diff --git a/source/blender/nodes/Makefile b/source/blender/nodes/Makefile index ee0c82fad62..57f57ebebfe 100644 --- a/source/blender/nodes/Makefile +++ b/source/blender/nodes/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile # # ***** BEGIN GPL LICENSE BLOCK ***** # @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. +# The Original Code is Copyright (C) Blender Foundation. # All rights reserved. # # The Original Code is: all of this file. @@ -29,6 +29,6 @@ # Bounces make to subdirectories. SOURCEDIR = source/blender/nodes -DIRS = intern intern/CMP_nodes intern/SHD_nodes +DIRS = intern include nan_subdirs.mk diff --git a/source/blender/nodes/SConscript b/source/blender/nodes/SConscript index 0cfef20dae7..5f7f29dab83 100644 --- a/source/blender/nodes/SConscript +++ b/source/blender/nodes/SConscript @@ -6,7 +6,7 @@ sources += env.Glob('intern/CMP_nodes/*.c') sources += env.Glob('intern/SHD_nodes/*.c') incs = '. ./intern ' -incs += '#/intern/guardedalloc ../include ../blenlib ../makesdna' +incs += '#/intern/guardedalloc ../editors/include ../blenlib ../makesdna' incs += ' ../render/extern/include ' incs += ' ../imbuf ../avi ' incs += ' ../blenloader' @@ -47,4 +47,4 @@ if env['WITH_BF_QUICKTIME']: defs += ' WITH_CCGSUBSURF ' -env.BlenderLib ( libname = 'nodes', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [65, 20] ) +env.BlenderLib ( libname = 'bf_nodes', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [80, 15] ) diff --git a/source/blender/nodes/intern/CMP_nodes/Makefile b/source/blender/nodes/intern/CMP_nodes/Makefile index 8a8d323ac5b..b70b591a588 100644 --- a/source/blender/nodes/intern/CMP_nodes/Makefile +++ b/source/blender/nodes/intern/CMP_nodes/Makefile @@ -39,7 +39,7 @@ CPPFLAGS += -I../../../blenkernel CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include CPPFLAGS += -I../../../makesdna CPPFLAGS += -I../../../blenlib -CPPFLAGS += -I../../../include +CPPFLAGS += -I../../../editors/include CPPFLAGS += -I../../../imbuf CPPFLAGS += -I../../../render/extern/include CPPFLAGS += -I$(NAN_GLEW)/include diff --git a/source/blender/nodes/intern/CMP_util.h b/source/blender/nodes/intern/CMP_util.h index e111632a195..8443c022d17 100644 --- a/source/blender/nodes/intern/CMP_util.h +++ b/source/blender/nodes/intern/CMP_util.h @@ -46,8 +46,6 @@ #include "DNA_node_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "DNA_space_types.h" -#include "DNA_screen_types.h" #include "DNA_texture_types.h" #include "DNA_userdef_types.h" @@ -67,14 +65,6 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "BIF_interface.h" -#include "BIF_interface_icons.h" -#include "BIF_language.h" -#include "BIF_mywindow.h" -#include "BIF_previewrender.h" -#include "BIF_resources.h" -#include "BIF_screen.h" -#include "BIF_space.h" #include "BLI_arithb.h" #include "BLI_blenlib.h" @@ -84,17 +74,12 @@ #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "BSE_drawipo.h" -#include "BSE_node.h" -#include "BSE_view.h" - #include "RE_pipeline.h" #include "RE_shader_ext.h" #include "RE_render_ext.h" -#include "butspace.h" -#include "blendef.h" -#include "mydevice.h" +//XXX #include "butspace.h" +//XXX #include "wm_event_types.h" /* *************************** operations support *************************** */ diff --git a/source/blender/nodes/intern/Makefile b/source/blender/nodes/intern/Makefile index 6167cf6bc72..7c9a67b6cc5 100644 --- a/source/blender/nodes/intern/Makefile +++ b/source/blender/nodes/intern/Makefile @@ -39,9 +39,12 @@ CPPFLAGS += -I../../blenkernel CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include CPPFLAGS += -I../../makesdna CPPFLAGS += -I../../blenlib -CPPFLAGS += -I../../include +CPPFLAGS += -I../../editors/include CPPFLAGS += -I../../imbuf CPPFLAGS += -I../../render/extern/include CPPFLAGS += -I../../gpu CPPFLAGS += -I$(NAN_GLEW)/include CPPFLAGS += -I$(OPENGL_HEADERS) + +DIRS = SHD_nodes CMP_nodes +include nan_subdirs.mk diff --git a/source/blender/nodes/intern/SHD_nodes/Makefile b/source/blender/nodes/intern/SHD_nodes/Makefile index ae3cae029d2..1369d346fc6 100644 --- a/source/blender/nodes/intern/SHD_nodes/Makefile +++ b/source/blender/nodes/intern/SHD_nodes/Makefile @@ -41,7 +41,7 @@ CPPFLAGS += -I../../../blenkernel CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include CPPFLAGS += -I../../../makesdna CPPFLAGS += -I../../../blenlib -CPPFLAGS += -I../../../include +CPPFLAGS += -I../../../editors/include CPPFLAGS += -I../../../imbuf CPPFLAGS += -I../../../render/extern/include CPPFLAGS += -I../../../gpu diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c index 2065ac2ed33..4fcfe3a789a 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c @@ -37,14 +37,19 @@ #include "BKE_text.h" #include "BKE_utildefines.h" +// XXX +#if 0 #ifndef DISABLE_PYTHON #include "api2_2x/Node.h" #include "api2_2x/gen_utils.h" #include "BPY_extern.h" #endif +#endif #include "../SHD_util.h" +// XXX +#if 0 static void node_dynamic_setup(bNode *node); static void node_dynamic_exec_cb(void *data, bNode *node, bNodeStack **in, bNodeStack **out); static void node_dynamic_free_storage_cb(bNode *node); @@ -761,4 +766,10 @@ bNodeType node_dynamic_typeinfo = { /* id */ NULL }; +#else + +bNodeType node_dynamic_typeinfo = {NULL}; + +#endif + diff --git a/source/blender/nodes/intern/SHD_util.h b/source/blender/nodes/intern/SHD_util.h index eda985529c1..0d9783fdd4b 100644 --- a/source/blender/nodes/intern/SHD_util.h +++ b/source/blender/nodes/intern/SHD_util.h @@ -31,6 +31,7 @@ #define SHD_NODE_UTIL_H_ #include <math.h> +#include <float.h> #include <string.h> #include "MEM_guardedalloc.h" @@ -44,8 +45,6 @@ #include "DNA_node_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "DNA_space_types.h" -#include "DNA_screen_types.h" #include "DNA_texture_types.h" #include "DNA_userdef_types.h" @@ -62,17 +61,6 @@ #include "../SHD_node.h" #include "node_util.h" -#include "BIF_gl.h" -#include "BIF_glutil.h" -#include "BIF_interface.h" -#include "BIF_interface_icons.h" -#include "BIF_language.h" -#include "BIF_mywindow.h" -#include "BIF_previewrender.h" -#include "BIF_resources.h" -#include "BIF_screen.h" -#include "BIF_space.h" - #include "BLI_arithb.h" #include "BLI_blenlib.h" #include "BLI_rand.h" @@ -81,18 +69,13 @@ #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "BSE_drawipo.h" -#include "BSE_node.h" -#include "BSE_view.h" - #include "RE_pipeline.h" #include "RE_shader_ext.h" #include "GPU_material.h" -#include "butspace.h" -#include "blendef.h" -#include "mydevice.h" +//XXX #include "butspace.h" +//XXX #include "wm_event_types.h" /* ********* exec data struct, remains internal *********** */ |