diff options
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_blend/imp_blend_sdna.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_blend/imp_blend_sdna.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_blend/imp_blend_sdna.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_blend/imp_blend_sdna.h new file mode 100644 index 0000000..a95369f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_blend/imp_blend_sdna.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /* $Id:$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | #ifndef _IMP_BLEND_SDNA_H | ||
23 | #define _IMP_BLEND_SDNA_H | ||
24 | |||
25 | #include <g3d/stream.h> | ||
26 | |||
27 | #include "imp_blend_types.h" | ||
28 | |||
29 | /* as in #if DEBUG > BLEND_DEBUG_STRUCT */ | ||
30 | #define BLEND_DEBUG_STRUCT 1 | ||
31 | |||
32 | BlendSdna *blend_sdna_read_dna1(G3DStream *stream, guint32 flags, gint32 len); | ||
33 | void blend_sdna_cleanup(BlendSdna *sdna); | ||
34 | |||
35 | const BlendSdnaStruct *blend_sdna_get_struct_by_id(BlendSdna *sdna, | ||
36 | guint32 sdnanr); | ||
37 | const BlendSdnaStruct *blend_sdna_get_struct_by_name(BlendSdna *sdna, | ||
38 | const gchar *name); | ||
39 | |||
40 | BlendSdnaData *blend_sdna_data_read(BlendSdna *sdna, | ||
41 | const BlendSdnaStruct *sstruct, BlendGlobal *global, gsize *r, | ||
42 | guint32 level); | ||
43 | void blend_sdna_data_free(BlendSdnaData *sdata); | ||
44 | |||
45 | BlendSdnaPropData *blend_sdna_get_property(BlendSdnaData *sdata, | ||
46 | const gchar *name, BlendSdnaPropType type); | ||
47 | |||
48 | #if DEBUG > 0 | ||
49 | gboolean blend_sdna_dump_data(BlendSdnaData *sdata, guint32 level); | ||
50 | gboolean blend_sdna_dump_struct(BlendSdna *sdna, guint32 sdnanr); | ||
51 | #endif | ||
52 | |||
53 | #endif /* _IMP_BLEND_SDNA_H */ | ||