This commit is contained in:
Garux 2021-11-14 20:19:08 +03:00
parent cbe024d507
commit f02f3bff31
3 changed files with 5 additions and 5 deletions

View File

@ -329,13 +329,13 @@ td.formatted_questions ol { margin-top: 0px; margin-bottom: 0px; }
<h2 id="Exporting-lightmaps">Exporting lightmaps<a href="#Exporting-lightmaps" class="wiki-anchor">&para;</a></h2> <h2 id="Exporting-lightmaps">Exporting lightmaps<a href="#Exporting-lightmaps" class="wiki-anchor">&para;</a></h2>
<ul> <ul>
<li><strong><code>-export</code> filename.bsp:</strong> Copies lightmaps from the BSP to filename/lightmap_0000.tga ff</li> <li><strong><code>-export</code> filename.bsp:</strong> Copies lightmaps from the BSP to filename/lightmap_NNNN.tga</li>
</ul> </ul>
<h2 id="Importing-lightmaps">Importing lightmaps<a href="#Importing-lightmaps" class="wiki-anchor">&para;</a></h2> <h2 id="Importing-lightmaps">Importing lightmaps<a href="#Importing-lightmaps" class="wiki-anchor">&para;</a></h2>
<ul> <ul>
<li><strong><code>-import</code> filename.bsp:</strong> Copies lightmaps from filename/lightmap_0000.tga ff into the BSP</li> <li><strong><code>-import</code> filename.bsp:</strong> Copies lightmaps from filename/lightmap_NNNN.tga into the BSP</li>
</ul> </ul>

View File

@ -325,7 +325,7 @@ static void HelpConvert()
static void HelpExport() static void HelpExport()
{ {
const std::vector<HelpOption> options = { const std::vector<HelpOption> options = {
{"-export <filename.bsp>", "Copies lightmaps from the BSP to `filename/lightmap_0000.tga` ff"} {"-export <filename.bsp>", "Copies lightmaps from the BSP to `filename/lightmap_NNNN.tga`"}
}; };
HelpOptions("Exporting lightmaps", 0, 80, options); HelpOptions("Exporting lightmaps", 0, 80, options);
@ -334,7 +334,7 @@ static void HelpExport()
static void HelpImport() static void HelpImport()
{ {
const std::vector<HelpOption> options = { const std::vector<HelpOption> options = {
{"-import <filename.bsp>", "Copies lightmaps from `filename/lightmap_0000.tga` ff into the BSP"}, {"-import <filename.bsp>", "Copies lightmaps from `filename/lightmap_NNNN.tga` into the BSP"},
}; };
HelpOptions("Importing lightmaps", 0, 80, options); HelpOptions("Importing lightmaps", 0, 80, options);

View File

@ -874,7 +874,7 @@ int VisMain( Args& args ){
/* process arguments */ /* process arguments */
if ( args.empty() ) { if ( args.empty() ) {
Error( "usage: vis [-threads #] [-level 0-4] [-fast] [-v] bspfile" ); Error( "usage: vis [-threads #] [-fast] [-v] bspfile" );
} }
const char *fileName = args.takeBack(); const char *fileName = args.takeBack();
const auto argsToInject = args.getVector(); const auto argsToInject = args.getVector();