]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
fixed a buffer overflow in SV_BroadcastPrintf
[xonotic/darkplaces.git] / model_brush.h
index be17f950cc3bf1d9373d46c380f26b7e0e9d5ff4..184f7825292af8145d79c31cf34c23cf3deda9f0 100644 (file)
@@ -359,16 +359,11 @@ extern rtexture_t *r_notexture;
 extern texture_t r_notexture_mip;
 
 struct model_s;
-void Mod_LoadBrushModelQ1orHL (struct model_s *mod, void *buffer);
-void Mod_LoadBrushModelIBSP (struct model_s *mod, void *buffer);
+void Mod_Q1BSP_Load(struct model_s *mod, void *buffer);
+void Mod_IBSP_Load(struct model_s *mod, void *buffer);
+void Mod_MAP_Load(struct model_s *mod, void *buffer);
 void Mod_BrushInit(void);
 
-void Mod_FindNonSolidLocation(vec3_t in, vec3_t out, struct model_s *mod, vec_t radius);
-mleaf_t *Mod_PointInLeaf (const float *p, struct model_s *model);
-int Mod_PointContents (const float *p, struct model_s *model);
-qbyte *Mod_LeafPVS (mleaf_t *leaf, struct model_s *model);
-void Mod_BuildPVSTextureChains(struct model_s *model);
-
 // Q2 bsp stuff
 
 #define Q2BSPVERSION   38