UFO: Alien Invasion
Loading...
Searching...
No Matches
textures.h
Go to the documentation of this file.
1
4
5/*
6All original material Copyright (C) 2002-2025 UFO: Alien Invasion.
7
8Copyright (C) 1997-2001 Id Software, Inc.
9
10This program is free software; you can redistribute it and/or
11modify it under the terms of the GNU General Public License
12as published by the Free Software Foundation; either version 2
13of the License, or (at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19See the GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License
22along with this program; if not, write to the Free Software
23Foundation, 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 */
32
33typedef struct {
38
40int FindMiptex(const char* name);
41int TexinfoForBrushTexture(plane_t* plane, brush_texture_t* bt, const vec3_t origin, bool isTerrain);
Defined CONSTANTS (Macros are elsewhere).
#define MAX_TEXPATH
Definition defines.h:95
#define MAX_MAP_TEXTURES
Definition defines.h:384
voidpf uLong int origin
Definition ioapi.h:45
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition r_gl.h:110
Definition map.h:98
bool footstepMarked
Definition textures.h:35
bool materialMarked
Definition textures.h:36
char name[MAX_TEXPATH]
Definition textures.h:34
textureref_t textureref[MAX_MAP_TEXTURES]
Definition textures.cpp:30
int TexinfoForBrushTexture(plane_t *plane, brush_texture_t *bt, const vec3_t origin, bool isTerrain)
Definition textures.cpp:89
int FindMiptex(const char *name)
Definition textures.cpp:38
Cross-platform type definitions.
vec_t vec3_t[3]
Definition ufotypes.h:39