use "minimaps" directory for warsow

git-svn-id: svn://svn.icculus.org/netradiant/trunk@346 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-04-27 16:36:51 +00:00 committed by Thomas Debesse
parent 597e5b5eeb
commit 75ba6b77ec
2 changed files with 3 additions and 1 deletions

View file

@ -117,7 +117,7 @@
0.0f, /* minimap sharpener */
0.0f, /* minimap border */
qfalse, /* minimap keep aspect */
"%s.tga", /* minimap name format */
"../minimaps/%s.tga", /* minimap name format */
"FBSP", /* bsp file prefix */
1, /* bsp file version */
qfalse, /* cod-style lump len/ofs order */

View file

@ -735,6 +735,8 @@ int MiniMapBSPMain( int argc, char **argv )
}
Sys_Printf( " writing to %s...", minimapFilename );
ExtractFilePath(minimapFilename, path);
Q_mkdir(path);
WriteTGA24(minimapFilename, data3b, minimap.width, minimap.height, qfalse);
Sys_Printf( " done.\n" );