- Added BOOM/MBF BEX-style narrative background text substitution. There are two changes because
of this:
* A cluster's flat definition can now be preceded by a $ to do a string table lookup.
* Since the standard flat names are now in the LANGUAGE lump, the normal Dehacked substitution
for these is no longer handled specially and so will not be automatically disabled merely
by providing your own MAPINFO.
SVN r2195 (trunk)
This commit is contained in:
parent
38c9bb1900
commit
d19878efcb
8 changed files with 43 additions and 32 deletions
|
|
@ -117,6 +117,10 @@ void F_StartFinale (const char *music, int musicorder, int cdtrack, unsigned int
|
|||
}
|
||||
|
||||
FinaleFlat = (flat != NULL && *flat != 0) ? flat : gameinfo.finaleFlat;
|
||||
if (FinaleFlat != NULL && FinaleFlat[0] == '$')
|
||||
{
|
||||
FinaleFlat = GStrings(FinaleFlat + 1);
|
||||
}
|
||||
|
||||
if (textInLump)
|
||||
{
|
||||
|
|
@ -758,7 +762,7 @@ void F_CastDrawer (void)
|
|||
FTexture* pic;
|
||||
|
||||
// erase the entire screen to a background
|
||||
screen->DrawTexture (TexMan["BOSSBACK"], 0, 0,
|
||||
screen->DrawTexture (TexMan[GStrings("BOSSBACK")], 0, 0,
|
||||
DTA_DestWidth, screen->GetWidth(),
|
||||
DTA_DestHeight, screen->GetHeight(),
|
||||
TAG_DONE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue