UFO: Alien Invasion
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
textures.h
Go to the documentation of this file.
1
5
/*
6
All original material Copyright (C) 2002-2020 UFO: Alien Invasion.
7
8
Copyright (C) 1997-2001 Id Software, Inc.
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
See the GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25
*/
26
27
#pragma once
28
29
#include "../../shared/mathlib.h"
/* for vec3_t */
30
#include "../../shared/defines.h"
31
#include "../../shared/ufotypes.h"
32
33
typedef
struct
{
34
char
name
[
MAX_TEXPATH
];
35
bool
footstepMarked
;
36
bool
materialMarked
;
37
}
textureref_t
;
38
39
extern
textureref_t
textureref
[
MAX_MAP_TEXTURES
];
40
int
FindMiptex
(
const
char
*
name
);
41
int
TexinfoForBrushTexture
(
plane_t
* plane,
brush_texture_t
* bt,
const
vec3_t
origin
,
bool
isTerrain);
origin
voidpf uLong int origin
Definition:
ioapi.h:45
textureref_t::materialMarked
bool materialMarked
Definition:
textures.h:36
brush_texture_s
Definition:
map.h:33
textureref_t
Definition:
textures.h:33
MAX_MAP_TEXTURES
#define MAX_MAP_TEXTURES
Definition:
defines.h:384
TexinfoForBrushTexture
int TexinfoForBrushTexture(plane_t *plane, brush_texture_t *bt, const vec3_t origin, bool isTerrain)
Definition:
textures.cpp:89
textureref_t::footstepMarked
bool footstepMarked
Definition:
textures.h:35
plane_s
Definition:
map.h:98
MAX_TEXPATH
#define MAX_TEXPATH
Definition:
defines.h:95
FindMiptex
int FindMiptex(const char *name)
Definition:
textures.cpp:38
textureref
textureref_t textureref[MAX_MAP_TEXTURES]
Definition:
textures.cpp:30
name
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition:
r_gl.h:110
vec3_t
vec_t vec3_t[3]
Definition:
ufotypes.h:39
src
tools
ufo2map
textures.h
Generated on Mon Feb 24 2020 05:28:06 for UFO: Alien Invasion by
1.8.8