|
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, name, nummiptex, Q_streq, Q_strncpyz(), Sys_Error(), and textureref.
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_t::name, OBJZERO, Q_streq, Q_strncpyz(), brush_texture_t::rotate, brush_texture_t::scale, brush_texture_t::shift, shift, brush_texture_t::surfaceFlags, dBspTexinfo_t::surfaceFlags, sv, Sys_Error(), dBspTexinfo_t::texture, TextureAxisFromPlane(), torad, brush_texture_t::value, dBspTexinfo_t::value, dBspTexinfo_t::vecs, and VectorScale.
Referenced by AdjustBrushesForOrigin(), and ParseBrush().
Definition at line 65 of file textures.cpp.
References baseaxis, DotProduct, i, plane_t::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 FindMiptex(), GenerateFootstepList(), and GenerateMaterialFile().