diff options
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_skp/imp_skp_chunks.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_skp/imp_skp_chunks.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_skp/imp_skp_chunks.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_skp/imp_skp_chunks.h new file mode 100644 index 0000000..bbee439 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_skp/imp_skp_chunks.h | |||
@@ -0,0 +1,62 @@ | |||
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 | |||
23 | #ifndef _IMP_SKP_CHUNKS_H | ||
24 | #define _IMP_SKP_CHUNKS_H | ||
25 | |||
26 | #include "imp_skp_callbacks.h" | ||
27 | |||
28 | typedef struct { | ||
29 | gchar *id; | ||
30 | guint32 min_ver; | ||
31 | guint32 max_ver; | ||
32 | SkpCallback callback; | ||
33 | } SkpChunkDesc; | ||
34 | |||
35 | static SkpChunkDesc skp_chunks[] = { | ||
36 | { "CArcCurve", 1, 1, skp_cb_arc_curve }, | ||
37 | { "CAttributeContainer", 0, 0, skp_cb_attribute_container }, | ||
38 | { "CAttributeNamed", 0, 0, skp_cb_attribute_named }, | ||
39 | { "CCamera", 4, 5, NULL }, | ||
40 | { "CComponentDefinition", 10, 10, skp_cb_component_definition }, | ||
41 | { "CComponentInstance", 4, 4, NULL }, | ||
42 | { "CCurve", 4, 4, NULL }, | ||
43 | { "CDib", 2, 3, NULL }, | ||
44 | { "CEdge", 2, 2, NULL }, | ||
45 | { "CEdgeUse", 1, 1, skp_cb_edge_use }, | ||
46 | { "CFace", 3, 3, NULL }, | ||
47 | { "CFaceTextureCoords", 4, 4, skp_cb_face_texture_coords }, | ||
48 | { "CGroup", 1, 1, NULL }, | ||
49 | { "CLayer", 2, 2, skp_cb_layer }, | ||
50 | { "CLoop", 1, 1, NULL }, | ||
51 | { "CMaterial", 12, 12, skp_cb_material }, | ||
52 | { "CRelationship", 0, 0, NULL }, | ||
53 | { "CSkFont", 0, 1, NULL }, | ||
54 | { "CSkpStyle", 1, 1, NULL }, | ||
55 | { "CThumbnail", 1, 1, NULL }, | ||
56 | { "CVertex", 0, 0, skp_cb_vertex }, | ||
57 | { "CViewPage", 9, 11, NULL }, | ||
58 | |||
59 | { NULL, 0, 0, NULL } | ||
60 | }; | ||
61 | |||
62 | #endif /* _IMP_SKP_CHUNKS_H */ | ||