- allow setting the startup screen's title through GAMEINFO lump.
SVN r2850 (trunk)
This commit is contained in:
parent
4397ef3323
commit
3f420c97bd
7 changed files with 51 additions and 26 deletions
|
|
@ -203,6 +203,7 @@ bool PageBlank;
|
|||
FTexture *Page;
|
||||
FTexture *Advisory;
|
||||
bool nospriterename;
|
||||
FStartupInfo DoomStartupInfo;
|
||||
|
||||
cycle_t FrameCycles;
|
||||
|
||||
|
|
@ -1697,6 +1698,19 @@ static FString ParseGameInfo(TArray<FString> &pwads, const char *fn, const char
|
|||
{
|
||||
nospriterename = true;
|
||||
}
|
||||
else if (!nextKey.CompareNoCase("STARTUPTITLE"))
|
||||
{
|
||||
sc.MustGetString();
|
||||
DoomStartupInfo.Name = sc.String;
|
||||
}
|
||||
else if (!nextKey.CompareNoCase("STARTUPCOLORS"))
|
||||
{
|
||||
sc.MustGetString();
|
||||
DoomStartupInfo.FgColor = V_GetColor(NULL, sc.String);
|
||||
sc.MustGetStringName(",");
|
||||
sc.MustGetString();
|
||||
DoomStartupInfo.BkColor = V_GetColor(NULL, sc.String);
|
||||
}
|
||||
}
|
||||
return iwad;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue