vmap: We no longer have the minimap code, so strip the help output for it.

This commit is contained in:
Marco Cawthorne 2020-12-08 13:14:47 +01:00
parent 7f2d9153e2
commit f63e9baab4
2 changed files with 1 additions and 25 deletions

View file

@ -316,28 +316,6 @@ void HelpImport()
HelpOptions("Importing lightmaps", 0, 80, import, sizeof(import)/sizeof(struct HelpOption)); HelpOptions("Importing lightmaps", 0, 80, import, sizeof(import)/sizeof(struct HelpOption));
} }
void HelpMinimap()
{
struct HelpOption minimap[] = {
{"-minimap <filename.bsp>", "Creates a minimap of the BSP, by default writes to `../gfx/filename_mini.tga`"},
{"-black", "Write the minimap as a black-on-transparency RGBA32 image"},
{"-boost <F>", "Sets the contrast boost value (higher values make a brighter image); contrast boost is somewhat similar to gamma, but continuous even at zero"},
{"-border <F>", "Sets the amount of border pixels relative to the total image size"},
{"-gray", "Write the minimap as a white-on-black GRAY8 image"},
{"-keepaspect", "Ensure the aspect ratio is kept (the minimap is then letterboxed to keep aspect)"},
{"-minmax <xmin ymin zmin xmax ymax zmax>", "Forces specific map dimensions (note: the minimap actually uses these dimensions, scaled to the target size while keeping aspect with centering, and 1/64 of border appended to all sides)"},
{"-nokeepaspect", "Do not ensure the aspect ratio is kept (makes it easier to use the image in your code, but looks bad together with sharpening)"},
{"-o <filename.tga>", "Sets the output file name"},
{"-random <N>", "Sets the randomized supersampling count (cannot be combined with `-samples`)"},
{"-samples <N>", "Sets the ordered supersampling count (cannot be combined with `-random`)"},
{"-sharpen <F>", "Sets the sharpening coefficient"},
{"-size <N>", "Sets the width and height of the output image"},
{"-white", "Write the minimap as a white-on-transparency RGBA32 image"},
};
HelpOptions("MiniMap", 0, 80, minimap, sizeof(minimap)/sizeof(struct HelpOption));
}
void HelpCommon() void HelpCommon()
{ {
struct HelpOption common[] = { struct HelpOption common[] = {
@ -380,7 +358,6 @@ void HelpMain(const char* arg)
{"-fixaas", "Fixing AAS checksum"}, {"-fixaas", "Fixing AAS checksum"},
{"-info", "Get info about BSP file"}, {"-info", "Get info about BSP file"},
{"-import", "Importing lightmaps"}, {"-import", "Importing lightmaps"},
{"-minimap", "MiniMap"},
}; };
void(*help_funcs[])() = { void(*help_funcs[])() = {
HelpBsp, HelpBsp,
@ -394,7 +371,6 @@ void HelpMain(const char* arg)
HelpFixaas, HelpFixaas,
HelpInfo, HelpInfo,
HelpImport, HelpImport,
HelpMinimap,
}; };
if ( arg && strlen(arg) > 0 ) if ( arg && strlen(arg) > 0 )

View file

@ -1811,7 +1811,7 @@ void TraceGrid( int num ){
} }
/* fallback */ /* fallback */
else{ else {
j = 0; j = 0;
} }
} }