qbsp: make transparent water the default for visibility calculations
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
f9d1f50cf3
commit
fa48825cb5
|
|
@ -2,6 +2,7 @@ Unreleased
|
|||
|
||||
* qbsp: Cope with textures names containing '{' or '}' (e.g. for alpha mask)
|
||||
* qbsp: Increase MAXEDGES limit from 32 to 64
|
||||
* qbsp: Make transparent water the default (same as txqbsp)
|
||||
|
||||
2013-10-03 TyrUtils v0.14
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ Print out almost no information at all
|
|||
.IP "\fB\-splitspecial\fP"
|
||||
Doesn't combine sky and water faces into one large face
|
||||
.IP "\fB\-transwater\fP"
|
||||
Computes portal information for transparent water
|
||||
Computes portal information for transparent water (default)
|
||||
.IP "\fB\-notranswater\fP"
|
||||
Computes portal information for opaque water
|
||||
.IP "\fB\-transsky\fP"
|
||||
Computes portal information for transparent sky
|
||||
.IP "\fB\-oldaxis\fP"
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ PrintOptions(void)
|
|||
" -verbose Print out more .MAP information\n"
|
||||
" -noverbose Print out almost no information at all\n"
|
||||
" -splitspecial Doesn't combine sky and water faces into one large face\n"
|
||||
" -transwater Computes portal information for transparent water\n"
|
||||
" -notranswater Computes portal information for opaque water\n"
|
||||
" -transsky Computes portal information for transparent sky\n"
|
||||
" -oldaxis Uses original QBSP texture alignment algorithm\n"
|
||||
" -forcegoodtree Force use of expensive processing for SolidBSP stage\n"
|
||||
|
|
@ -449,6 +449,7 @@ ParseOptions(char *szOptions)
|
|||
|
||||
/* Default to the original Quake BSP Version... */
|
||||
options.BSPVersion = BSPVERSION;
|
||||
options.fTranswater = true;
|
||||
|
||||
szEnd = szOptions + strlen(szOptions);
|
||||
szTok = GetTok(szOptions, szEnd);
|
||||
|
|
@ -476,6 +477,8 @@ ParseOptions(char *szOptions)
|
|||
options.fAllverbose = true;
|
||||
else if (!strcasecmp(szTok, "splitspecial"))
|
||||
options.fSplitspecial = true;
|
||||
else if (!strcasecmp(szTok, "notranswater"))
|
||||
options.fTranswater = false;
|
||||
else if (!strcasecmp(szTok, "transwater"))
|
||||
options.fTranswater = true;
|
||||
else if (!strcasecmp(szTok, "transsky"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue