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