UFO: Alien Invasion
|
Go to the source code of this file.
Functions | |
int | FindMiptex (const char *name) |
static void | TextureAxisFromPlane (plane_t *pln, vec3_t xv, vec3_t yv, bool isTerrain) |
int | TexinfoForBrushTexture (plane_t *plane, brush_texture_t *bt, const vec3_t origin, bool isTerrain) |
Variables | |
static int | nummiptex = 0 |
textureref_t | textureref [MAX_MAP_TEXTURES] |
static const vec3_t | baseaxis [18] |
int FindMiptex | ( | const char * | name | ) |
Definition at line 38 of file textures.cpp.
References i, MAX_MAP_TEXTURES, nummiptex, Q_streq, Q_strncpyz(), and Sys_Error().
Referenced by ParseBrush().
int TexinfoForBrushTexture | ( | plane_t * | plane, |
brush_texture_t * | bt, | ||
const vec3_t | origin, | ||
bool | isTerrain | ||
) |
Definition at line 89 of file textures.cpp.
References curTile, DotProduct, i, MAX_MAP_TEXINFO, brush_texture_s::name, dMapTile_t::numtexinfo, OBJZERO, Q_streq, Q_strncpyz(), brush_texture_s::rotate, brush_texture_s::scale, brush_texture_s::shift, shift, brush_texture_s::surfaceFlags, texinfo_s::surfaceFlags, sv, Sys_Error(), dMapTile_t::texinfo, texinfo_s::texture, TextureAxisFromPlane(), torad, brush_texture_s::value, texinfo_s::value, texinfo_s::vecs, and VectorScale.
Referenced by AdjustBrushesForOrigin(), and ParseBrush().
Definition at line 65 of file textures.cpp.
References baseaxis, DotProduct, i, plane_s::normal, and VectorCopy.
Referenced by TexinfoForBrushTexture().
|
static |
Definition at line 55 of file textures.cpp.
Referenced by TextureAxisFromPlane().
|
static |
Definition at line 29 of file textures.cpp.
Referenced by FindMiptex().
textureref_t textureref[MAX_MAP_TEXTURES] |
Definition at line 30 of file textures.cpp.
Referenced by GenerateFootstepList(), and GenerateMaterialFile().