UFO: Alien Invasion
Loading...
Searching...
No Matches
textures.h
Go to the documentation of this file.
1
4
5
/*
6
All original material Copyright (C) 2002-2025 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);
defines.h
Defined CONSTANTS (Macros are elsewhere).
MAX_TEXPATH
#define MAX_TEXPATH
Definition
defines.h:95
MAX_MAP_TEXTURES
#define MAX_MAP_TEXTURES
Definition
defines.h:384
origin
voidpf uLong int origin
Definition
ioapi.h:45
mathlib.h
name
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition
r_gl.h:110
brush_texture_t
Definition
map.h:33
plane_t
Definition
map.h:98
textureref_t
Definition
textures.h:33
textureref_t::footstepMarked
bool footstepMarked
Definition
textures.h:35
textureref_t::materialMarked
bool materialMarked
Definition
textures.h:36
textureref_t::name
char name[MAX_TEXPATH]
Definition
textures.h:34
textureref
textureref_t textureref[MAX_MAP_TEXTURES]
Definition
textures.cpp:30
TexinfoForBrushTexture
int TexinfoForBrushTexture(plane_t *plane, brush_texture_t *bt, const vec3_t origin, bool isTerrain)
Definition
textures.cpp:89
FindMiptex
int FindMiptex(const char *name)
Definition
textures.cpp:38
ufotypes.h
Cross-platform type definitions.
vec3_t
vec_t vec3_t[3]
Definition
ufotypes.h:39
src
tools
ufo2map
textures.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.16.1