From 6ff2996cf7cca1c795446b5d175b06677e70ee69 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 3 Mar 2018 03:28:21 +0100 Subject: [PATCH] some fixes to q3map2 help --- tools/quake3/q3map2/help.c | 5 ++++- tools/quake3/q3map2/vis.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/quake3/q3map2/help.c b/tools/quake3/q3map2/help.c index 519a46e1..17b21173 100644 --- a/tools/quake3/q3map2/help.c +++ b/tools/quake3/q3map2/help.c @@ -101,7 +101,7 @@ void HelpBsp() {"-flat", "Enable flat shading (good for combining with -celshader)"}, {"-fulldetail", "Treat detail brushes as structural ones"}, {"-leaktest", "Abort if a leak was found"}, - {"-linefile ", "Line file to write"}, + {"-linfile ", "Line file to write"}, {"-meta", "Combine adjacent triangles of the same texture to surfaces (ALWAYS USE THIS)"}, {"-minsamplesize ", "Sets minimum lightmap resolution in luxels/qu"}, {"-mi ", "Sets the maximum number of indexes per surface"}, @@ -137,6 +137,7 @@ void HelpVis() struct HelpOption vis[] = { {"-vis ", "Switch that enters this stage"}, {"-fast", "Very fast and crude vis calculation"}, + {"-hint", "Merge all but hint portals"}, {"-mergeportals", "The less crude half of `-merge`, makes vis sometimes much faster but doesn't hurt fps usually"}, {"-merge", "Faster but still okay vis calculation"}, {"-nopassage", "Just use PortalFlow vis (usually less fps)"}, @@ -206,6 +207,8 @@ void HelpLight() {"-gridscale ", "Scaling factor for the light grid only"}, {"-keeplights", "Keep light entities in the BSP file after compile"}, {"-lightmapdir ", "Directory to store external lightmaps (default: same as map name without extension)"}, + {"-lightmapsearchblocksize ", "Restrict lightmap search to block size "}, + {"-lightmapsearchpower ", "Optimize for lightmap merge power "}, {"-lightmapsize ", "Size of lightmaps to generate (must be a power of two)"}, {"-lightsubdiv ", "Size of light emitting shader subdivision"}, {"-lomem", "Low memory but slower lighting mode"}, diff --git a/tools/quake3/q3map2/vis.c b/tools/quake3/q3map2/vis.c index f5f3c348..a004ffa1 100644 --- a/tools/quake3/q3map2/vis.c +++ b/tools/quake3/q3map2/vis.c @@ -1168,7 +1168,7 @@ int VisMain( int argc, char **argv ){ } if ( i != argc - 1 ) { - Error( "usage: vis [-threads #] [-level 0-4] [-fast] [-v] BSPFilePath" ); + Error( "usage: vis [-threads #] [-fast] [-v] BSPFilePath" ); } -- 2.39.2