mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- process escape sequences for episode and skill names
For these, colorization is a desirable feature.
This commit is contained in:
parent
077ba290a6
commit
0fa4e03db6
3 changed files with 4 additions and 3 deletions
|
@ -2019,7 +2019,7 @@ void FMapInfoParser::ParseEpisodeInfo ()
|
|||
{
|
||||
ParseAssign();
|
||||
sc.MustGetString ();
|
||||
name = sc.String;
|
||||
name = strbin1(sc.String);
|
||||
}
|
||||
else if (sc.Compare ("picname"))
|
||||
{
|
||||
|
|
|
@ -214,7 +214,7 @@ void FMapInfoParser::ParseSkill ()
|
|||
{
|
||||
ParseAssign();
|
||||
sc.MustGetString ();
|
||||
skill.MenuName = sc.String;
|
||||
skill.MenuName = strbin1(sc.String);
|
||||
}
|
||||
else if (sc.Compare("PlayerClassName"))
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "r_defs.h"
|
||||
#include "p_setup.h"
|
||||
#include "gi.h"
|
||||
#include "cmdlib.h"
|
||||
|
||||
FName MakeEndPic(const char *string);
|
||||
|
||||
|
@ -231,7 +232,7 @@ static int ParseStandardProperty(FScanner &scanner, UMapEntry *mape)
|
|||
// add the given episode
|
||||
FEpisode epi;
|
||||
|
||||
epi.mEpisodeName = split[1];
|
||||
epi.mEpisodeName = strbin1(split[1]);
|
||||
epi.mEpisodeMap = mape->MapName;
|
||||
epi.mPicName = split[0];
|
||||
epi.mShortcut = split[2][0];
|
||||
|
|
Loading…
Reference in a new issue