Go to the source code of this file.
Data Structures | |
struct | triangle_t |
struct | polyset_t |
Functions | |
void | ASE_Load (const char *filename, qboolean verbose) |
polyset_t * | ASE_GetSurfaceAnimation (int whichSurface) |
Returns an animation (sequence of polysets). | |
int | ASE_GetNumSurfaces (void) |
const char * | ASE_GetSurfaceName (int ndx) |
void | ASE_Free (void) |
Definition in file aselib.h.
void ASE_Free | ( | void | ) |
Definition at line 135 of file aselib.c.
References ASE_FreeGeomObject(), ase_t::currentObject, and i.
int ASE_GetNumSurfaces | ( | void | ) |
Definition at line 143 of file aselib.c.
References ase_t::currentObject.
polyset_t* ASE_GetSurfaceAnimation | ( | int | whichSurface | ) |
Returns an animation (sequence of polysets).
Definition at line 161 of file aselib.c.
References aseGeomObject_t::anim, f, aseMesh_t::faces, aseMeshAnimation_t::frames, i, aseGeomObject_t::materialRef, ase_t::materials, Mem_Alloc, aseMaterial_t::name, aseGeomObject_t::name, name, aseMesh_t::numFaces, aseMeshAnimation_t::numFrames, polyset_t::numtriangles, ase_t::objects, aseTVertex_t::s, aseTVertex_t::t, triangle_t::texcoords, aseMesh_t::tfaces, polyset_t::triangles, aseMesh_t::tvertexes, aseMesh_t::vertexes, triangle_t::verts, aseVertex_t::x, aseVertex_t::y, and aseVertex_t::z.
const char* ASE_GetSurfaceName | ( | int | ndx | ) |
Definition at line 148 of file aselib.c.
References aseGeomObject_t::anim, aseGeomObject_t::name, aseMeshAnimation_t::numFrames, and ase_t::objects.
void ASE_Load | ( | const char * | filename, | |
qboolean | verbose | |||
) |
Definition at line 106 of file aselib.c.
References ASE_Process(), ase_t::buffer, ase_t::curpos, qFILE_s::f, FILE_READ, FS_CloseFile(), FS_FileLength(), FS_OpenFile(), FS_Read(), ase_t::len, Mem_Alloc, Sys_Error(), VERB_EXTRA, Verb_Printf(), ase_t::verbose, and qFILE_s::z.