Skip to content

Commit 227b8a0

Browse files
committed
qbsp: note some of the command line flags that have tests + docs
1 parent f5c9ede commit 227b8a0

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

qbsp/qbsp.cc

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,14 @@ inline void set_target_version(const bspversion_t *version)
447447
}
448448

449449
qbsp_settings::qbsp_settings()
450-
: hexen2{this, "hexen2", false, &game_target_group, "target Hexen II's BSP format"},
451-
hlbsp{this, "hlbsp", false, &game_target_group, "target Half Life's BSP format"},
452-
q2bsp{this, "q2bsp", false, &game_target_group, "target Quake II's BSP format"},
453-
qbism{this, "qbism", false, &game_target_group, "target Qbism's extended Quake II BSP format"},
454-
bsp2{this, "bsp2", false, &game_target_group, "target Quake's extended BSP2 format"},
455-
bsp2rmq{this, "2psb", false, &game_target_group, "target Quake's extended 2PSB format (RMQ compatible)"},
456-
nosubdivide{this, "nosubdivide",
450+
: hexen2{this, "hexen2", false, &game_target_group, "target Hexen II's BSP format"}, // tests, docs
451+
hlbsp{this, "hlbsp", false, &game_target_group, "target Half Life's BSP format"}, // tests, docs
452+
q2bsp{this, "q2bsp", false, &game_target_group, "target Quake II's BSP format"}, // tests, docs
453+
qbism{this, "qbism", false, &game_target_group, "target Qbism's extended Quake II BSP format"}, // tests, docs
454+
bsp2{this, "bsp2", false, &game_target_group, "target Quake's extended BSP2 format"}, // tests, docs
455+
bsp2rmq{this, "2psb", false, &game_target_group, // tests, docs
456+
"target Quake's extended 2PSB format (RMQ compatible)"},
457+
nosubdivide{this, "nosubdivide", // tests, docs
457458
[&](const std::string &, parser_base_t &, source src) {
458459
subdivide.set_value(0, src);
459460
return true;
@@ -463,13 +464,13 @@ qbsp_settings::qbsp_settings()
463464
"change settings to allow for (or make adjustments to optimize for the lack of) software support"},
464465
subdivide{this, "subdivide", 240, &common_format_group,
465466
"change the subdivide threshold, in luxels. 0 will disable subdivision entirely"},
466-
nofill{this, "nofill", false, &debugging_group, "don't perform outside filling"},
467+
nofill{this, "nofill", false, &debugging_group, "don't perform outside filling"}, // tests, docs
467468
nomerge{this, "nomerge", false, &debugging_group, "don't perform face merging"},
468469
nomergeacrossliquids{this, "nomergeacrossliquids", false, &common_format_group, "deprecated, no effect"},
469470
noedgereuse{this, "noedgereuse", false, &debugging_group, "don't reuse edges (for debugging software rendering)"},
470471
noclip{this, "noclip", false, &common_format_group, "don't write clip nodes (Q1-like BSP formats)"},
471472
noskip{this, "noskip", false, &debugging_group, "don't remove faces with the 'skip' texture"},
472-
nodetail{this, "nodetail", false, &debugging_group, "treat all detail brushes to structural"},
473+
nodetail{this, "nodetail", false, &debugging_group, "treat all detail brushes to structural"}, // tests, docs
473474
chop{this, "chop", false, &debugging_group, "adjust brushes to remove intersections if possible"},
474475
chopfragment{this, "chopfragment", false, &debugging_group, "always do full fragmentation for chop"},
475476
onlyents{this, "onlyents", false, &map_development_group, "only updates .MAP entities"},
@@ -478,7 +479,8 @@ qbsp_settings::qbsp_settings()
478479
"doesn't combine water faces into one large face"},
479480
splitspecial{this, "splitspecial", {&splitsky, &splitturb}, &debugging_group,
480481
"doesn't combine sky and water faces into one large face (splitturb + splitsky)"},
481-
transwater{this, "transwater", true, &common_format_group, "compute portal information for transparent water"},
482+
transwater{this, "transwater", true, &common_format_group, // tests, docs
483+
"compute portal information for transparent water"},
482484
notextures{this, "notex", false, &common_format_group,
483485
"write only placeholder textures to depend upon replacements, keep file sizes down, or to skirt copyrights"},
484486
missing_textures_as_zero_size{

0 commit comments

Comments
 (0)