![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | hull_t |
struct | mclipnode_t |
struct | medge_t |
struct | mleaf_t |
struct | mnode_t |
struct | model_brush_lightstyleinfo_t |
struct | model_brush_t |
struct | mplane_t |
struct | mportal_t |
struct | mvertex_t |
struct | svbspmesh_t |
#define CHECKPVSBIT | ( | pvs, | |
b ) |
Definition at line 361 of file model_brush.h.
Referenced by EntityFrame5_WriteFrame(), Mod_BSP_BoxTouchingLeafPVS(), Mod_BSP_BoxTouchingPVS(), Mod_Q1BSP_CheckWaterAlphaSupport(), Portal_RecursiveFlow(), R_DrawParticles(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_RTLight_Compile(), R_View_WorldVisibility(), SND_Spatialize_WithSfx(), and SV_MarkWriteEntityStateToClient().
#define CLEARPVSBIT | ( | pvs, | |
b ) |
Definition at line 363 of file model_brush.h.
Referenced by EntityFrame5_WriteFrame(), and Portal_RecursiveFlow().
#define MATERIALFLAG_ADD 0x00000004 |
Definition at line 81 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), Mod_LoadTextureFromQ3Shader(), Mod_Mesh_GetTexture(), Mod_Q1BSP_LoadTextures(), Mod_SpriteSetupTexture(), R_DrawCorona(), and R_GetCurrentTexture().
#define MATERIALFLAG_ALPHA 0x00000002 |
Definition at line 79 of file model_brush.h.
Referenced by DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_SpriteSetupTexture(), R_DebugLine(), R_GetCurrentTexture(), R_Shadow_BounceGrid_TracePhotons_Shot(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkySphere(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_ALPHAGEN_VERTEX 0x08000000 |
Definition at line 131 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_LoadTextureFromQ3Shader(), R_DebugLine(), R_SetupShader_Surface(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_ALPHATEST 0x00000800 |
Definition at line 100 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), R_DrawTextureSurfaceList_DepthOnly(), R_GetCurrentTexture(), R_ProcessModelTextureSurfaceList(), R_SetupShader_Surface(), and R_Shadow_BounceGrid_TracePhotons_Shot().
#define MATERIALFLAG_BLENDED 0x00001000 |
Definition at line 103 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_LoadTextureFromQ3Shader(), Mod_Mesh_GetTexture(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_SpriteSetupTexture(), R_DebugLine(), R_DecalSystem_SplatEntity(), R_DrawCorona(), R_DrawDebugModel(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_SetupShader_Surface(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkySphere(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_CAMERA 0x02000000 |
Definition at line 127 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Mesh_AddSurface(), Mod_SetDrawSkyAndWater(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().
#define MATERIALFLAG_CUSTOMBLEND 0x00002000 |
Definition at line 105 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Mesh_GetTexture(), R_GetCurrentTexture(), R_Shadow_BounceGrid_RefractiveIndexAtPoint(), and R_Shadow_BounceGrid_TracePhotons_Shot().
#define MATERIALFLAG_CUSTOMSURFACE 0x00800000 |
Definition at line 123 of file model_brush.h.
Referenced by R_DrawCustomSurface(), and R_GetCurrentTexture().
#define MATERIALFLAG_FULLBRIGHT 0x00000020 |
Definition at line 87 of file model_brush.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_LoadTextureFromQ3Shader(), Mod_Q2BSP_LoadTexinfo(), Mod_SpriteSetupTexture(), R_DrawCorona(), R_GetCurrentTexture(), R_Model_Sprite_Draw_TransparentCallback(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkyBox(), R_SkySphere(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_LIGHTBOTHSIDES 0x00000400 |
Definition at line 98 of file model_brush.h.
Referenced by Mod_Q1BSP_LoadTextures().
#define MATERIALFLAG_LIGHTGRID 0x40000000 |
Definition at line 137 of file model_brush.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
#define MATERIALFLAG_MESHCOLLISIONS 0x00000001 |
Definition at line 77 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), and Mod_MakeCollisionBIH().
#define MATERIALFLAG_MODELLIGHT 0x00200000 |
Definition at line 121 of file model_brush.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
#define MATERIALFLAG_NOCULLFACE 0x00010000 |
Definition at line 111 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), Mod_LoadTextureFromQ3Shader(), R_DrawCorona(), R_DrawDebugModel(), R_GetCurrentTexture(), R_Mod_DrawShadowMap(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkyBox(), R_SkySphere(), RSurf_SetupDepthAndCulling(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_NODEPTHTEST 0x00000008 |
Definition at line 83 of file model_brush.h.
Referenced by R_DecalSystem_SplatEntity(), R_DrawCorona(), R_DrawTextureSurfaceList_DepthOnly(), R_GetCurrentTexture(), R_Mod_DrawLight(), R_Model_Sprite_Draw_TransparentCallback(), R_ProcessTransparentTextureSurfaceList(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_RenderLighting(), R_SkyBox(), R_SkySphere(), and RSurf_SetupDepthAndCulling().
#define MATERIALFLAG_NODRAW 0x00000200 |
Definition at line 96 of file model_brush.h.
Referenced by Mod_BuildAliasSkinsFromSkinFiles(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), and R_QueueModelSurfaceList().
#define MATERIALFLAG_NORTLIGHT 0x04000000 |
Definition at line 129 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), R_GetCurrentTexture(), and R_Mod_DrawLight().
#define MATERIALFLAG_NOSHADOW 0x00004000 |
Definition at line 107 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), Mod_GenerateLightmaps_LightPoint(), Mod_GenerateLightmaps_SamplePoint(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_SpriteSetupTexture(), R_DebugLine(), R_GetCurrentTexture(), R_Mod_CompileShadowMap(), R_Mod_DrawShadowMap(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_OCCLUDE 0x10000000 |
Definition at line 133 of file model_brush.h.
Referenced by R_DrawCorona(), and R_SetupShader_Surface().
#define MATERIALFLAG_REFLECTION 0x00100000 |
Definition at line 119 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Mesh_AddSurface(), Mod_Q1BSP_LoadTextures(), Mod_SetDrawSkyAndWater(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_SetupShader_Surface(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().
#define MATERIALFLAG_REFRACTION 0x00080000 |
Definition at line 117 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Mesh_AddSurface(), Mod_SetDrawSkyAndWater(), R_DecalSystem_SplatEntity(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_SetupShader_Surface(), R_Shadow_BounceGrid_RefractiveIndexAtPoint(), R_Shadow_BounceGrid_TracePhotons_Shot(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().
#define MATERIALFLAG_SHORTDEPTHRANGE 0x00020000 |
Definition at line 113 of file model_brush.h.
Referenced by R_DecalSystem_SplatEntity(), R_GetCurrentTexture(), R_Model_Sprite_Draw_TransparentCallback(), and RSurf_SetupDepthAndCulling().
#define MATERIALFLAG_SKY 0x00000080 |
Definition at line 92 of file model_brush.h.
Referenced by Mod_LoadCustomMaterial(), Mod_LoadTextureFromQ3Shader(), Mod_Mesh_AddSurface(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_SetDrawSkyAndWater(), R_DecalSystem_SplatEntity(), R_DrawDebugModel(), R_DrawModelSurfaces(), R_DrawTextureSurfaceList_GL20(), R_ProcessModelTextureSurfaceList(), R_SkyBox(), and R_SkySphere().
#define MATERIALFLAG_TRANSDEPTH 0x01000000 |
Definition at line 125 of file model_brush.h.
Referenced by R_DrawSurface_TransparentCallback(), and R_GetCurrentTexture().
#define MATERIALFLAG_VERTEXCOLOR 0x20000000 |
Definition at line 135 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_LoadTextureFromQ3Shader(), R_DebugLine(), R_GetCurrentTexture(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_VERTEXTEXTUREBLEND 0x00008000 |
Definition at line 109 of file model_brush.h.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
#define MATERIALFLAG_WALL 0x00000040 |
Definition at line 89 of file model_brush.h.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), DrawQ_Line(), DrawQ_Pic(), DrawQ_RotPic(), DrawQ_String_Scale(), DrawQ_SuperPic(), Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_LoadCustomMaterial(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadTextures(), Mod_SpriteSetupTexture(), R_DebugLine(), R_DrawCustomSurface(), R_DrawDebugModel(), R_DrawModelSurfaces(), R_GetCurrentTexture(), R_Mod_DrawLight(), R_ProcessModelTextureSurfaceList(), and VM_CL_R_PolygonEnd().
#define MATERIALFLAG_WATERALPHA 0x00000010 |
Definition at line 85 of file model_brush.h.
Referenced by Mod_Q1BSP_LoadTextures(), R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
#define MATERIALFLAG_WATERSCROLL 0x00000100 |
Definition at line 94 of file model_brush.h.
Referenced by Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), R_GetCurrentTexture(), and R_tcMod_ApplyToMatrix().
#define MATERIALFLAG_WATERSHADER 0x00040000 |
Definition at line 115 of file model_brush.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Mesh_AddSurface(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_SetDrawSkyAndWater(), R_DecalSystem_SplatEntity(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_SetupShader_Surface(), R_Shadow_BounceGrid_RefractiveIndexAtPoint(), R_Shadow_BounceGrid_TracePhotons_Shot(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().
#define MATERIALFLAGMASK_DEPTHSORTED (MATERIALFLAG_BLENDED | MATERIALFLAG_NODEPTHTEST) |
Definition at line 139 of file model_brush.h.
Referenced by R_DrawTextureSurfaceList_Sky(), R_Mod_DrawLight(), and R_ProcessModelTextureSurfaceList().
#define MATERIALFLAGMASK_TRANSLUCENT (MATERIALFLAG_WATERALPHA | MATERIALFLAG_SKY | MATERIALFLAG_NODRAW | MATERIALFLAG_ALPHATEST | MATERIALFLAG_BLENDED | MATERIALFLAG_WATERSHADER | MATERIALFLAG_REFRACTION) |
Definition at line 141 of file model_brush.h.
Referenced by Mod_CollisionBIH_TraceLineOfSight(), Mod_GenerateLightmaps_LightPoint(), Mod_GenerateLightmaps_SamplePoint(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Q1BSP_TraceLineOfSight(), Mod_Q3BSP_TraceLineOfSight(), R_CanSeeBox(), R_CompleteLightPoint(), R_DrawCorona(), R_Shadow_SelectLightInView(), R_Shadow_SetCursorLocationForView(), Sbar_ShowFPS(), and V_CalcRefdefUsing().
#define SETPVSBIT | ( | pvs, | |
b ) |
Definition at line 362 of file model_brush.h.
Referenced by EntityFrame5_WriteFrame(), Portal_RecursiveFlow(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), and R_Q1BSP_RecursiveGetLightInfo_BSP().
#define SHADERSTAGE_COUNT 2 |
Definition at line 72 of file model_brush.h.
#define SHADERSTAGE_NORMAL 1 |
Definition at line 71 of file model_brush.h.
#define SHADERSTAGE_SKY 0 |
Definition at line 70 of file model_brush.h.
#define SIDE_BACK 1 |
Definition at line 48 of file model_brush.h.
#define SIDE_FRONT 0 |
Definition at line 47 of file model_brush.h.
#define SIDE_ON 2 |
Definition at line 49 of file model_brush.h.