misc fixes
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@200 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -495,31 +495,17 @@ void BeginBSPFile (void)
|
||||
EndBSPFile
|
||||
============
|
||||
*/
|
||||
void EndBSPFile (void)
|
||||
{
|
||||
void EndBSPFile( void ) {
|
||||
char path[1024];
|
||||
|
||||
#if 0
|
||||
int len;
|
||||
byte *buf;
|
||||
#endif
|
||||
|
||||
EmitBrushes ();
|
||||
EmitPlanes ();
|
||||
UnparseEntities ();
|
||||
|
||||
// load the pop
|
||||
#if 0
|
||||
sprintf (path, "%s/pics/pop.lmp", gamedir);
|
||||
len = LoadFile (path, &buf);
|
||||
memcpy (dpop, buf, sizeof(dpop));
|
||||
free (buf);
|
||||
#endif
|
||||
EmitBrushes();
|
||||
EmitPlanes();
|
||||
UnparseEntities();
|
||||
|
||||
// write the map
|
||||
sprintf (path, "%s.bsp", source);
|
||||
Sys_Printf ("Writing %s\n", path);
|
||||
WriteBSPFile (path);
|
||||
sprintf( path, "%s.bsp", source );
|
||||
Sys_Printf( "Writing %s\n", path );
|
||||
WriteBSPFile( path );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user