Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Hnidek <jiri.hnidek@tul.cz>2006-08-20 19:22:56 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2006-08-20 19:22:56 +0400
commit2ee42ac01e6f4b154ac68976024af0615f7acb26 (patch)
tree9a2400a99bf7880a2f146c7a89bd2d8c0108374c /source/blender/makesdna
parentffe630b452f4abb28c105fca2b8eb9fdb6e72370 (diff)
Huge commit: VERSE
- All code is in #ifdef ... #endif - Only make build system is supported and you have to add: export WITH_VERSE=true to user-def.mk file - Blender can share only mesh objects and bitmaps now - More informations can be found at wiki: http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlender http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlenderUserDoc I hope, that I didn't forget at anything
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h5
-rw-r--r--source/blender/makesdna/DNA_image_types.h3
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h4
-rw-r--r--source/blender/makesdna/DNA_object_types.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index f9a824eec27..847f7123150 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -140,6 +140,11 @@ typedef struct Library {
/* used in outliner... */
#define ID_NLA MAKE_ID2('N', 'L')
+/*#ifdef WITH_VERSE*/
+#define ID_VS MAKE_ID2('V', 'S') /* fake id for VerseSession, needed for outliner */
+#define ID_VN MAKE_ID2('V', 'N') /* fake id for VerseNode, needed for outliner */
+/*#endif*/
+
/* id->flag: set frist 8 bits always at zero while reading */
#define LIB_LOCAL 0
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index da8787d05ab..ad8b3daf657 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -73,6 +73,9 @@ typedef struct Image {
short animspeed;
short reserved1;
int reserved2;
+/*#ifdef WITH_VERSE*/
+ void *vnode; /* pointer at verse bitmap node */
+/*#endif*/
} Image;
/* in Image struct */
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 6f477e963c6..a57791be06d 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -99,6 +99,10 @@ typedef struct Mesh {
short totcol;
short subsurftype;
+/*ifdef WITH_VERSE*/
+ /* not written in file, pointer at geometry VerseNode */
+ void *vnode;
+/*#endif*/
} Mesh;
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index e8573f3da4a..9cdb5054493 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -201,6 +201,10 @@ typedef struct Object {
struct FluidsimSettings *fluidsimSettings; /* if fluidsim enabled, store additional settings */
struct DerivedMesh *derivedDeform, *derivedFinal;
+
+/*#ifdef WITH_VERSE*/
+ void *vnode; /* pointer at object VerseNode */
+/*#endif*/
} Object;
typedef struct ObHook {