UFO: Alien Invasion
Loading...
Searching...
No Matches
aselib.h
Go to the documentation of this file.
1
4
5/*
6Copyright (C) 1999-2007 id Software, Inc. and contributors.
7For a list of contributors, see the accompanying CONTRIBUTORS file.
8
9This file is part of GtkRadiant.
10
11GtkRadiant is free software; you can redistribute it and/or modify
12it under the terms of the GNU General Public License as published by
13the Free Software Foundation; either version 2 of the License, or
14(at your option) any later version.
15
16GtkRadiant is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License
22along with GtkRadiant; if not, write to the Free Software
23Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26#pragma once
27
29
30typedef struct {
35
36typedef struct {
37 char name[100];
38 char materialname[100];
41} polyset_t;
42
43void ASE_Load(const char* filename, bool verbose);
44polyset_t* ASE_GetSurfaceAnimation(int whichSurface);
45int ASE_GetNumSurfaces(void);
46const char* ASE_GetSurfaceName(int ndx);
47void ASE_Free(void);
int ASE_GetNumSurfaces(void)
Definition aselib.cpp:137
void ASE_Load(const char *filename, bool verbose)
Definition aselib.cpp:106
const char * ASE_GetSurfaceName(int ndx)
Definition aselib.cpp:142
polyset_t * ASE_GetSurfaceAnimation(int whichSurface)
Returns an animation (sequence of polysets).
Definition aselib.cpp:155
void ASE_Free(void)
Definition aselib.cpp:131
const char * filename
Definition ioapi.h:41
char name[100]
Definition aselib.h:37
triangle_t * triangles
Definition aselib.h:39
char materialname[100]
Definition aselib.h:38
int numtriangles
Definition aselib.h:40
vec3_t normals[3]
Definition aselib.h:32
vec2_t texcoords[3]
Definition aselib.h:33
vec3_t verts[3]
Definition aselib.h:31
vec_t vec3_t[3]
Definition ufotypes.h:39
vec_t vec2_t[2]
Definition ufotypes.h:38