light: enable -parse_escape_sequences by default
This commit is contained in:
parent
82ff1dbd06
commit
ecfa3c3e12
|
|
@ -94,7 +94,7 @@ int write_litfile = 0; /* 0 for none, 1 for .lit, 2 for bspx, 3 for both */
|
|||
int write_luxfile = 0; /* 0 for none, 1 for .lux, 2 for bspx, 3 for both */
|
||||
qboolean onlyents = false;
|
||||
qboolean phongDebug = false;
|
||||
qboolean parse_escape_sequences = false;
|
||||
qboolean parse_escape_sequences = true;
|
||||
|
||||
uint32_t *extended_texinfo_flags = NULL;
|
||||
|
||||
|
|
@ -822,9 +822,9 @@ main(int argc, const char **argv)
|
|||
} else if ( !strcmp( argv[ i ], "-onlyents" ) ) {
|
||||
onlyents = true;
|
||||
logprint( "Onlyents mode enabled\n" );
|
||||
} else if ( !strcmp( argv[ i ], "-parse_escape_sequences" ) ) {
|
||||
parse_escape_sequences = true;
|
||||
logprint( "Parsing escape sequences enabled\n" );
|
||||
} else if ( !strcmp( argv[ i ], "-no_parse_escape_sequences" ) ) {
|
||||
parse_escape_sequences = false;
|
||||
logprint( "Parsing escape sequences disabled\n" );
|
||||
} else if ( !strcmp( argv[ i ], "-phongdebug" ) ) {
|
||||
phongDebug = true;
|
||||
write_litfile |= 1;
|
||||
|
|
@ -841,7 +841,7 @@ main(int argc, const char **argv)
|
|||
" [-lightturb] [-lightwater] [-lightslime] [-lightlava] [-lighttele]\n"
|
||||
" [-dist n] [-range n] [-gate n] [-lit|-lit2] [-lux] [-bspx] [-lmscale n]\n"
|
||||
" [-dirt] [-dirtdebug] [-dirtmode n] [-dirtdepth n] [-dirtscale n] [-dirtgain n] [-dirtangle n]\n"
|
||||
" [-soft [n]] [-fence] [-gamma n] [-surflight_subdivide n] [-surflight_dump] [-onlyents] [-sunsamples n] [-parse_escape_sequences] [-phongdebug] bspfile\n");
|
||||
" [-soft [n]] [-fence] [-gamma n] [-surflight_subdivide n] [-surflight_dump] [-onlyents] [-sunsamples n] [-no_parse_escape_sequences] [-phongdebug] bspfile\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,8 @@ if your map uses any switchable lights. All this does is assign style numbers to
|
|||
switchable light.
|
||||
.IP "\fB\-sunsamples [n]\fP"
|
||||
Set the number of samples to use for "_sunlight_penumbra" and "_sunlight2" (sunlight2 may use more or less because of how the suns are set up in a sphere). Default 100.
|
||||
.IP "\fB\-parse_escape_sequences\fP"
|
||||
.IP "\fB\-no_parse_escape_sequences\fP"
|
||||
Disables parsing escape sequences.
|
||||
The "\\b" escape sequence toggles red text on/off, you can use this in any strings in the map file. e.g. "message" "Here is \\bsome red text\\b..."
|
||||
.IP "\fB\-surflight_dump\fP"
|
||||
Saves the lights generated by surfacelights to a "mapname-surflights.map" file.
|
||||
|
|
|
|||
Loading…
Reference in New Issue