From 3963252e6d5a6a7463d572002cf7df9454ab00c5 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 27 Apr 2009 16:36:51 +0000 Subject: [PATCH] use "minimaps" directory for warsow git-svn-id: svn://svn.icculus.org/netradiant/trunk@346 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/game_qfusion.h | 2 +- tools/quake3/q3map2/main.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/game_qfusion.h b/tools/quake3/q3map2/game_qfusion.h index 7ce65bfa..cf4a99c0 100644 --- a/tools/quake3/q3map2/game_qfusion.h +++ b/tools/quake3/q3map2/game_qfusion.h @@ -129,7 +129,7 @@ game_t struct 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 */ diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index 45d5ca51..7e9f3b20 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -707,6 +707,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" ); -- 2.39.2