Sync with sdk2013

This commit is contained in:
Kenzzer committed 2026-05-23 08:14:28 +00:00
1 parent 42ab8953ee
commit a0d9a0f9e6
243 files changed
+15734 -1942

No files matched your search

+9 -3
View File
@@ -406,6 +406,7 @@ int FindOrCreateOrigFace( face_t *f )
return index;
}
/*
==================
EmitFace
@@ -432,7 +433,8 @@ void EmitFace( face_t *f, qboolean onNode )
return;
// don't emit NODRAW faces for runtime
if ( texinfo[f->texinfo].flags & SURF_NODRAW )
if (
( texinfo[ f->texinfo ].flags & SURF_NODRAW ) )
{
// keep NODRAW terrain surfaces though
if ( f->dispinfo == -1 )
@@ -454,6 +456,7 @@ void EmitFace( face_t *f, qboolean onNode )
dfaceids.AddToTail();
dfaceids[numfaces].hammerfaceid = f->originalface->id;
numfaces++;
//
@@ -1256,8 +1259,10 @@ void EndBSPFile (void)
Overlay_EmitOverlayFaces();
OverlayTransition_EmitOverlayFaces();
// phys collision needs dispinfo to operate (needs to generate phys collision for displacement surfs)
EmitPhysCollision();
{
// phys collision needs dispinfo to operate (needs to generate phys collision for displacement surfs)
EmitPhysCollision();
}
// We can't calculate this properly until vvis (since we need vis to do this), so we set
// to zero everywhere by default.
@@ -1275,6 +1280,7 @@ void EndBSPFile (void)
// Make sure that we have a water lod control eneity if we have water in the map.
EnsurePresenceOfWaterLODControlEntity();
// Doing this here because stuff about may filter out entities
UnparseEntities ();