![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <model_shared.h>
Definition at line 187 of file model_shared.h.
struct texture_s* texture_t::anim_frames[2][10] |
Definition at line 219 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and R_GetCurrentTexture().
int texture_t::anim_total[2] |
Definition at line 216 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and R_GetCurrentTexture().
int texture_t::animated |
Definition at line 222 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and R_GetCurrentTexture().
struct rtexture_s* texture_t::backgroundbasetexture |
Definition at line 261 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
struct skinframe_s* texture_t::backgroundcurrentskinframe |
Definition at line 213 of file model_shared.h.
Referenced by R_GetCurrentTexture().
struct rtexture_s* texture_t::backgroundglosstexture |
Definition at line 263 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::backgroundglowtexture |
Definition at line 264 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::backgroundnmaptexture |
Definition at line 262 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
texture_shaderpass_t* texture_t::backgroundshaderpass |
Definition at line 245 of file model_shared.h.
Referenced by R_GetCurrentTexture().
float texture_t::basealpha |
Definition at line 203 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and R_GetCurrentTexture().
int texture_t::basematerialflags |
Definition at line 199 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_MakeCollisionBIH(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Mesh_AddSurface(), Mod_Mesh_GetTexture(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), R_GetCurrentTexture(), R_Mod_CompileShadowMap(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::basetexture |
Definition at line 252 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::biaspolygonfactor |
Definition at line 207 of file model_shared.h.
Referenced by RSurf_SetupDepthAndCulling().
float texture_t::biaspolygonoffset |
Definition at line 208 of file model_shared.h.
Referenced by RSurf_SetupDepthAndCulling().
int texture_t::camera_entity |
Definition at line 318 of file model_shared.h.
Referenced by R_GetCurrentTexture(), R_Water_AddWaterPlane(), and RSurf_FindWaterPlaneForSurface().
qbool texture_t::colormapping |
Definition at line 251 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::currentalpha |
Definition at line 228 of file model_shared.h.
Referenced by R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
matrix4x4_t texture_t::currentbackgroundtexmatrix |
Definition at line 239 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
int texture_t::currentblendfunc[2] |
Definition at line 234 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
struct texture_s* texture_t::currentframe |
Definition at line 236 of file model_shared.h.
Referenced by Mod_IDP0_Load(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q2BSP_LoadTexinfo(), and R_GetCurrentTexture().
int texture_t::currentmaterialflags |
Definition at line 201 of file model_shared.h.
Referenced by Collision_TraceBrushBrushFloat(), Collision_TraceLineBrushFloat(), Collision_TracePointBrushFloat(), Mod_Mesh_GetTexture(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q2BSP_LoadTexinfo(), R_DrawDebugModel(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_GetCurrentTexture(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_ProcessModelTextureSurfaceList(), R_ProcessTransparentTextureSurfaceList(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_QueueModelSurfaceList(), R_SetupShader_Surface(), R_Shadow_RenderLighting(), R_Water_AddWaterPlane(), and RSurf_SetupDepthAndCulling().
struct skinframe_s* texture_t::currentskinframe |
Definition at line 211 of file model_shared.h.
Referenced by CL_Beam_AddPolygons(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), r_lightningbeams_newmap(), and R_ReplaceWorldTexture_f().
matrix4x4_t texture_t::currenttexmatrix |
Definition at line 238 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
int texture_t::customblendfunc[2] |
Definition at line 291 of file model_shared.h.
Referenced by Mod_Mesh_GetTexture(), and R_GetCurrentTexture().
q3shaderinfo_deform_t texture_t::deforms[Q3MAXDEFORMS] |
Definition at line 242 of file model_shared.h.
Referenced by RSurf_PrepareVerticesForBatch().
unsigned char texture_t::endpostshaderpass |
Definition at line 249 of file model_shared.h.
unsigned char texture_t::endpreshaderpass |
Definition at line 247 of file model_shared.h.
struct rtexture_s* texture_t::fogtexture |
Definition at line 258 of file model_shared.h.
Referenced by R_GetCurrentTexture().
struct rtexture_s* texture_t::glosstexture |
Definition at line 256 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::glowtexture |
Definition at line 257 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
unsigned int texture_t::height |
Definition at line 194 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and Mod_VBSP_LoadFaces().
texture_shaderpass_t* texture_t::materialshaderpass |
Definition at line 244 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), R_GetCurrentTexture(), and RSurf_PrepareVerticesForBatch().
int texture_t::mesh_defaultmaterialflags |
Definition at line 338 of file model_shared.h.
Referenced by Mod_Mesh_GetTexture().
int texture_t::mesh_defaulttexflags |
Definition at line 337 of file model_shared.h.
Referenced by Mod_Mesh_GetTexture().
int texture_t::mesh_drawflag |
Definition at line 336 of file model_shared.h.
Referenced by Mod_Mesh_GetTexture().
char texture_t::name[64] |
Definition at line 190 of file model_shared.h.
Referenced by Mod_BrushInit(), Mod_CreateCollisionMesh(), Mod_Decompile_OBJ(), Mod_Decompile_SMD(), Mod_Mesh_GetTexture(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), R_ListWorldTextures_f(), R_ReplaceWorldTexture_f(), RSurf_DrawBatch(), and VM_getsurfacetexture().
struct rtexture_s* texture_t::nmaptexture |
Definition at line 255 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::offsetbias |
Definition at line 323 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
dpoffsetmapping_technique_t texture_t::offsetmapping |
Definition at line 321 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
float texture_t::offsetscale |
Definition at line 322 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::pantstexture |
Definition at line 253 of file model_shared.h.
Referenced by R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
int texture_t::q2contents |
Definition at line 302 of file model_shared.h.
Referenced by Mod_Q2BSP_LoadTexinfo().
int texture_t::q2flags |
Definition at line 300 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadFaces(), Mod_Q2BSP_LoadTexinfo(), and Mod_VBSP_LoadFaces().
int texture_t::q2value |
Definition at line 301 of file model_shared.h.
Referenced by Mod_Q2BSP_LoadTexinfo().
float texture_t::r_water_wateralpha |
Definition at line 315 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
float texture_t::r_water_waterscroll[2] |
Definition at line 316 of file model_shared.h.
Referenced by R_SetupShader_Surface().
vec4_t texture_t::reflectcolor4f |
Definition at line 314 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::reflectcubetexture |
Definition at line 260 of file model_shared.h.
Referenced by R_SetupShader_Surface().
float texture_t::reflectfactor |
Definition at line 313 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
struct rtexture_s* texture_t::reflectmasktexture |
Definition at line 259 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::reflectmax |
Definition at line 310 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
float texture_t::reflectmin |
Definition at line 309 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
vec4_t texture_t::refractcolor4f |
Definition at line 312 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
float texture_t::refractfactor |
Definition at line 311 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_SetupShader_Surface().
float texture_t::refractive_index |
Definition at line 317 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures().
float texture_t::render_colormap_pants[3] |
Definition at line 286 of file model_shared.h.
Referenced by R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_colormap_shirt[3] |
Definition at line 288 of file model_shared.h.
Referenced by R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_glowmod[3] |
Definition at line 271 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_lightmap_ambient[3] |
Definition at line 279 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_lightmap_diffuse[3] |
Definition at line 280 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_lightmap_specular[3] |
Definition at line 281 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_modellight_ambient[3] |
Definition at line 273 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_modellight_diffuse[3] |
Definition at line 274 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_modellight_lightdir_local[3] |
Definition at line 276 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_modellight_lightdir_world[3] |
Definition at line 275 of file model_shared.h.
Referenced by R_GetCurrentTexture().
float texture_t::render_modellight_specular[3] |
Definition at line 277 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::render_rtlight_diffuse[3] |
Definition at line 283 of file model_shared.h.
Referenced by R_GetCurrentTexture(), R_SetupShader_Surface(), and R_Shadow_RenderLighting().
float texture_t::render_rtlight_specular[3] |
Definition at line 284 of file model_shared.h.
Referenced by R_GetCurrentTexture(), R_SetupShader_Surface(), and R_Shadow_RenderLighting().
float texture_t::rtlightambient |
Definition at line 333 of file model_shared.h.
Referenced by R_Shadow_RenderLighting().
texture_shaderpass_t* texture_t::shaderpasses[Q3SHADER_MAXLAYERS] |
Definition at line 243 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures().
struct rtexture_s* texture_t::shirttexture |
Definition at line 254 of file model_shared.h.
Referenced by R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
struct texture_s* texture_t::skynoshadowtexture |
this points to a variant of the sky texture that has MATERIALFLAG_NOSHADOW, for the e1m5 logo shadow trick.
Definition at line 306 of file model_shared.h.
Referenced by Mod_Q1BSP_AssignNoShadowSkySurfaces(), and Mod_Q1BSP_LoadTextures().
float texture_t::specularpower |
Definition at line 265 of file model_shared.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
float texture_t::specularpowermod |
Definition at line 330 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_GetCurrentTexture().
float texture_t::specularscalemod |
Definition at line 329 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), and R_GetCurrentTexture().
unsigned char texture_t::startpostshaderpass |
Definition at line 248 of file model_shared.h.
unsigned char texture_t::startpreshaderpass |
Definition at line 246 of file model_shared.h.
int texture_t::supercontents |
Definition at line 295 of file model_shared.h.
Referenced by Mod_BrushInit(), Mod_BSP_FindNonSolidLocation_r_Leaf(), Mod_BSP_LoadNodes_RecursiveSetParent(), Mod_CreateCollisionMesh(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_TraceLineAgainstSurfacesFindTextureOnNode(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadTexinfo(), and Mod_Q3BSP_LoadTextures().
int texture_t::surfaceflags |
Definition at line 294 of file model_shared.h.
Referenced by Mod_BrushInit(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadFaces(), and Mod_Q3BSP_LoadTextures().
dptransparentsortcategory_t texture_t::transparentsort |
Definition at line 326 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadTextures(), R_Mod_DrawLight(), and R_ProcessTransparentTextureSurfaceList().
void* texture_t::update_lastrenderentity |
Definition at line 226 of file model_shared.h.
Referenced by R_GetCurrentTexture().
int texture_t::update_lastrenderframe |
Definition at line 225 of file model_shared.h.
Referenced by R_GetCurrentTexture().
unsigned int texture_t::width |
Definition at line 194 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and Mod_VBSP_LoadFaces().