diff options
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_iob/imp_iob_chunks.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_iob/imp_iob_chunks.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_iob/imp_iob_chunks.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_iob/imp_iob_chunks.h new file mode 100644 index 0000000..1a10d44 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_iob/imp_iob_chunks.h | |||
@@ -0,0 +1,73 @@ | |||
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_IOB_CHUNKS_H | ||
23 | #define _IMP_IOB_CHUNKS_H | ||
24 | |||
25 | #include <g3d/iff.h> | ||
26 | |||
27 | #include "imp_iob_callbacks.h" | ||
28 | |||
29 | static G3DIffChunkInfo iob_chunks[] = { | ||
30 | { "AXIS", "coordinate system", 0, NULL }, | ||
31 | { "BBOX", "bounding box data", 0, NULL }, | ||
32 | { "BRS4", "brush (4)", 0, NULL }, | ||
33 | { "BRS5", "brush (5)", 0, NULL }, | ||
34 | { "COLR", "color", 0, iob_cb_COLR }, | ||
35 | { "CLS2", "color list (2)", 0, iob_cb_xLSx }, | ||
36 | { "CLST", "color list", 0, iob_cb_xLSx }, | ||
37 | { "DESC", "object description", 1, iob_cb_DESC }, | ||
38 | { "EDG2", "edges", 0, iob_cb_EDGx }, | ||
39 | { "EDGE", "edges", 0, iob_cb_EDGx }, | ||
40 | { "EFLG", "edge flags", 0, NULL }, | ||
41 | { "FACE", "faces", 0, iob_cb_FACx }, | ||
42 | { "FAC2", "faces (2)", 0, iob_cb_FACx }, | ||
43 | { "FGR2", "face group (2)", 0, NULL }, | ||
44 | { "FGR3", "face group (3)", 0, NULL }, | ||
45 | { "FGR4", "face group (4)", 0, NULL }, | ||
46 | { "INT1", "light intensity (1)", 0, NULL }, | ||
47 | { "NAME", "name", 0, iob_cb_NAME }, | ||
48 | { "OBJ ", "object", 1, NULL }, | ||
49 | { "PART", "particle parameters", 0, NULL }, | ||
50 | { "PNT2", "points (2)", 0, iob_cb_PNTx }, | ||
51 | { "PNTS", "points", 0, iob_cb_PNTx }, | ||
52 | { "POSI", "position in world", 0, NULL }, | ||
53 | { "PRP1", "properties (1)", 0, NULL }, | ||
54 | { "PRP2", "properties (2)", 0, NULL }, | ||
55 | { "REFL", "reflection", 0, iob_cb_REFL }, | ||
56 | { "RLS2", "reflection list (2)", 0, iob_cb_xLSx }, | ||
57 | { "RLST", "reflection list", 0, iob_cb_xLSx }, | ||
58 | { "SPC1", "specularity (1)", 0, NULL }, | ||
59 | { "SPC2", "specularity (2)", 0, NULL }, | ||
60 | { "SHAP", "shape type", 0, NULL }, | ||
61 | { "SHP2", "shape type (2)", 0, NULL }, | ||
62 | { "SIZE", "size", 0, NULL }, | ||
63 | { "TLS2", "transparency list", 0, iob_cb_xLSx }, | ||
64 | { "TLST", "transparency list (2)", 0, iob_cb_xLSx }, | ||
65 | { "TOBJ", "end of object", 0, NULL }, | ||
66 | { "TRAN", "transparency", 0, iob_cb_TRAN }, | ||
67 | { "TXT3", "texture data (3)", 0, NULL }, | ||
68 | { "TXT4", "texture data (4)", 0, NULL }, | ||
69 | |||
70 | { NULL, NULL, 0, NULL } | ||
71 | }; | ||
72 | |||
73 | #endif /* _IMP_IOB_CHUNKS_H */ | ||