- made author names work with title patches.
Most importantly, specifying a patch may optionally disallow showing the autor's name - this is for cases where a styled patch gets used for English but text-based translations of the map name should still be possible.
This commit is contained in:
parent
be0478972a
commit
43041c21d8
4 changed files with 38 additions and 13 deletions
|
|
@ -1020,6 +1020,15 @@ DEFINE_MAP_OPTION(titlepatch, true)
|
|||
{
|
||||
parse.ParseAssign();
|
||||
parse.ParseLumpOrTextureName(info->PName);
|
||||
if (parse.format_type == FMapInfoParser::FMT_New)
|
||||
{
|
||||
if (parse.sc.CheckString(","))
|
||||
{
|
||||
parse.sc.MustGetNumber();
|
||||
if (parse.sc.Number) info->flags3 |= LEVEL3_HIDEAUTHORNAME;
|
||||
else info->flags3 &= ~LEVEL3_HIDEAUTHORNAME;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(partime, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue