misc fixes

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@200 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
TTimo
2008-03-02 23:36:20 +00:00
parent 58bb028e46
commit f33fed31ce
9 changed files with 18 additions and 93 deletions

View File

@@ -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 );
}