![]() |
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 | hullinfo_t |
struct | lump_t |
struct | mmodel_t |
#define _2PSBVERSION ('2' + 'P' * 256 + 'S' * 65536 + 'B' * 16777216) |
#define BSP2VERSION ('B' + 'S' * 256 + 'P' * 65536 + '2' * 16777216) |
#define BSPVERSION 29 |
Definition at line 29 of file bspfile.h.
Referenced by GetMapList().
#define CONTENTS_EMPTY -1 |
Definition at line 133 of file bspfile.h.
Referenced by Collision_ClipTrace_Box(), Mod_Q1BSP_CheckWaterAlphaSupport(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_SuperContentsFromNativeContents(), SV_CheckWater(), and SV_CheckWaterTransition().
#define CONTENTS_LAVA -5 |
Definition at line 137 of file bspfile.h.
Referenced by Mod_Q1BSP_NativeContentsFromSuperContents(), and Mod_Q1BSP_SuperContentsFromNativeContents().
#define CONTENTS_SKY -6 |
Definition at line 138 of file bspfile.h.
Referenced by Mod_Q1BSP_NativeContentsFromSuperContents(), and Mod_Q1BSP_SuperContentsFromNativeContents().
#define CONTENTS_SLIME -4 |
Definition at line 136 of file bspfile.h.
Referenced by Mod_Q1BSP_CheckWaterAlphaSupport(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_SuperContentsFromNativeContents(), and SV_CheckWaterTransition().
#define CONTENTS_SOLID -2 |
Definition at line 134 of file bspfile.h.
Referenced by Collision_ClipTrace_Box(), Mod_Q1BSP_NativeContentsFromSuperContents(), and Mod_Q1BSP_SuperContentsFromNativeContents().
#define CONTENTS_WATER -3 |
Definition at line 135 of file bspfile.h.
Referenced by Mod_Q1BSP_CheckWaterAlphaSupport(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_SuperContentsFromNativeContents(), and SV_CheckWaterTransition().
#define CONTENTSQ2_DEADMONSTER 0x04000000 |
Definition at line 168 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_LAVA 0x00000008 |
Definition at line 153 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_MONSTER 0x02000000 |
Definition at line 167 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_MONSTERCLIP 0x00020000 |
Definition at line 159 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_PLAYERCLIP 0x00010000 |
Definition at line 158 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_SLIME 0x00000010 |
Definition at line 154 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_SOLID 0x00000001 |
Definition at line 150 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_TRANSLUCENT 0x10000000 |
Definition at line 170 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ2_WATER 0x00000020 |
Definition at line 155 of file bspfile.h.
Referenced by Mod_Q2BSP_NativeContentsFromSuperContents(), and Mod_Q2BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_BODY 0x02000000 |
Definition at line 188 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_BOTCLIP 0x00400000 |
Definition at line 186 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_CORPSE 0x04000000 |
Definition at line 189 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_DONOTENTER 0x00200000 |
Definition at line 185 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_LAVA 0x00000008 |
Definition at line 175 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_MONSTERCLIP 0x00020000 |
Definition at line 181 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_NODROP 0x80000000 |
Definition at line 194 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_PLAYERCLIP 0x00010000 |
Definition at line 180 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_SLIME 0x00000010 |
Definition at line 176 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_SOLID 0x00000001 |
Definition at line 174 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_TRANSLUCENT 0x20000000 |
Definition at line 192 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define CONTENTSQ3_WATER 0x00000020 |
Definition at line 177 of file bspfile.h.
Referenced by Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define HEADER_LUMPS 15 |
Definition at line 54 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_CLIPNODES 9 |
Definition at line 48 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_EDGES 12 |
Definition at line 51 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_ENTITIES 0 |
Definition at line 39 of file bspfile.h.
Referenced by GetMapList(), and Mod_Q1BSP_Load().
#define LUMP_FACES 7 |
Definition at line 46 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_LEAFS 10 |
Definition at line 49 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_LIGHTING 8 |
Definition at line 47 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_MARKSURFACES 11 |
Definition at line 50 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_MODELS 14 |
Definition at line 53 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_NODES 5 |
Definition at line 44 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_PLANES 1 |
Definition at line 40 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_SURFEDGES 13 |
Definition at line 52 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_TEXINFO 6 |
Definition at line 45 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_TEXTURES 2 |
Definition at line 41 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_VERTEXES 3 |
Definition at line 42 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define LUMP_VISIBILITY 4 |
Definition at line 43 of file bspfile.h.
Referenced by Mod_Q1BSP_Load().
#define MAX_MAP_HULLS 16 |
Definition at line 24 of file bspfile.h.
Referenced by Mod_Q1BSP_Load(), and Mod_Q1BSP_LoadClipnodes().
#define MAXLIGHTMAPS 4 |
Definition at line 282 of file bspfile.h.
Referenced by Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q2BSP_Load(), Mod_VBSP_LoadFaces(), and R_BuildLightMap().
#define NUM_AMBIENTS 4 |
Definition at line 307 of file bspfile.h.
Referenced by S_Init(), S_StartSound_StartPosition_Flags(), S_StopAllSounds(), S_Update(), S_UpdateAmbientSounds(), and SND_PickChannel().
#define PLANE_X 0 |
Definition at line 113 of file bspfile.h.
Referenced by Mod_BSP_LightPoint_RecursiveBSPNode().
#define PLANE_Y 1 |
Definition at line 114 of file bspfile.h.
Referenced by Mod_BSP_LightPoint_RecursiveBSPNode().
#define PLANE_Z 2 |
Definition at line 115 of file bspfile.h.
Referenced by Mod_BSP_LightPoint_RecursiveBSPNode().
#define SUPERCONTENTS_BODY 0x00000020 |
Definition at line 201 of file bspfile.h.
Referenced by CL_CheckBottom(), CL_ClientMovement_Move(), CL_ClientMovement_Physics_Walk(), CL_ClientMovement_UpdateStatus(), CL_GenericHitSuperContentsMask(), CL_NewParticle(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), SV_CheckBottom(), SV_Ent_Remove_f(), SV_GenericHitSuperContentsMask(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), VM_CL_checkbottom(), and VM_SV_aim().
#define SUPERCONTENTS_BOTCLIP 0x00000800 |
Definition at line 207 of file bspfile.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define SUPERCONTENTS_CORPSE 0x00000040 |
Definition at line 202 of file bspfile.h.
Referenced by CL_GenericHitSuperContentsMask(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), SV_GenericHitSuperContentsMask(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
#define SUPERCONTENTS_DONOTENTER 0x00000400 |
Definition at line 206 of file bspfile.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_Q3BSP_NativeContentsFromSuperContents(), and Mod_Q3BSP_SuperContentsFromNativeContents().
#define SUPERCONTENTS_LAVA 0x00000008 |
Definition at line 199 of file bspfile.h.
Referenced by CL_ClientMovement_Physics_Swim(), Mod_BrushInit(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_RecursiveHullCheck(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), R_DrawParticles(), and V_CalcViewBlend().
#define SUPERCONTENTS_LIQUIDSMASK (SUPERCONTENTS_LAVA | SUPERCONTENTS_SLIME | SUPERCONTENTS_WATER) |
Definition at line 218 of file bspfile.h.
Referenced by CL_ClientMovement_UpdateStatus(), CL_movestep(), CL_NewParticle(), Mod_Q1BSP_RecursiveHullCheck(), Mod_Q1BSP_RecursiveHullCheckPoint(), Mod_Q1BSP_TraceLineAgainstSurfacesRecursiveBSPNode(), R_DrawParticles(), R_Shadow_BounceGrid_RefractiveIndexAtPoint(), R_Shadow_BounceGrid_TracePhotons_Shot(), SV_CheckWater(), SV_movestep(), V_CalcRefdefUsing(), and V_CalcViewBlend().
#define SUPERCONTENTS_MONSTERCLIP 0x00000200 |
Definition at line 205 of file bspfile.h.
Referenced by CL_GenericHitSuperContentsMask(), Mod_LoadTextureFromQ3Shader(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), and SV_GenericHitSuperContentsMask().
#define SUPERCONTENTS_NODROP 0x00000080 |
Definition at line 203 of file bspfile.h.
Referenced by Mod_BrushInit(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), and R_DrawParticles().
#define SUPERCONTENTS_OPAQUE 0x00001000 |
Definition at line 208 of file bspfile.h.
Referenced by Mod_LoadTextureFromQ3Shader(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_LoadTexinfo(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), and Mod_SpriteSetupTexture().
#define SUPERCONTENTS_PLAYERCLIP 0x00000100 |
Definition at line 204 of file bspfile.h.
Referenced by CL_ClientMovement_Move(), CL_ClientMovement_Physics_Walk(), CL_ClientMovement_Unstick(), CL_ClientMovement_UpdateStatus(), CL_GenericHitSuperContentsMask(), Mod_LoadTextureFromQ3Shader(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), and SV_GenericHitSuperContentsMask().
#define SUPERCONTENTS_SKY 0x00000010 |
Definition at line 200 of file bspfile.h.
Referenced by CL_LinkNetworkEntity(), CL_SpawnDecalParticleForPoint(), Mod_BrushInit(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_RecursiveHullCheck(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_LoadTexinfo(), R_CanSeeBox(), and V_CalcRefdefUsing().
#define SUPERCONTENTS_SLIME 0x00000004 |
Definition at line 198 of file bspfile.h.
Referenced by CL_ClientMovement_Physics_Swim(), CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_ParticleExplosion(), Mod_BrushInit(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_RecursiveHullCheck(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), R_DrawParticles(), and V_CalcViewBlend().
#define SUPERCONTENTS_SOLID 0x00000001 |
Definition at line 196 of file bspfile.h.
Referenced by CL_CheckBottom(), CL_ClientMovement_Move(), CL_ClientMovement_Physics_Walk(), CL_ClientMovement_Unstick(), CL_ClientMovement_UpdateStatus(), CL_GenericHitSuperContentsMask(), CL_LinkNetworkEntity(), CL_NewParticle(), CL_ParticleExplosion(), CL_SelectTraceLine(), CL_SpawnDecalParticleForPoint(), Mod_BrushInit(), Mod_BSP_FindNonSolidLocation_r_Leaf(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_CreateCollisionMesh(), Mod_GenerateLightmaps_LightPoint(), Mod_GenerateLightmaps_SamplePoint(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_LoadTextureFromQ3Shader(), Mod_MDLMD2MD3_TraceBox(), Mod_MDLMD2MD3_TraceLine(), Mod_Q1BSP_AssignNoShadowSkySurfaces(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_RecursiveHullCheck(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), Mod_SpriteSetupTexture(), R_CanSeeBox(), R_CompleteLightPoint(), R_DrawCorona(), R_DrawParticles(), R_MoveExplosion(), R_NewExplosion(), R_Shadow_BounceGrid_RefractiveIndexAtPoint(), R_Shadow_BounceGrid_TracePhotons_Shot(), R_Shadow_SelectLightInView(), R_Shadow_SetCursorLocationForView(), Sbar_ShowFPS(), SV_CheckBottom(), SV_Ent_Create_f(), SV_Ent_Remove_f(), SV_GenericHitSuperContentsMask(), SV_SetIdealPitch(), V_CalcRefdefUsing(), VM_CL_checkbottom(), VM_SV_aim(), and VM_SV_droptofloor().
#define SUPERCONTENTS_VISBLOCKERMASK SUPERCONTENTS_OPAQUE |
Definition at line 219 of file bspfile.h.
Referenced by Mod_CollisionBIH_TraceLineOfSight(), Mod_Q1BSP_TraceLineOfSight(), and Mod_Q3BSP_TraceLineOfSight().
#define SUPERCONTENTS_WATER 0x00000002 |
Definition at line 197 of file bspfile.h.
Referenced by CL_NewParticlesFromEffectinfo(), CL_ParticleEffect_Fallback(), CL_ParticleExplosion(), Mod_BrushInit(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_NativeContentsFromSuperContents(), Mod_Q1BSP_SuperContentsFromNativeContents(), Mod_Q2BSP_NativeContentsFromSuperContents(), Mod_Q2BSP_SuperContentsFromNativeContents(), Mod_Q3BSP_NativeContentsFromSuperContents(), Mod_Q3BSP_SuperContentsFromNativeContents(), and R_DrawParticles().
#define TEX_SPECIAL 1 |
Definition at line 271 of file bspfile.h.
Referenced by Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadTexinfo(), Mod_VBSP_LoadFaces(), and Mod_VBSP_LoadTexinfo().