UFO: Alien Invasion
 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 {
37 } textureref_t;
38 
40 int FindMiptex(const char* name);
41 int TexinfoForBrushTexture(plane_t* plane, brush_texture_t* bt, const vec3_t origin, bool isTerrain);
voidpf uLong int origin
Definition: ioapi.h:45
bool materialMarked
Definition: textures.h:36
#define MAX_MAP_TEXTURES
Definition: defines.h:384
int TexinfoForBrushTexture(plane_t *plane, brush_texture_t *bt, const vec3_t origin, bool isTerrain)
Definition: textures.cpp:89
bool footstepMarked
Definition: textures.h:35
Definition: map.h:98
#define MAX_TEXPATH
Definition: defines.h:95
int FindMiptex(const char *name)
Definition: textures.cpp:38
textureref_t textureref[MAX_MAP_TEXTURES]
Definition: textures.cpp:30
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition: r_gl.h:110
vec_t vec3_t[3]
Definition: ufotypes.h:39