aselib.h

Go to the documentation of this file.
00001 
00005 /*
00006 Copyright (C) 1999-2007 id Software, Inc. and contributors.
00007 For a list of contributors, see the accompanying CONTRIBUTORS file.
00008 
00009 This file is part of GtkRadiant.
00010 
00011 GtkRadiant is free software; you can redistribute it and/or modify
00012 it under the terms of the GNU General Public License as published by
00013 the Free Software Foundation; either version 2 of the License, or
00014 (at your option) any later version.
00015 
00016 GtkRadiant is distributed in the hope that it will be useful,
00017 but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 GNU General Public License for more details.
00020 
00021 You should have received a copy of the GNU General Public License
00022 along with GtkRadiant; if not, write to the Free Software
00023 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00024 */
00025 
00026 
00027 typedef struct {
00028     vec3_t verts[3];
00029     vec3_t normals[3];
00030     vec2_t texcoords[3];
00031 } triangle_t;
00032 
00033 typedef struct {
00034     char name[100];
00035     char materialname[100];
00036     triangle_t *triangles;
00037     int numtriangles;
00038 } polyset_t;
00039 
00040 void ASE_Load(const char *filename, qboolean verbose);
00041 polyset_t *ASE_GetSurfaceAnimation(int whichSurface);
00042 int ASE_GetNumSurfaces(void);
00043 const char *ASE_GetSurfaceName(int ndx);
00044 void ASE_Free(void);

Generated by  doxygen 1.6.2