void EndBSPFile( void ){ char path[ 1024 ]; EmitPlanes(); numBSPEntities = numEntities; UnparseEntities(); /* write the surface extra file */ WriteSurfaceExtraFile( source ); /* write the bsp */ sprintf( path, "%s.bsp", source ); Sys_Printf( "Writing %s\n", path ); WriteBSPFile( path ); }
void EndBSPFile( qboolean do_write ){ char path[ 1024 ]; Sys_FPrintf( SYS_VRB, "--- EndBSPFile ---\n" ); EmitPlanes(); numBSPEntities = numEntities; UnparseEntities(); if ( do_write ) { /* write the surface extra file */ WriteSurfaceExtraFile( source ); /* write the bsp */ sprintf( path, "%s.bsp", source ); Sys_Printf( "Writing %s\n", path ); WriteBSPFile( path ); } }
void EndBSPFile( void ){ char path[ 1024 ]; Sys_FPrintf( SYS_VRB, "--- EndBSPFile ---\n" ); EmitPlanes(); numBSPEntities = numEntities; UnparseEntities(); /* write the surface extra file */ WriteSurfaceExtraFile( source ); #ifdef SMOKINGUNS //only create tex file if it is the first compile WriteTexFile (source); #endif /* write the bsp */ sprintf( path, "%s.bsp", source ); Sys_Printf( "Writing %s\n", path ); WriteBSPFile( path ); }