diff options
Diffstat (limited to '')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_lwo/imp_lwo.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_lwo/imp_lwo.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_lwo/imp_lwo.h new file mode 100644 index 0000000..84aba2d --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_lwo/imp_lwo.h | |||
@@ -0,0 +1,48 @@ | |||
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_LWO_H | ||
23 | #define _IMP_LWO_H | ||
24 | |||
25 | #include <stdio.h> | ||
26 | #include <g3d/types.h> | ||
27 | |||
28 | #define LWO_FLAG_LWO2 (1 << 0) | ||
29 | |||
30 | typedef struct { | ||
31 | gint32 ntags; | ||
32 | gchar **tags; | ||
33 | |||
34 | gint32 nclips; | ||
35 | guint32 *clips; | ||
36 | gchar **clipfiles; | ||
37 | |||
38 | G3DFloat *tex_vertices; | ||
39 | |||
40 | G3DObject *object; | ||
41 | } LwoObject; | ||
42 | |||
43 | G3DObject *lwo_create_object(G3DStream *stream, G3DModel *model, | ||
44 | guint32 flags); | ||
45 | gint lwo_read_string(G3DStream *stream, gchar *s); | ||
46 | guint32 lwo_read_vx(G3DStream *stream, guint *index); | ||
47 | |||
48 | #endif /* _IMP_LWO_H */ | ||